/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
Invia un URL pubblicamente accessibile nel campo
url. L’API restituisce il contenuto della pagina come markdown.
Lo scraper prova prima il supporto markdown nativo del sito di destinazione (tramite Cloudflare Markdown for Agents), quindi ripiega su un’estrazione tramite browser headless. Alcuni siti che bloccano l’accesso automatico (ad esempio X/Twitter, Reddit) vengono rifiutati immediatamente con un errore 400.
Prezzo: $0,01 per richiesta.
Esempio (cURL)
Autorizzazioni
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Corpo
application/json
The URL to scrape
Esempio:
"https://example.com"