Skip to content

TinyFish: Free Search and Fetch Infrastructure for AI Agents

Aug 29, 20269 min
TL;DRTinyFish provides four web APIs for AI agents: Search, Fetch, Agent, and Browser. Search and Fetch are free within daily allowances (12,000 Search requests and 1,000 Fetch URLs per day) with no credit card requirement, making them a practical default layer for RAG and document retrieval.

Look up & save

Loading dictionary…

Chinese version: TinyFish 介紹:為 AI Agent 設計的免費 Search 與 Fetch 基礎設施

Most AI-agent workflows start with two primitive operations: find the right URL, then read the page cleanly. TinyFish is infrastructure for exactly those two steps. In May 2026, it made its two most common APIs, Search and Fetch, free for every developer and every agent surface. The platform supports REST APIs, MCP, Python and TypeScript SDKs, CLI usage, and integrations such as n8n and Dify. One X-API-Key is enough to start. The official product names are now TinySearch, TinyFetch, TinyAgent, and TinyBrowser; this article keeps the short names Search, Fetch, Agent, and Browser.

This article explains what TinyFish is solving, how the API surface is designed, how the free tier actually works, and when it makes more sense than Firecrawl or a self-hosted Playwright stack.

What TinyFish Does

The short version: TinyFish makes browsing infrastructure free, then charges for higher-level automation.

Its public platform exposes four endpoints:

  • Search: finds URLs. GET https://api.search.tinyfish.ai returns rank-stable structured JSON with title, snippet, url, and position. It supports location, language, include_domains, exclude_domains, recency_minutes, after_date, before_date, domain_type (web, news, research_paper), and a purpose intent parameter.
  • Fetch: reads pages. POST https://api.fetch.tinyfish.ai sends URLs through TinyFish's Chromium cluster, renders the page, strips navigation, cookie banners, scripts, and other boilerplate, then returns clean markdown, html, or json. It supports batches of up to 10 URLs, ttl caching, include_selectors, exclude_selectors, and conditional requests with etag and last_modified.
  • Agent: operates pages. You provide a URL and a natural-language goal; TinyFish's hosted agent can click, fill forms, log in, and return structured results. This is billed per step.
  • Browser: hosts browser sessions. It opens a remote browser session controllable over Playwright/CDP, useful for authenticated flows and anti-bot-sensitive workflows. This is billed per minute.

This piece focuses on Search and Fetch because those two free endpoints already cover most daily agent workloads: RAG retrieval, document checking, price monitoring, news tracking, and lightweight research.

Why Free, And Why Rate-Limited

TinyFish does not use the common "1,000 credits per month" model for Search and Fetch. It uses per-minute rate limits. Across the official blog, docs, and pricing page, the rationale is consistent:

  1. Basic browsing should not be the paid bottleneck: Search is the entry point for agent work. TinyFish says it can offer the free layer because it runs its own browser infrastructure and keeps latency below half a second for Search.
  2. Fairness is easier with rolling rate limits: Monthly quotas create a familiar failure mode: plenty of room early in the month, then a hard stop near the end. TinyFish instead sets 30 Search requests per minute and 150 Fetch URLs per minute. If you exceed the limit, you get 429 plus Retry-After; after backing off, you can keep going.
  3. Target-site failures should not become user cost: Fetch failures often come from DNS, anti-bot systems, 404s, or timeouts on the target site. TinyFish reports failed URLs in errors[]; those failures do not consume paid balance and do not break the rest of a batch.

The free tier no longer rests on rate limits alone, though. The pricing page lists Search at 30 requests / min and 500 requests / hour, and Fetch at 150 urls / min and 1,000 urls / day, both at $0.00. The docs state that Search is free for 12,000 requests per day and Fetch for 1,000 successful URLs per day, resetting at 00:00 UTC:

Search is free up to 12,000 requests per day. Beyond that, requests need a positive wallet balance.

Everyday retrieval volume stays free, but "the wallet is never charged" no longer holds: beyond the daily allowance, requests need a positive wallet balance.

First Request

The signup path is agent.tinyfish.ai/api-keys. Create an API key, send it as X-API-Key, and start calling Search or Fetch. TinyFish says no credit card, monthly plan, or minimum spend is required for those two APIs. Within the daily allowance, wallet balance matters only when you use Agent or Browser, and new accounts start with $8 in wallet funds to try them.

# Search: query plus optional region and language
curl "https://api.search.tinyfish.ai?query=web+automation+tools&location=US&language=en" \
  -H "X-API-Key: $TINYFISH_API_KEY"

# Fetch: up to 10 URLs; failed URLs go into errors[] without breaking the batch
curl -X POST https://api.fetch.tinyfish.ai \
  -H "X-API-Key: $TINYFISH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://docs.tinyfish.ai/search-api"], "format": "markdown"}'

The Python and TypeScript SDKs follow the same shape:

from tinyfish import TinyFish
client = TinyFish()  # reads TINYFISH_API_KEY
print(client.search.query(query="web automation tools").results[0].url)
print(client.fetch.get_contents(urls=["https://www.tinyfish.ai/"]).results[0].text[:500])

For MCP, point the client at https://agent.tinyfish.ai/mcp. The agent can then decide when to search and when to fetch.

