/api/v1/augment/scrape
Tools
Web Scrape
Scrape a web page and return its content as markdown. Supports most public web pages; some sites (e.g. X/Twitter, Reddit) that block automated access are rejected immediately.
Authentication: This endpoint accepts either a Bearer API key or a SIGN-IN-WITH-X header for x402 wallet-based authentication. The legacy X-Sign-In-With-X header is also accepted during migration. When using x402, a 402 Payment Required response indicates insufficient balance and includes top-up instructions.
POST
/api/v1/augment/scrape
Envie uma URL publicamente acessível no campo
url. A API retorna o conteúdo da página como markdown.
O scraper tenta primeiro o suporte nativo a markdown do site de destino (via Cloudflare Markdown for Agents) e, em seguida, recorre a uma extração com navegador headless. Alguns sites que bloqueiam acesso automatizado (por exemplo, X/Twitter, Reddit) são rejeitados imediatamente com um erro 400.
Preço: US$ 0,01 por requisição.
Exemplo (cURL)
Autorizações
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Corpo
application/json
The URL to scrape
Exemplo:
"https://example.com"