Get started
Your first request
A key, one call, and clean markdown back.
Get a key
Create an account — no card — then open API keys and make one. The key is shown once, at creation, and never again, so put it somewhere safe as you go.
Read a page
Send a URL and ask for markdown:
import requestsr = requests.post( 'https://api.snoopscan.com/v1/scrape', headers={'Authorization': 'Bearer sk_YOUR_KEY'}, json={ 'url': 'https://example.com/pricing', 'formats': [ 'markdown', 'links' ], 'onlyMainContent': True },)print(r.json())
const r = await fetch('https://api.snoopscan.com/v1/scrape', { method: 'POST', headers: { Authorization: 'Bearer sk_YOUR_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ "url": "https://example.com/pricing", "formats": [ "markdown", "links" ], "onlyMainContent": true }),});console.log(await r.json());
curl -X POST https://api.snoopscan.com/v1/scrape \ -H 'Authorization: Bearer sk_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{ "url": "https://example.com/pricing", "formats": [ "markdown", "links" ], "onlyMainContent": true}'
Swap in any public URL.
You get back the article as markdown, with the navigation, footers and cookie banners left out. Set onlyMainContent to false if you want the whole page instead.
Next steps
- Reading a whole site rather than one page? Crawl follows the links; Map just lists the URLs so you can pick.
- Want rows rather than prose? Extract takes a JSON schema.
- Thousands of URLs? Batch takes them as one job.
- Prefer to try before writing any code? The Playground runs the same API in the browser.
Nothing to install. It is plain HTTPS and JSON, so anything that can make a request can call it — including
curl from a terminal.