Exa / Tavily / Firecrawl → x402 search & scrape

Keep your response parser. Change the base URL. Pay per call, no signup.

Verified 2026-11-30 against the live endpoint

Most agent code that calls Exa, Tavily or Firecrawl hard-codes two things: the request parameter names and the JSON shape it reads back. This endpoint accepts both conventions and returns both shapes, so a migration is a URL swap plus an x402 payment header.

GET https://mythos.minia2a.uk/web-search?q=bitcoin&format=exa&numResults=3
$0.002 per call · USDC on Base · no account, no API key · returns a 402 challenge the first time

1. Exa-compatible mode

Send format=exa. Parameters query/numResults/useAutoprompt are recognized (unknown ones are ignored). numResults maps to limit and is clamped to 1–20.

FieldReturned
requestIdper-call id
resolvedSearchType"neural" (label only)
results[].idthe result URL
results[].title / url / text / scorepopulated
results[].publishedDate / authorusually null (not all sources expose them)
costDollars0.002
curl -s "https://mythos.minia2a.uk/web-search?q=bitcoin&format=exa&numResults=2"
# after paying the 402 challenge:
{"requestId":"mythos-mx2oxy76-1qjots3be7z","resolvedSearchType":"neural",
 "results":[{"id":"https://coinmarketcap.com/currencies/bitcoin/",
   "title":"Bitcoin price today, BTC to USD live price...",
   "url":"https://coinmarketcap.com/currencies/bitcoin/",
   "text":"It was launched soon after, in January 2009...",
   "score":1,"publishedDate":null,"author":null}, ...]}

2. Tavily-compatible mode

Send format=tavily. Parameters max_results/search_depth/include_answer are recognized. max_results maps to limit (clamped 1–20). answer is always null — this endpoint returns sources, not a generated answer.

FieldReturned
queryechoed
answernull
results[].title / url / content / scorepopulated
results[].raw_contentnull
follow_up_questions / imagesnull
curl -s "https://mythos.minia2a.uk/web-search?q=bitcoin&format=tavily&max_results=2"
{"query":"bitcoin","answer":null,
 "results":[{"title":"Bitcoin price today, BTC to USD live price...",
   "url":"https://coinmarketcap.com/currencies/bitcoin/",
   "content":"It was launched soon after, in January 2009...",
   "score":1,"raw_content":null}, ...]}

3. Firecrawl-compatible modes

Search. Send format=firecrawl to /web-search. Firecrawl’s limit is honored (clamped 1–20). The response is the Firecrawl v2 /search shape.

curl -s "https://mythos.minia2a.uk/web-search?q=bitcoin&format=firecrawl&limit=2"
{"success":true,
 "data":{"web":[{"url":"https://bitcoin.org/","title":"Bitcoin - Open source P2P money",
   "description":"Bitcoin is a decentralized and open-source payment system ..."}, ...]}}

Scrape. Send format=firecrawl to /web2md ($0.005/call). The response is the Firecrawl v2 /scrape shape with data.markdown and data.metadata.

curl -s "https://mythos.minia2a.uk/web2md?url=https://example.com&format=firecrawl"
{"success":true,
 "data":{"markdown":"Example DomainThis domain is for use in ...",
   "metadata":{"title":"Example Domain","sourceURL":"https://example.com",
     "statusCode":200,"contentType":"text/html; charset=utf-8"}}}

4. Payment is the only new part

The first request returns HTTP 402 with an accepts entry: amount 0.002, asset USDC, chain Base, and the merchant address. Any x402 client (or an X-API-Key from prepaid credits) completes it; the search response follows immediately. No OAuth, no signup, no email.

GET /web-search?q=bitcoin
→ 402 {"error":"payment_required","scheme":"x402","amount":"0.002",
       "currency":"USDC","chain":"base","recipient":"0xf16F..."}

5. What is different from the real Exa / Tavily / Firecrawl

This is a shape-compatible endpoint, not a re-seller of Exa or Tavily. Results come from independent web-search engines (DuckDuckGo and fallbacks), so ranking will differ and publishedDate/author/raw_content are often null. Every result set is relevance-checked against the query: if no upstream clears the bar the call returns 502 and is refunded rather than returning unrelated rows.

6. Free sanity check before you pay

GET https://mythos.minia2a.uk/web-search?q=bitcoin&limit=1 returns the same 402 challenge — confirming the route is live — without charging anything. The native (non-compat) shape is also documented at /tools.