Web page to Markdown/text: fetch a URL and extract the readable article — navigation and ads stripped, ready for LLM context or RAG.
curl -X POST https://api.bigapi.dev/v1/url/to-markdown -H 'Authorization: Bearer $KEY' -H 'Content-Type: application/json' -d '{"url":"https://example.com","output":"json"}'
New keys come with 100 free operations, no signup: curl -X POST https://api.bigapi.dev/v1/keys. Failed calls cost nothing.
| Name | Meaning |
|---|---|
url required | Public http(s) address of the web page to read. |
selector | CSS selector to read only part of the page, e.g. article or #content. Leave it out to read the whole page. Default: whole page (body) |
includeTitle | Prepend the page title as H1. Default: true |
waitUntil | When to read the page. networkidle0: wait until the page has made no network requests for 500 ms; safest for pages that load content with JavaScript. load: read as soon as images, styles and scripts are loaded; faster, and the right choice for pages that never go quiet. Allowed: load, networkidle0Default: "networkidle0" |
delayMs | Extra wait after loading, in ms, up to 10000; use it for content that appears late. Default: 0 |
output | Markdown file or JSON {markdown, title, url}. Allowed: md, jsonDefault: "md" |
Returns text/markdown | application/json. Response headers carry the cost (X-BigAPI-Cost) and notes about your input (X-BigAPI-Warnings).
Connect BiGapi as an MCP server: https://api.bigapi.dev/mcp (hosted) or npx -y @bigapi/mcp (local). Then ask in plain words; the agent finds url_to_markdown on its own.