# UnblockingAPI > A web unblocking API: fetch any public page through rotating residential proxies and a real browser when the site needs one, and get JSON instead of HTML wherever a template covers the site. 1 credit per successful request, failures free, 500 free credits on signup. ## For AI apps (MCP) - Hosted MCP server: https://mcp.unblockingapi.com/mcp (Streamable HTTP). Sign in with OAuth (most apps), or send `Authorization: Bearer `. - Three read-only tools: `unblock_fetch` (read any URL; the API picks a plain fetch or a browser per site; returns Markdown by default, `format: "html"` for markup, JSON with `template`), `find_templates` (free; find the template for a site by URL, keyword or category) and `get_build_guide` (free; the REST API reference and recipes for building apps on the API). - Run it locally instead: `npx -y @unblockingapi/mcp` with `UNBLOCKINGAPI_KEY` set. - [MCP server reference](https://unblockingapi.com/tools/mcp): endpoint, sign-in, tools and parameters. - [Setup guides for every app](https://unblockingapi.com/tools): Claude, Cursor, VS Code, Windsurf, Zed, Cline, Lovable, Replit, Bolt, Gemini CLI, Claude API, n8n. - [Agent frameworks](https://unblockingapi.com/guides/connect-ai-agent-frameworks-to-the-web): Vercel AI SDK and LangChain. - Source: https://github.com/unblockingapi/mcp (MIT), npm `@unblockingapi/mcp`, MCP Registry `io.github.unblockingapi/mcp`. ## For code - [API docs](https://unblockingapi.com/docs): `GET|POST https://api.unblockingapi.com/unblock?url=…` with `X-Api-Key`. Optional `render`, `location`, `template`, wait options, `max_age`. Returns JSON with the page's HTML (or the template's fields). - Server-side only: the API sends no CORS headers to third-party sites, so call it from your backend, not from browser code (that also keeps the key private). - [OpenAPI spec](https://unblockingapi.com/openapi.json) (OpenAPI 3.0) and the [interactive reference](https://app.unblockingapi.com/docs/swagger). - Official SDKs: Ruby, Python, TypeScript, JavaScript, PHP. - `GET https://api.unblockingapi.com/templates.json?url=` finds the template for a page (no key, free); also `q`, `category`, `limit`, `page`, with `total` in the response. - [Template library](https://unblockingapi.com/templates): published templates; build your own in the [visual editor](https://editor.unblockingapi.com). ## Account - [Pricing](https://unblockingapi.com/pricing): Pay as you Go, Scout, Builder, Growth, Enterprise. Credits are cheaper on larger plans. - [Sign up](https://app.unblockingapi.com/users/sign_up): 500 free credits, no card. - [Acceptable use](https://unblockingapi.com/acceptable-use) - [Privacy](https://unblockingapi.com/privacy), [Terms](https://unblockingapi.com/terms), [Security & data handling](https://unblockingapi.com/security) - Contact: hello@unblockingapi.com