tinyx402

Search

Ranked web results (titles, snippets and URLs) from TinyFish Search, ready for an LLM or for code to consume.

GET/api/v1/search10000 base units · 0.01 USDT

Query parameters

NameType
querystringRequired. 1–2000 chars.
purposestringWhy you are searching. Gives the ranker more to work with. Max 2000 chars.
locationstringCountry code for geo-targeted results, e.g. US, DE.
languagestringResult language, e.g. en.
domain_typeweb | news | research_paperDefaults to web. news adds publisher and date. research_paper adds authors, venue, year and citations.
include_domains / exclude_domainsstringComma-separated domain lists.
recency_minutesinteger1–5,256,000. Don't combine with date filters.
after_date / before_dateYYYY-MM-DDCalendar window. Not supported for research_paper.
pub_year_min / pub_year_maxintegerPublication-year window, research_paper only.
pageinteger0–10.
include_thumbnailtrue | falseAdds thumbnail_url where available.

Example

ts
const res = await paidFetch("https://your-domain.com/api/v1/search?query=web+automation+tools&location=US");

Response

json
{
  "query": "web automation tools",
  "results": [
    {
      "position": 1,
      "site_name": "tinyfish.ai",
      "title": "TinyFish — AI Web Automation Platform",
      "snippet": "Automate any website with natural language instructions...",
      "url": "https://tinyfish.ai"
    }
  ],
  "total_results": 10,
  "page": 0
}