SocialCrawl

Tavily

Web grounding via the Tavily API. Search, extract, map, and crawl

Search the current public web with optional LLM-generated answers, extract clean content from URLs, and crawl or map sitegraphs. Every endpoint is a GET and costs 1 credit.

Base URL: /v1/tavily/...

Tavily endpoints use the Analytics archetype: the upstream response passes through with only the standard envelope-key strip applied. You see Tavily's full payload rather than the unified Author / Post field map that the social platforms use. Web search results are not social posts.

Quickstart

cURL
curl "https://www.socialcrawl.dev/v1/tavily/search?query=claude+opus+release+notes" \
  -H "x-api-key: YOUR_API_KEY"

2. Ask for a written answer alongside the results

cURL
curl "https://www.socialcrawl.dev/v1/tavily/search?query=who+founded+anthropic&include_answer=true" \
  -H "x-api-key: YOUR_API_KEY"

The response includes both ranked results[] and a synthesised answer string.

Search and extract

EndpointCreditsWhat it returnsKey parameters
GET /v1/tavily/search1Ranked web results, plus an optional LLM-generated answer stringquery, search_depth, topic, time_range, max_results, include_answer, include_domains, exclude_domains, country, start_date, end_date
GET /v1/tavily/extract1Clean extracted content for one or more URLs, with unreadable ones in failed_resultsurls (up to 20, comma-separated), extract_depth, format, include_images, timeout

Any URL that could not be read comes back in failed_results rather than failing the whole request.

cURL
curl "https://www.socialcrawl.dev/v1/tavily/extract?urls=https://en.wikipedia.org/wiki/Lionel_Messi" \
  -H "x-api-key: YOUR_API_KEY"

Walk a site

EndpointCreditsWhat it returnsKey parameters
GET /v1/tavily/map1The URLs a site exposes, without any page bodiesurl, max_depth, max_breadth, limit, instructions, select_paths, select_domains, exclude_paths, exclude_domains, allow_external, categories
GET /v1/tavily/crawl1Each followed page's extracted content, starting from one URLThe same shaping parameters, plus extract_depth and format

Both share the same scoping parameters, so a map and the crawl that follows it can take identical settings. What separates them is instructions: plain-language guidance on which paths are worth following, which is Tavily's distinguishing feature over a mechanical link walk.

Use map when you want the shape of a site, and crawl when you want its text. Mapping first is the cheap way to find out what exists before you spend anything reading it.

cURL
# What pages does this site have?
curl "https://www.socialcrawl.dev/v1/tavily/map?url=https://docs.anthropic.com&max_depth=2&limit=100" \
  -H "x-api-key: YOUR_API_KEY"

# Read the ones about pricing
curl "https://www.socialcrawl.dev/v1/tavily/crawl?url=https://docs.anthropic.com&instructions=pages%20about%20pricing%20and%20rate%20limits&limit=20" \
  -H "x-api-key: YOUR_API_KEY"

All endpoints

4 endpoints available.

EndpointPathCredit Tier
Crawl a website with LLM-driven path selection/v1/tavily/crawlstandard (1cr)
Extract clean content from one or more URLs/v1/tavily/extractstandard (1cr)
Map a website's sitegraph/v1/tavily/mapstandard (1cr)
Tavily web search with optional LLM-generated answer/v1/tavily/searchstandard (1cr)

Platform notes

  • Empty search results (results: []) are billed normally. You paid for the search, and an empty result is a real answer.
  • Array-typed Tavily params (urls, include_domains, select_paths, and the rest) are accepted as comma-separated strings on this surface and split server-side.
  • Authentication is your SocialCrawl x-api-key, not a Tavily key.
  • Caching: search responses cache for 2 minutes, extract for 10 minutes, map and crawl for 30 minutes. Cache hits cost 0 credits, and Cache-Control: no-cache requests a billed refresh.

Next steps

On this page