Skip to main content

URLpipe API

URLpipe turns any public URL into clean, structured data. Point it at a page and get back Markdown, metadata, an AI summary, keywords, a Lighthouse audit, a screenshot, raw HTML or the JavaScript console — all through one simple, bearer-authenticated HTTP API.

Every endpoint takes the same shape: a POST request with a JSON body containing the url you want to process. There is nothing to install on the target site — URLpipe renders each page with headless Chrome from our own servers, so JavaScript-heavy and single-page apps work too.

A first request

Send a URL to the /markdown endpoint and get back clean Markdown, ready to drop into an LLM prompt or a RAG pipeline.

POST/markdown
curl -X POST https://urlpipe.dev/markdown \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com"}'

The endpoints

URLpipe has nine endpoints. Eight return one kind of data each, in two families, and /scrape runs any of them together from a single page visit. Web endpoints fetch and measure the page directly; AI endpoints use a language model to extract or transform its content. One allowance covers both, and each endpoint spends from it what it costs to run — a page fetch is one credit, and the AI endpoints are dearer because a model bills us by the token. See Credits.

Web endpoints

AI endpoints

The same endpoints are also an MCP server, so an AI agent in Claude, Cursor or any MCP client can call them itself — same arguments, same responses, same credits.


Core concepts

Base URL & conventions

  • All requests go to https://urlpipe.dev over HTTPS.
  • Every endpoint is a POST with a JSON body.
  • Authenticate with Authorization: Bearer YOUR_API_KEY — see Authentication.
  • Web endpoints return text/plain or application/json; failures return JSON with an error field.
  • The whole API is described in OpenAPI 3.1 at /openapi.json, and as a public Postman workspace you can fork and send requests from.