API documentation

Everything you submit here is recorded and kept. We store every request and response, including the URLs you fetch, anything you send through the proxy, and the responses that come back, your IP address, approximate location, and network/browser fingerprints. By using cors.tools, you understand and agree to this. Data notice →

Free CORS proxy and URL reader. Fetch APIs across origins or convert webpages to Markdown, plain text and JSON with simple HTTP requests.

Base URL: https://cors.tools. Public access with no accounts, API keys or application rate limits. All APIs support cross-origin requests. Use the OpenAPI specification for machine-readable request and response schemas.

Send POST bodies as JSON or URL-encoded form data unless an endpoint specifies a raw body. Errors return JSON with error.code and error.message. See the usage notes for request bounds and usage notes.

GET /proxy

Proxy a public URL. Supports GET, HEAD, POST, PUT, PATCH, DELETE; the original body is forwarded. Cookies/Authorization require explicit X-Upstream-Cookie/X-Upstream-Authorization headers. 10 MiB output limit, 5 redirects, 20s deadline.

url query · required
Public HTTP(S) destination.

POST /proxy

Forward a request to a public HTTP(S) upstream. url is always a query parameter.

url query · required
Public HTTP(S) destination.

PUT /proxy

Forward a request to a public HTTP(S) upstream. url is always a query parameter.

url query · required
Public HTTP(S) destination.

PATCH /proxy

Forward a request to a public HTTP(S) upstream. url is always a query parameter.

url query · required
Public HTTP(S) destination.

DELETE /proxy

Forward a request to a public HTTP(S) upstream. url is always a query parameter.

url query · required
Public HTTP(S) destination.

HEAD /proxy

Forward a request to a public HTTP(S) upstream. url is always a query parameter.

url query · required
Public HTTP(S) destination.

GET /read

Extract article content from a public URL. render=true uses the browser service for JavaScript pages.

url query · required
Public HTTP(S) destination.
format query
Output. Default: "markdown". Allowed: markdown, text, json.
render query
boolean Default: false.

POST /read

Extract article content from a public URL. render=true uses the browser service for JavaScript pages.

url body · required
Public HTTP(S) destination.
format body
Output. Default: "markdown". Allowed: markdown, text, json.
render body
boolean Default: false.

GET /{url}

Prefix a complete URL, e.g. /https://example.com/path?query=value. Equivalent to /proxy.

url path · required
Public HTTP(S) destination.

GET /docs

Server-rendered HTML API reference.

GET /robots.txt

Crawler access rules and sitemap location.

GET /sitemap.xml

Public documentation sitemap.

GET /health

Worker liveness (does not probe external dependencies).

GET /llms.txt

Plain-text agent usage guide.