Search does not use credits.
api.search.tinyfish.ai is the public Search API endpoint.
Before You Start
Get your API key
Visit agent.tinyfish.ai/api-keys and create a key. Store it in your environment:
X-API-Key header. See Authentication for the full setup and troubleshooting guide.
Your First Request
What Success Looks Like
When to Use Search vs the Other APIs
- Use Search when you need ranked search engine results, snippets, and URLs.
- Use Fetch when you already have the URLs and want extracted page content.
- Use Agent when you want TinyFish to browse and execute a workflow on the site.
- Use Browser when you need direct browser control from your own code.
Geo-Targeted Results
Use thelocation and language parameters to get results tailored to a specific region.
Read Next
API Reference
Full request and response schema
Authentication
API key setup
For coding agents
One page that routes an agent to the right TinyFish API