# ApexApi > ApexApi is a unified, OpenAI-compatible AI gateway: one API key (`ak-...`) and one base URL to call 120+ models from OpenAI, Anthropic, Google, Alibaba (Qwen), DeepSeek, Mistral, and more, billed by usage from a credit balance. It ALSO gives AI agents live web context on the same key — scrape a page, crawl a site, or pull structured data — so an agent can read the web and call models without leaving one API. Autonomous agents can self-register, receive a small one-time starter credit to test immediately, fund with a card or USDC on Base, and start calling — no browser or human required. Base URL: `https://api.apexapi.dev/v1` — OpenAI Chat Completions compatible. Point any OpenAI SDK at it and pass your `ak-` key as the bearer token. ## Start here - [Agent onboarding: register → fund → use](https://apexapi.dev/auth.md): How an autonomous agent creates an account, funds it (card or USDC on Base L2), and calls the API end to end, with no human in the loop. Registration includes a one-time starter credit (per-IP daily caps apply), so first test calls work before any funding. - [Quickstart](https://apexapi.dev/docs/quickstart): First API call in minutes using the OpenAI SDK with a changed base_url. - [Authentication](https://apexapi.dev/docs/authentication): `ak-` API keys — how to create and send them. - [Verify our claims](https://apexapi.dev/docs/verify): Every marketing claim paired with a curl command that proves it against the live API — no account needed for most. ## Reference - [API reference](https://apexapi.dev/docs/api-reference): Endpoints, request/response shapes, streaming. - [Models](https://apexapi.dev/models): Full live catalog with per-model capabilities (vision, tools, context) and pricing. - [Model docs](https://apexapi.dev/docs/models): How model slugs and routing work. - [Pricing](https://apexapi.dev/pricing): Per-token and per-call pricing with markup. - [Billing](https://apexapi.dev/docs/billing): Credits, top-ups, and usage accounting. - [Rate limits](https://apexapi.dev/docs/rate-limits): Throughput and limits. - [Guardrails](https://apexapi.dev/docs/guardrails): Optional prompt-injection and PII controls. - [Errors](https://apexapi.dev/docs/errors): Error codes and how to handle them. ## Context for AI (live web knowledge) Give models and agents fresh, real-world context — turn any URL or site into clean, LLM-ready data. Same `ak-` key and credit balance as the model endpoints; failures are free. - [Read a page](https://apexapi.dev/docs/scrape): `POST /v1/scrape` — any URL → clean markdown/HTML/text, with automatic anti-bot handling for hardened sites. Billed per successful page. - [Read a site](https://apexapi.dev/docs/crawl): `POST /v1/crawl` — crawl a whole site into markdown as an async job (poll `GET /v1/crawl/{id}`). Billed per page, capped at a per-job limit. - [Structured extract](https://apexapi.dev/docs/extract): `POST /v1/extract` — ready-made structured JSON from Amazon, Walmart, Crunchbase, G2, Google Maps, and Zillow (`GET /v1/extract/scrapers` lists them). Async; billed per record. ## Integrations - [n8n community node](https://apexapi.dev/docs/n8n): Install `n8n-nodes-apexapi`, then call any model from an n8n workflow (chat/image/video/audio); includes downloadable starter templates and an LLM-ready reference. - [Cursor](https://apexapi.dev/docs/cursor): Use ApexApi as a drop-in OpenAI endpoint inside the Cursor IDE. - [MCP server](https://apexapi.dev/docs/mcp): `npx -y apexapi-mcp` (stdio) or remote `https://api.apexapi.dev/mcp` — call models and live web context from any MCP client. ## Notes - Drop-in OpenAI compatibility: set `base_url=https://api.apexapi.dev/v1` and use your `ak-` key with any OpenAI SDK (Python, JS, etc.). - Model slugs are vendor-prefixed, e.g. `openai/gpt-5.5`, `anthropic/claude-fable-5`, `qwen/qwen3-max`, `google/gemini-2.5-flash`. - Full documentation in one file: https://apexapi.dev/llms-full.txt - OpenAPI 3.1 spec: https://apexapi.dev/openapi.json - A2A Agent Card (agent discovery): https://apexapi.dev/.well-known/agent-card.json - Sitemap: https://apexapi.dev/sitemap.xml