Crawl webpages
Explore a website link graph from a root URL and extract content from successful pages. Authenticate with a Bearer API key, or pass api_key in the JSON body as a compatibility fallback; both https://api.bazaarlink.ai/v1 and https://bazaarlink.ai/api/v1 are supported. Unknown fields are ignored. The response includes successful pages, response_time, usage.credits, our additive usage.cost (credits multiplied by the admin-set per-credit price), and our request_id. Tavily accepts timeout values from 10 to 150 seconds, but BazaarLink's effective maximum is 90 seconds; values above 90 are lowered to 90 so the call stays below the 100-second edge limit. Crawl credits are mapping cost plus extraction cost: 10 basic pages cost 1 + 2 = 3 credits; advanced extraction doubles the extraction part, and instructions double the mapping part. Failed pages are free. Actual credits draw from the shared daily free allowance; if the estimate from limit exceeds the remaining allowance, the excess is billed from balance, or the call returns 432 without balance and suggests lowering limit. Credits are mapping cost plus extraction cost: 10 basic pages cost 1 + 2 = 3 credits; advanced extraction doubles the extraction part, and instructions double the mapping part. Failed pages are free. Actual credits draw from the shared daily free allowance; if the estimate from limit exceeds the remaining allowance, the excess is billed from balance, or the call returns 432 without balance and suggests lowering limit. SDK examples; keep the key in an environment variable or another secure server-side setting. Python: from tavily import TavilyClient client = TavilyClient(api_key="...", api_base_url="https://api.bazaarlink.ai/v1") response = client.crawl("docs.tavily.com", instructions="Find Python SDK pages") JavaScript: import { tavily } from "@tavily/core" const tvly = tavily({ apiKey: process.env.BAZAARLINK_API_KEY, apiBaseURL: "https://api.bazaarlink.ai/v1" }) const response = await tvly.crawl("docs.tavily.com", { instructions: "Find Python SDK pages" }) LangChain (crawl only): from langchain_tavily import TavilyCrawl tool = TavilyCrawl(api_key="...", api_base_url="https://api.bazaarlink.ai/v1") response = tool.invoke({"url": "docs.tavily.com", "instructions": "Find Python SDK pages"})
/v1/crawlAuthorizations
AuthorizationrequiredAPI key as bearer token in the Authorization header.
Body
urlrequiredRoot URL for the crawl; the scheme is optional, for example docs.tavily.com.
"docs.tavily.com"instructionsNatural-language crawl instructions. When present, chunks_per_source is available and the mapping part costs 2 credits per 10 successful pages.
"Find Python SDK pages"chunks_per_sourceMaximum short content chunks per source; available only with instructions, from 1 to 5, default 3.
3max_depthMaximum crawl depth, 1 to 5, default 1.
1max_breadthMaximum links followed per page at each level, 1 to 500, default 20.
20limitTotal links processed before stopping; minimum 1, default 50.
50select_pathspath selection regex patterns; at most 50 entries, with each pattern limited to 200 characters.
["^/docs/.*"]select_domainsdomain selection regex patterns; at most 50 entries, with each pattern limited to 200 characters.
["^docs\.example\.com$"]exclude_pathspath exclusion regex patterns; at most 50 entries, with each pattern limited to 200 characters.
["^/private/.*"]exclude_domainsdomain exclusion regex patterns; at most 50 entries, with each pattern limited to 200 characters.
["^private\.example\.com$"]allow_externalWhether to include external-domain links in the final results, default true.
trueinclude_imagesWhether to include images extracted from pages, default false.
falseextract_depthExtraction depth. advanced handles more tables and embedded content and doubles the extraction part of credits per 5 successful pages.
basicadvanced"basic"formatFormat of extracted page content: markdown or plain text, default markdown.
markdowntext"markdown"include_faviconWhether to include a favicon URL for each result, default false.
falsetimeoutSeconds to wait for the crawl. Tavily's range is 10-150, but BazaarLink's effective maximum is 90 seconds; values above 90 are lowered to 90.
90include_usageWhether to include usage in the response, default false; when included it shows credits and usage.cost.
false