{
  "openapi": "3.1.0",
  "info": {
    "title": "AI Latency Tracker API",
    "version": "2026-07-23",
    "description": "Read-only, provider-neutral latency (TTFB/TTFT) and uptime of AI inference APIs, measured from distributed regions. Free, CC-BY-4.0. Pages also support markdown content negotiation: send `Accept: text/markdown` to any page URL for a markdown body.",
    "license": {
      "name": "CC-BY-4.0",
      "url": "https://creativecommons.org/licenses/by/4.0/"
    }
  },
  "servers": [
    {
      "url": "https://llmlatency.dev"
    }
  ],
  "paths": {
    "/api/rankings.json": {
      "get": {
        "operationId": "getRankings",
        "summary": "Provider latency & uptime rankings for every region (last 24h)",
        "responses": {
          "200": {
            "description": "Ranking data",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    }
  }
}