Two practical details matter in production. For article extraction, use include_selectors: ["article"] with exclude_selectors: [".comments"] when the page structure is predictable. For incremental refresh, set include_etag_and_last_modified: true, persist the returned etag, and send it back with if_none_match; unchanged pages can return not_modified: true.

Compared With Alternatives

OptionFree-tier boundaryStrengthsTradeoffs
TinyFish Search/FetchUsable with a $0 wallet within daily allowances; Search 30 req/min and 12,000/day, Fetch 150 URLs/min and 1,000 URLs/day; failed URLs are freeAgent-friendly cleaned Markdown, batch Fetch, selector extraction, steady rate-limited usageHard 429 limit; you need queues and backoff for high volume
FirecrawlRoughly 1,000 credits/month; search and scrape consume creditsFull-site crawling, structured extraction, self-hostable AGPL optionHigher cost for frequent retrieval; lower success on bot-protected pages in TinyFish's own comparison
Tavily / Exa / Brave SearchUsually monthly quotas or per-thousand pricing, with strong tuning controlsResearch search, live news, domain weighting, depth controlsSustained zero-cost usage is harder
Self-hosted Playwright + proxyNo API bill, high operational costFully custom rendering and anti-bot strategyYou own anti-bot handling, IP rotation, cleanup, and token hygiene

TinyFish's main difference is where cleanup happens. Navigation, scripts, cookie banners, and other boilerplate are removed before the result enters the context window, which reduces wasted tokens and custom cleaning code.

Good Fit And Bad Fit

  • Good fit: coding-agent documentation retrieval, RAG pipelines, price or earnings monitoring, news and paper tracking, student projects, independent developers without credit cards, and teams whose current bottleneck is "find it and read it cleanly."
  • Bad fit: flows that start behind a login wall or require form filling, which fit the paid Agent API better; long-lived stealth browser sessions, which fit Browser; enterprise procurement that needs a legal commitment that pricing will never change.

Is It Really Free?

Cross-checking the official blog, docs, and pricing page gives a clear boundary:

  • Free within daily allowances: the blog says Search and Fetch are free for developers, agents, and surfaces; the current docs say Search is free up to 12,000 requests per day and Fetch up to 1,000 URLs per day.
  • Works at $0 balance: within the daily allowance no wallet balance is needed; beyond it, a positive balance is required.
  • No card or plan required: TinyFish says no credit card, monthly plan, or minimum spend is required. The minimum $10 top-up applies when you run paid Agent or Browser workloads.
  • Rate limits: Search is limited to 30 requests per minute and 500 per hour; Fetch is limited to 150 URLs per minute.
  • Daily volume, not monthly: there is no monthly quota, but there is a daily free allowance that resets at 00:00 UTC. Per-minute 429 responses include rate-limit headers and Retry-After; after backing off, usage can continue.
  • Failed URLs are free: failed Fetch URLs are reported through errors[] and do not count against cost.
  • No trial-expiry wording: TinyFish has described Search and Fetch as free since its May 2026 announcement. The official text does not frame it as a limited trial.
  • Paid boundary is clear: Agent and Browser always draw from wallet balance; Search and Fetch draw from it only beyond the daily allowance. Older credit-era behavior and newer dollar-wallet errors may both matter when handling 402 or 403 responses.

Limits And Practical Advice

  • Rate limits are hard boundaries: high-volume jobs need queues and exponential backoff. For batches, spacing requests by one or two seconds is a reasonable starting point.
  • Fetch has batch and timeout limits: a batch can include up to 10 URLs. One URL can run up to 110 seconds on the backend; the whole batch has a 120-second CDN ceiling. Set client timeouts around 150 seconds.
  • Route errors differently: once Search or Fetch exhausts the daily allowance with a zero wallet balance, it returns 402 INSUFFICIENT_CREDITS; with wallet spending disabled it returns 429 with details.reason set to free_allowance_exhausted, so wait for 00:00 UTC rather than retrying quickly. Other 429 responses with details usually mean the per-minute limit was hit; 429 without details can mean upstream throttling or capacity pressure, so backoff is the right response.
  • API key is still required: no key returns 401 MISSING_API_KEY. Within the daily allowance, a $0 wallet balance does not block Search or Fetch.

Bottom Line

TinyFish splits browsing from automation as a business model. Browsing is free within rate limits and daily allowances; automation pays for model, agent, and browser-session cost. For developers, the decision is not "do I have to pay before my agent can search?" The better question is whether the bottleneck is finding and reading pages or actually operating inside them. The former is free. The latter is where the paid APIs begin.

If your agent is still answering from model memory or relying on custom Playwright scripts for basic document lookup, Search and Fetch are a low-cost default retrieval layer.

This article is part of the "搜尋與爬取實戰" series. For a broader free-tier comparison, see Free Search, Scraping, and Browser APIs: How to Choose, which compares quotas, reset rules, and overage behavior across providers.

Changelog

  • 2026-11-23: Updated the free-tier boundary from the official pricing page and the TinySearch / TinyFetch docs. Besides 30 requests per minute, Search now has free caps of 500 per hour and 12,000 per day; Fetch is free for 1,000 successful URLs per day; beyond that a positive wallet balance is required, so the earlier "$0 wallet always works, with no total cap" wording has been rewritten. Also added the product renaming, the $8 starting wallet for new accounts, free_allowance_exhausted handling, and moved doc links to their new paths.

References