Tavily

Tavily's AI search plus extract, crawl, and map
View as Markdown

Fronts the AI-search API of Tavily. Its sibling endpoints all live on the one host api.tavily.com and are mounted under /tavily:

POST /tavily/<endpoint> → https://api.tavily.com/<endpoint>

Only POST is mounted — the method Tavily documents for its action endpoints. All controls live in the JSON body, which is relayed without modification.

Endpoints

Exactly these endpoints are admitted; anything else is refused with the gateway’s own 404 and never reaches Tavily.

EndpointPurpose
searchAI web search
extractExtract content from URLs
crawlCrawl a site
mapMap a site’s URLs

The /usage endpoint — credit and limit metadata for the whole account — is intentionally left unexposed; a per-client token has no legitimate claim on usage data for the shared account.

Credential handling

Tavily reads its key from Authorization: Bearer — the very header carrying your gateway token — so the gateway replaces that header with the Tavily key:

  • Authorization is overwritten with Tavily’s secret key. Your gateway token stops at the gateway and never travels upstream.
  • No query-param form of the key exists on Tavily’s side, so nothing gets removed from the query string.

Examples

Responses arrive as Tavily’s JSON, untouched. Field-level request and response detail lives in Tavily’s documentation; the gateway modifies neither.