Call it with no key
Response
Response
This real response is cut to a few fields.
Get a key
Sign up at stophy.dev/signup. Your account starts with 5,000 free credits, and most calls cost 1 credit. Create a key and save it asSTOPHY_API_KEY.
An agent can get a key with no human at the keyboard: Sign up returns a link for its person to approve.
Call it with your key
Response
Response
This real response is cut to one result per source.
creditsUsed is what the call cost in credits. This search of web and news cost 4: 2 credits for each source. See Pricing.
Read a site as JSON
To get a site’s own data, send its page to scrape with a parser:data.json. See Parsers.
Crawl a site
Crawl reads many pages in the background. Start it, poll about every 2 seconds until it iscompleted, then read the pages. Send scrapeOptions.formats to read more than markdown, for example ["markdown","links"], and each page in data has every format the crawl read. Starting is free, and each page costs 1 credit.
next, call that URL for the rest. See Page through results.
Scrape many pages
Batch scrape takes a list of URLs and works the same way. Pollhttps://api.stophy.dev/v1/batch/scrape/<id> about every 2 seconds until status is completed. Each page in data has the same shape as a scrape.
Next
Parsers
Read Reddit, YouTube, Google Maps and 100 more sites as JSON.
Crawl a site
Read every page of a site in the background.