# TinyFish search API in searchSDK

> How searchSDK calls the TinyFish search API: supported options, result fields, pricing and cost source, limits and sources, from the registry.

Source: https://searchsdk.dev/providers/tinyfish

Not verified against the live API yet. Mapped from TinyFish's public docs, read 2026-11-24.

- Id: `tinyfish`
- Key: `TINYFISH_API_KEY`
- Search: yes
- Contents: yes

## Search

`GET https://api.search.tinyfish.ai`

### Request options

- maxResults: Trimmed by searchSDK (unverified)
- includeDomains: Yes
- excludeDomains: Yes
- recency: Yes
- startDate: Yes
- endDate: Yes
- country: Yes
- language: Yes
- depth: No

Provider options (providerOptions): `purpose`, `domain_type`, `page`, `pub_year_min`, `pub_year_max`

### Result fields

- url: Yes
- title: Yes
- excerpts: Yes, a page description
- publishedAt: Yes (unverified)
- author: Yes

Kept in providerFields: `position`, `siteName`, `publisher`

### Pricing

- Cost: Computed from list prices (unverified)
- Plan: Free daily allowance
- Per request: $0.00 per 1,000 requests (unverified)
- Free allowance: 12,000 requests per day, resets 00:00 UTC
- Past the allowance: Refused unless paid use is turned on (price not public) (unverified)

The pricing page lists Search at $0.00 per request. The API reference makes 12,000 requests a day free; past that, requests are refused unless wallet spending is enabled on the account, at a wallet price the docs do not state.

Pricing source: https://www.tinyfish.ai/pricing (read 2026-11-24)

### Limits

- Results per query: 10 (unverified)
- Query length: Not stated
- Included domains: 100 (unverified)
- Excluded domains: 100 (unverified)
- Date filter basis: unknown (unverified)

### Rate limits

- Personal: 30 requests per minute, per person or organization
- Personal: 500 requests per hour, per person or organization (on the pricing page only; the API reference gives no hourly limit) (unverified)

## Contents

`POST https://api.fetch.tinyfish.ai`

### Request options

- urls: Yes

Provider options (providerOptions): `purpose`, `links`, `image_links`, `iframe_links`, `ttl`, `per_url_timeout_ms`, `include_selectors`, `exclude_selectors`

### Page fields

- url: Yes
- finalUrl: Yes
- title: Yes
- content: Yes
- publishedAt: Yes
- author: Yes
- errorCode: Yes
- errorMessage: No

### Pricing

- Cost: Computed from list prices (unverified)
- Plan: Free daily allowance
- Per request: $0.00 per 1,000 requests (unverified)
- Free allowance: 1,000 URLs per day, resets 00:00 UTC
- Past the allowance: Refused unless paid use is turned on (price not public) (unverified)

The pricing page lists Fetch at $0.00 per URL. The API reference makes 1,000 fetched URLs a day free; past that, requests are refused unless wallet spending is enabled, at a wallet price the docs do not state.

Pricing source: https://www.tinyfish.ai/pricing (read 2026-11-24)

### Limits

- URLs per request: 10
- Content format: markdown

### Rate limits

- Personal: 150 URLs per minute, per person or organization

## Unverified

- Search: limit maxResults (`/search/limits/maxResults`): No result-count parameter is documented; examples return 10 per page. The runtime truncates.
- Search: limit maxIncludeDomains (`/search/limits/maxIncludeDomains`): No domain-list limit is documented; 100 is SDK policy.
- Search: limit maxExcludeDomains (`/search/limits/maxExcludeDomains`): No domain-list limit is documented; 100 is SDK policy.
- Search: field publishedAt (`/search/response/fields/publishedAt`): date is 'present for news results and some web results'; its format is not documented.
- Search: date filter basis (`/search/dateBasis`): Docs do not say whether date filters use publish or crawl dates.
- Search: rate limits (`/search/rateLimits/1`): The pricing page lists 500 requests per hour; the API reference lists only 30 per minute and the 12,000-a-day free allowance. Both are recorded; the strictest applies.
- Search: price perRequestUsd (`/search/pricing/perRequestUsd`): $0.00 per the pricing page and free within the daily allowance per the API reference; no live bill has been checked.
- Search: price allowance beyond (`/search/pricing/allowance/beyond/perRequestUsd`): The wallet price past the allowance is not documented.
- Contents: price perRequestUsd (`/contents/pricing/perRequestUsd`): $0.00 per the pricing page and free within the daily allowance per the API reference; no live bill has been checked.
- Contents: price allowance beyond (`/contents/pricing/allowance/beyond/perRequestUsd`): The wallet price past the allowance is not documented.
- Terms (`/terms`): Terms reading taken from the 2026-11-24 recon, not re-read for this spec.

## Sources

- https://docs.tinyfish.ai/tinysearch/reference.md: search parameters, response, status codes, rate limits, billing (read 2026-11-24)
- https://docs.tinyfish.ai/search-api.md: search overview, date filter rules, daily allowance (read 2026-11-24)
- https://docs.tinyfish.ai/tinyfetch/reference.md: fetch request, response, per-URL errors, billing (read 2026-11-25)
- https://docs.tinyfish.ai/error-codes.md: error envelope (read 2026-11-24)
- https://www.tinyfish.ai/pricing: prices and free limits (read 2026-11-24)

Provider names are trademarks of their respective owners. searchSDK is not affiliated with them.
