Skip to main content
Get a key, install a client and run your first search. To have your coding agent do it, use the Agent quickstart.

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

Both SDKs read STOPHY_API_KEY. cURL needs nothing.

3. Search the web

This request returns the top three web results for bun 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.
A failed call returns success: false, an error that says what to do next and a code, and costs nothing. See Errors.

Next