Skip to main content
Create an API key, call the curated POST /v1/search endpoint, then use POST /v1/run to execute a registered provider operation.
1

Create an API key

Sign in at fetchbean.com/app and open the API Keys section. Click Create key, give it a name, and copy the value immediately — it starts with fb_ and is shown only once. Store it as the environment variable FETCHBEAN_KEY so it stays out of your source code.
2

Call a curated tool

Curated tools return the same clean, normalized JSON shape every time, regardless of which provider powers them. Use POST /v1/search to run a web search:
A successful search returns results in this shape:
3

Call a registered provider operation

Use POST /v1/run with a provider and endpoint from the catalog. fetchbean validates input against the operation’s schema and returns its provider-specific result without applying the curated normalization layer:
Provider failures and timeouts are billed at zero. Some other failures can be billable when the upstream call succeeded, so check the error envelope’s billable field. See Errors and Credits.

Next steps

Credits & billing

Understand how prepaid credits work and how calls are priced.

Authentication

Learn how to manage API keys and handle authentication errors.