Map website URLs
Explore a website link graph from a root URL and return the discovered URLs. This is a discovery-only endpoint: it has no content-extraction fields. 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 base_url, a results array of URL strings, response_time, our additive usage.credits and usage.cost (credits multiplied by the admin-set per-credit price), and our request_id. Mapping costs 1 credit per 10 successful pages, or 2 credits per 10 when instructions is provided; failed pages are free. Actual credits draw from the shared daily free allowance, and an estimate that exceeds the remainder is billed from balance or returns 432 without balance with a suggestion to lower limit. Mapping costs 1 credit per 10 successful pages, or 2 credits per 10 when instructions is provided; failed pages are free. Actual credits draw from the shared daily free allowance. If the estimate from limit exceeds the remainder, 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.map("docs.tavily.com") 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.map("docs.tavily.com")
/v1/mapAuthorizations
AuthorizationrequiredAPI key as bearer token in the Authorization header.
Body
urlrequiredRoot URL for the map; the scheme is optional, for example docs.tavily.com.
"docs.tavily.com"instructionsNatural-language discovery instructions; they raise the mapping cost to 2 credits per 10 successful pages instead of 1.
"Find Python SDK pages"max_depthMaximum mapping 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.
truetimeoutSeconds to wait for the map. 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