{
  "name": "ApexApi",
  "description": "Unified AI gateway with live web context for agents. One API key (prefix `ak-`) and one OpenAI-compatible base URL (https://api.apexapi.dev/v1) to call 120+ models from OpenAI, Anthropic, Google, Alibaba (Qwen), DeepSeek, Mistral, and more, billed by usage from a credit balance — plus web scrape, crawl, and structured extract on the same key. Honesty note: ApexApi is an HTTP API platform, not an A2A task server. It does not execute A2A tasks (message/send); this card is published for discovery. Integrate over plain HTTPS/JSON using the OpenAPI 3.1 spec (https://apexapi.dev/openapi.json), the machine-readable index (https://apexapi.dev/llms.txt), or the agent onboarding recipe (https://apexapi.dev/auth.md). Autonomous agents can self-register, get funded by card or USDC on Base, and start calling — no browser or human required.",
  "supportedInterfaces": [
    {
      "url": "https://api.apexapi.dev/v1",
      "protocolBinding": "OPENAPI",
      "protocolVersion": "1.0"
    }
  ],
  "provider": {
    "organization": "Nitrotech Inc.",
    "url": "https://apexapi.dev"
  },
  "iconUrl": "https://apexapi.dev/apex-icon.png",
  "version": "1.0.0",
  "documentationUrl": "https://apexapi.dev/llms.txt",
  "capabilities": {},
  "securitySchemes": {
    "apexApiKey": {
      "httpAuthSecurityScheme": {
        "scheme": "Bearer",
        "bearerFormat": "ak- prefixed opaque API key (48 chars)",
        "description": "ApexApi API key sent as an HTTP Bearer token: `Authorization: Bearer ak-...`. Create one in the dashboard (https://apexapi.dev/keys) or without a human via `POST https://api.apexapi.dev/agent/register` — full recipe at https://apexapi.dev/auth.md. `GET /v1/models` requires no authentication."
      }
    }
  },
  "security": [{ "apexApiKey": [] }],
  "defaultInputModes": ["application/json"],
  "defaultOutputModes": ["application/json"],
  "skills": [
    {
      "id": "chat-completions",
      "name": "Chat completions (OpenAI-compatible)",
      "description": "POST https://api.apexapi.dev/v1/chat/completions — OpenAI Chat Completions-compatible endpoint for 120+ models across 20+ makers. Model slugs are maker-prefixed, e.g. `openai/gpt-5.5`, `anthropic/claude-fable-5`, `qwen/qwen3-max`, `google/gemini-2.5-flash`. Supports streaming (Server-Sent Events), and vision/tool calling on models that declare those capabilities in the catalog. Point any OpenAI SDK at base_url https://api.apexapi.dev/v1 with your `ak-` key.",
      "tags": ["llm", "chat", "openai-compatible", "streaming", "tool-calling"],
      "examples": [
        "curl https://api.apexapi.dev/v1/chat/completions -H 'Authorization: Bearer ak-...' -H 'Content-Type: application/json' -d '{\"model\": \"openai/gpt-5.5\", \"messages\": [{\"role\": \"user\", \"content\": \"Hello\"}]}'"
      ],
      "inputModes": ["application/json"],
      "outputModes": ["application/json", "text/event-stream"]
    },
    {
      "id": "list-models",
      "name": "Live model catalog with pricing",
      "description": "GET https://api.apexapi.dev/v1/models — the live catalog of all available models with per-model pricing and capabilities. No authentication required.",
      "tags": ["models", "catalog", "pricing"],
      "examples": ["curl https://api.apexapi.dev/v1/models"]
    },
    {
      "id": "image-generation",
      "name": "Image generation",
      "description": "POST https://api.apexapi.dev/v1/images/generations — generate images from text prompts, flat per-image pricing per model (see GET /v1/models).",
      "tags": ["image", "generation"]
    },
    {
      "id": "video-generation",
      "name": "Video generation",
      "description": "POST https://api.apexapi.dev/v1/videos/generations starts an async video job; poll GET https://api.apexapi.dev/v1/videos/generations/{id} until complete.",
      "tags": ["video", "generation", "async"]
    },
    {
      "id": "text-to-speech",
      "name": "Text to speech",
      "description": "POST https://api.apexapi.dev/v1/audio/speech — generate speech audio from text.",
      "tags": ["audio", "tts"]
    },
    {
      "id": "web-scrape",
      "name": "Read a page (web scrape)",
      "description": "POST https://api.apexapi.dev/v1/scrape - turn any URL into clean, LLM-ready markdown/HTML/text with automatic anti-bot escalation. Billed at whichever rail ran ($0.002 standard, $0.008 stealth), including on a dispatched failure (blocked, unreachable, no extractable content). Only a URL rejected before dispatch is free.",
      "tags": ["web", "scrape", "context", "markdown"],
      "examples": [
        "curl https://api.apexapi.dev/v1/scrape -H 'Authorization: Bearer ak-...' -H 'Content-Type: application/json' -d '{\"url\": \"https://example.com/pricing\", \"format\": \"markdown\", \"stealth\": \"auto\"}'"
      ]
    },
    {
      "id": "web-crawl",
      "name": "Read a site (web crawl)",
      "description": "POST https://api.apexapi.dev/v1/crawl starts an async job that crawls a whole site into markdown; poll GET https://api.apexapi.dev/v1/crawl/{id}. Billed per page, capped at a per-job page limit.",
      "tags": ["web", "crawl", "context", "async"]
    },
    {
      "id": "structured-extract",
      "name": "Structured extract",
      "description": "POST https://api.apexapi.dev/v1/extract — ready-made structured JSON from supported sites (Amazon, Walmart, Crunchbase, G2, Google Maps, Zillow; GET /v1/extract/scrapers lists them). Async; poll GET /v1/extract/{id}; billed per record.",
      "tags": ["web", "extract", "structured-data", "async"]
    },
    {
      "id": "agent-registration",
      "name": "Agent self-registration and funding",
      "description": "POST https://api.apexapi.dev/agent/register (no auth) creates an anonymous account and returns a working `ak-` API key plus a fund URL anyone can pay (card or USDC on Base, no login). Agents holding USDC on Base can fund themselves via POST /agent/fund. A human claiming the account is optional. Full machine-followable recipe: https://apexapi.dev/auth.md",
      "tags": ["onboarding", "registration", "autonomous", "usdc"],
      "examples": [
        "curl -X POST https://api.apexapi.dev/agent/register -H 'Content-Type: application/json' -d '{\"type\": \"anonymous\"}'"
      ]
    }
  ]
}
