1. Get an API key
Sign up at stophy.dev/signup, create a key and set it in your server’s environment. Get credentials has every way to get one, including from an agent.2. Install a client
STOPHY_API_KEY. cURL needs nothing.
3. Search the web
This request returns the top three web results forbun runtime.
data.web holds the ranked results, each with url, title, description and position. Empty fields are left out. The x-cost-usd header is what the call cost.
success: false, an error that says what to do next and a code, and costs nothing. See Errors.
Next
- Choose an API for scrape, crawl, extract, browsers and the rest.
- Search for sources, filters and reading result pages.
- Production checklist before you ship.