{
  "protocolVersion": "0.3.0",
  "name": "API Router",
  "description": "Free, deterministic API directory and utilities for AI agents: compare LLM, scraping, proxy and GPU providers by free tier, health and latency; repair broken JSON; convert web pages to clean markdown. No LLM runs in the request path.",
  "url": "https://api-router.instinctagentai.workers.dev/",
  "preferredTransport": "HTTP+JSON",
  "additionalInterfaces": [
    {
      "url": "https://api-router.instinctagentai.workers.dev/mcp",
      "transport": "MCP-STREAMABLE-HTTP"
    },
    {
      "url": "https://api-router.instinctagentai.workers.dev/mcp/ask",
      "transport": "MCP-STREAMABLE-HTTP"
    }
  ],
  "version": "0.2.8",
  "provider": {
    "organization": "instinctagentai",
    "url": "https://github.com/instinctagentai/api-router"
  },
  "documentationUrl": "https://github.com/instinctagentai/api-router#readme",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false
  },
  "defaultInputModes": [
    "application/json",
    "text/plain"
  ],
  "defaultOutputModes": [
    "application/json",
    "text/markdown"
  ],
  "skills": [
    {
      "id": "best-route",
      "name": "Best route",
      "description": "Pick the best provider for a task (inference|scraping|gpu|storage|proxy).",
      "tags": [
        "routing",
        "api",
        "pricing"
      ],
      "examples": [
        "GET /v1/best-route?task=inference&budget=low"
      ]
    },
    {
      "id": "catalog",
      "name": "Provider catalog",
      "description": "List providers with free tier notes and health.",
      "tags": [
        "catalog",
        "api"
      ],
      "examples": [
        "GET /v1/catalog"
      ]
    },
    {
      "id": "health-route",
      "name": "Fastest healthy provider",
      "description": "Fastest healthy provider in a category (llm|scraping|proxy|gpu).",
      "tags": [
        "health",
        "latency"
      ],
      "examples": [
        "GET /v1/health-route?category=llm"
      ]
    },
    {
      "id": "json-repair",
      "name": "JSON repair and validate",
      "description": "Fix broken JSON (comments, trailing commas, single quotes, fences, truncation) and optionally validate against a JSON Schema subset.",
      "tags": [
        "json",
        "validation"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "examples": [
        "POST /v1/json-repair {\"text\":\"{a:1,}\"}"
      ]
    },
    {
      "id": "check-quote",
      "name": "Quote checker",
      "description": "Check whether a quote appears in a source text or URL. Returns exact, near, partial or not_found, with missing numbers. Matches wording only, not truth.",
      "tags": [
        "verification",
        "citation",
        "hallucination"
      ],
      "inputModes": [
        "application/json"
      ],
      "examples": [
        "POST /v1/check-quote {\"quote\":\"...\",\"url\":\"https://example.com\"}"
      ]
    },
    {
      "id": "check-url",
      "name": "URL checker",
      "description": "Does a URL resolve: final status, redirect chain, content type and title. Free, 30 per IP per day.",
      "tags": [
        "verification",
        "links"
      ],
      "examples": [
        "GET /v1/check-url?url=https://example.com"
      ]
    },
    {
      "id": "check-email",
      "name": "Email checker",
      "description": "Syntax, domain and mail server (MX) check for an email address. Does not prove the mailbox exists.",
      "tags": [
        "verification",
        "email"
      ],
      "examples": [
        "GET /v1/check-email?email=name@example.com"
      ]
    },
    {
      "id": "convert-time",
      "name": "Time zone converter",
      "description": "Convert a date and time between IANA time zones.",
      "tags": [
        "time",
        "timezone"
      ],
      "examples": [
        "GET /v1/convert-time?time=2026-11-25T14:30&from=Asia/Qatar&to=America/New_York"
      ]
    },
    {
      "id": "convert-units",
      "name": "Unit converter",
      "description": "Convert length, mass, volume, area, speed, data, time and temperature units.",
      "tags": [
        "units",
        "conversion"
      ],
      "examples": [
        "GET /v1/convert-units?value=10&from=km&to=mi"
      ]
    },
    {
      "id": "convert-currency",
      "name": "Currency converter",
      "description": "Convert currencies with central bank reference rates (information only). 30 per IP per day.",
      "tags": [
        "currency",
        "conversion"
      ],
      "examples": [
        "GET /v1/convert-currency?amount=100&from=USD&to=EUR"
      ]
    },
    {
      "id": "page-to-markdown",
      "name": "Page to markdown",
      "description": "Fetch a public web page and return clean markdown. Free, 30 requests per IP per day.",
      "tags": [
        "web",
        "markdown",
        "extraction"
      ],
      "examples": [
        "GET /v1/page-to-markdown?url=https://example.com"
      ]
    }
  ]
}