The Desearch API is a REST API for live search and data retrieval across web and social sources. It is designed for AI agents, search products, research tools, dashboards, and enrichment pipelines that need current information with clear usage and billing metadata.
Use this canonical production base URL unless your Desearch team contact gives you an environment-specific URL:
All endpoint paths in the API Reference are relative to that base URL. For example:
| Capability | Description |
|---|---|
| AI Search | Search across selected sources and return links, summaries, or structured results for agent workflows. |
| Web Search and Crawl | Retrieve SERP-style results or crawl a target URL. |
| X Search | Search posts, retrieve posts/users, fetch replies, retweeters, user posts, and trends. |
| TikTok APIs | Search TikTok and retrieve posts, profiles, profile posts, comments, hashtags, and trending posts. |
| Facebook APIs | Search Facebook and retrieve posts, profiles/pages, page posts, comments, and hashtag posts. |
| Instagram APIs | Search Instagram and retrieve media, profiles, profile posts, comments, and hashtag media. |
| Forecasting | Create Numinous forecast jobs and retrieve forecast results. |
Every API request must include your API key in the Authorization header.
See Authorization and API Keys for secure key handling.
Billable responses expose request-cost metadata in USD:
X-Desearch-Cost-Usdcost_usdX-Desearch-Usage-Count, X-Desearch-Service, X-Desearch-Currency, plus matching JSON fields when the response body is a JSON object.For arrays, text responses, and streaming/SSE, the body shape is preserved and billing metadata is available through headers. See Pricing and Billing.
| Status | Meaning | What to check |
|---|---|---|
401 | Unauthorized | Missing, invalid, revoked, or wrong-environment API key. |
422 | Validation error | Request body, query params, enum values, required fields, or old client examples. |
429 | Too many requests | Account tier, rate limits, retry/backoff behavior, or usage spikes. |
500 | Server error | Retry later; if it persists, capture request ID/log details from Console. |