Skip to main content
This guide walks you through everything you need to go from zero to a working fetchbean integration. You’ll create an API key, call the POST /v1/search curated endpoint using your preferred language, and see how to reach any provider directly with the raw POST /v1/run endpoint.
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

Or call any provider raw

Use POST /v1/run to reach a specific provider endpoint directly and receive its native, unmodified response. This gives you full access to provider-specific parameters:
fetchbean uses prepaid credits and only charges you for calls that succeed. Provider failures and timeouts are billed at zero — you never pay for an error that wasn’t your fault.

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.