{"openapi":"3.1.0","info":{"title":"Desearch API","description":"The Desearch API is a powerful suite of AI-driven tools designed to integrate natural language processing, AI-powered search, image generation, and data extraction into your applications. Whether you’re building intelligent search engines, automating content creation, analyzing text data, or generating AI-based media, Desearch provides a robust and scalable solution.","version":"1.0.0"},"paths":{"/search":{"post":{"tags":["Search"],"summary":"Search API","description":"Search the web and return ranked pages, each with the passage that best matches the query.\n\nBilling metadata: responses include `cost_usd`, `usage_count`, `service`, and `currency` fields in the JSON body.","operationId":"search_api_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchRequest"}}},"required":true},"responses":{"200":{"description":"Ranked results and the cost of the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"503":{"description":"Search unavailable"},"400":{"description":"Invalid JSON body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponse"}}}}}}},"/desearch/ai/search":{"post":{"tags":["AI Search"],"summary":"AI Contextual Search","description":"The Desearch API allows you to perform AI-powered searches, gathering relevant information from web pages (`web`) and X posts (`twitter`). Web results arrive in `search` and X results in `tweets`.\n\nThe YouTube, Hacker News, Reddit, Wikipedia and ArXiv tools are retired. They are still accepted in `tools`, but their `youtube_search`, `hacker_news_search` and `reddit_search` keys are never returned: `youtube` is dropped, and `reddit`, `hackernews`, `wikipedia` and `arxiv` run as a Web Search pinned to their domain through `include_domains`. To scope web results to a site, use `include_domains` or put `site:<domain>` in the prompt.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"desearch_desearch_ai_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScraperStreamingSynapseRequest"}}},"required":true},"responses":{"200":{"description":"A JSON object mapping tool names to their search results.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ResponseData"},{"type":"object"},{"type":"string"}],"title":"Response Desearch Desearch Ai Search Post"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"AI Search"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"503":{"description":"Search unavailable"},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"},"400":{"description":"Invalid JSON body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponse"}}}}}}},"/desearch/ai/search/links/web":{"post":{"tags":["AI Search"],"summary":"AI Web Search","description":"This API allows users to search for links related to a given query (prompt) with Web Search. X (Twitter) Search is not available here; use `POST /desearch/ai/search/links/twitter`. Results arrive in `search_results`.\n\nThe YouTube, Hacker News, Reddit, Wikipedia and ArXiv tools are retired. They are still accepted in `tools` but dropped, and the `youtube_search_results`, `hacker_news_search_results`, `reddit_search_results`, `arxiv_search_results` and `wikipedia_search_results` keys are never returned. To scope results to a site, put `site:<domain>` in the prompt (for example `site:youtube.com`), or use `POST /desearch/ai/search` with `include_domains`.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"search_links_web_desearch_ai_search_links_web_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinksSearchRequestWeb"}}},"required":true},"responses":{"200":{"description":"A JSON object with the Web Search results in `search_results`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebSearchResponse"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"AI Search Web Links"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"503":{"description":"Search unavailable"},"301":{"description":"Moved Permanently"},"304":{"description":"Not Modified"},"400":{"description":"Invalid JSON body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponse"}}}}}}},"/desearch/ai/search/links/twitter":{"post":{"tags":["AI Search"],"summary":"AI Х Posts Search","description":"The Х Posts Search API allows users to search for relevant links based on Х search queries with leveraging AI-powered models. This API analyze links from Х posts that match the given prompt. This API is useful for tracking trends, gathering insights, and retrieving real-time information from Х.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"search_links_twitter_desearch_ai_search_links_twitter_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinksSearchRequestTwitter"}}},"required":true},"responses":{"200":{"description":"A JSON object mapping Х Search to its search results.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/XLinksSearchResponse"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"AI Search X Links"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"503":{"description":"Search unavailable"},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"},"400":{"description":"Invalid JSON body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponse"}}}}}}},"/twitter":{"get":{"tags":["X Search"],"summary":"X Search API","description":"The X Search API enables users to retrieve relevant links and tweets based on specified search queries without utilizing AI-driven models. It analyzes links from X posts that align with the provided search criteria. Billed per post returned: each unique post id in the response is one unit, never more than `count`. A search with no matching posts returns 503 and is not charged.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"twitter_search_twitter_get","parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","description":"Advanced search query","title":"Query"},"description":"Advanced search query","example":"Whats going on with Bittensor"},{"name":"sort","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(Top|Latest)$"},{"type":"null"}],"description":"Sort by Top or Latest","default":"Top","title":"Sort"},"description":"Sort by Top or Latest","example":"Top"},{"name":"user","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"User to search for","title":"User"},"description":"User to search for","example":"elonmusk"},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Start date in UTC (YYYY-MM-DD format)","title":"Start Date"},"description":"Start date in UTC (YYYY-MM-DD format)","example":"2024-12-01"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"End date in UTC (YYYY-MM-DD format)","title":"End Date"},"description":"End date in UTC (YYYY-MM-DD format)","example":"2025-02-25"},{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Language code (e.g., en, es, fr)","title":"Lang"},"description":"Language code (e.g., en, es, fr)","example":"en"},{"name":"verified","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Filter for verified users","title":"Verified"},"description":"Filter for verified users","example":true},{"name":"blue_verified","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Filter for blue checkmark verified users","title":"Blue Verified"},"description":"Filter for blue checkmark verified users","example":true},{"name":"is_quote","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Include only tweets with quotes","title":"Is Quote"},"description":"Include only tweets with quotes","example":true},{"name":"is_video","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Include only tweets with videos","title":"Is Video"},"description":"Include only tweets with videos","example":true},{"name":"is_image","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Include only tweets with images","title":"Is Image"},"description":"Include only tweets with images","example":true},{"name":"min_retweets","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"description":"Minimum number of retweets","title":"Min Retweets"},"description":"Minimum number of retweets","example":1},{"name":"min_replies","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"description":"Minimum number of replies","title":"Min Replies"},"description":"Minimum number of replies","example":1},{"name":"min_likes","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"description":"Minimum number of likes","title":"Min Likes"},"description":"Minimum number of likes","example":1},{"name":"count","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":1},{"type":"null"}],"description":"Number of tweets to retrieve. Billed per unique post returned, never more than this.","default":20,"title":"Count"},"description":"Number of tweets to retrieve. Billed per unique post returned, never more than this.","example":10}],"responses":{"200":{"description":"A JSON object mapping X Search to its search results.","content":{"application/json":{"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/TwitterScraperTweet"}},{"type":"object"}],"title":"Response Twitter Search Twitter Get"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"X Search"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"503":{"description":"No posts to return, so the request is not charged (`X-Desearch-Cost-Usd: 0`, `X-Desearch-Usage-Count: 0`). Either the search matched no posts (`error_code: upstream_empty`), or X search is temporarily unavailable because the X crawler failed or timed out (`error_code: upstream_failed` or `upstream_timeout`)."},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/twitter/urls":{"get":{"tags":["X Search"],"summary":"Fetch Posts by URLs","description":"Retrieve detailed information for multiple posts by providing their respective URLs. This endpoint extracts metadata, content, and relevant engagement metrics associated with each specified URL.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"twitter_by_urls_twitter_urls_get","parameters":[{"name":"urls","in":"query","required":true,"schema":{"type":"array","items":{"type":"string"},"description":"List of urls that is to be retrieved.","title":"Urls"},"description":"List of urls that is to be retrieved.","example":["https://x.com/RacingTriple/status/1892527552029499853"]}],"responses":{"200":{"description":"A JSON object mapping tweet URLs to their details.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TwitterScraperTweet"},"title":"Response Twitter By Urls Twitter Urls Get"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"X URL Lookup"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"503":{"description":"X search is temporarily unavailable (the X crawler failed or timed out). The request is not charged."},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/twitter/post":{"get":{"tags":["X Search"],"summary":"Retrieve Post by ID","description":"Retrieve comprehensive details of a post by specifying its unique ID. This endpoint provides metadata, content, and engagement metrics associated with the specified post.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"twitter_by_id_twitter_post_get","parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string","description":"The numeric ID of the post.","title":"Id"},"description":"The numeric ID of the post.","example":"1234567890"}],"responses":{"200":{"description":"A JSON object representing the post details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwitterScraperTweet"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"X Post Lookup"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"404":{"description":"No post with this id. The request is not charged."},"422":{"description":"Validation Error. `id` must be a numeric X post id (1 to 20 digits). A malformed id is not charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"503":{"description":"The X crawler failed. The request is not charged."},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/twitter/post/user":{"get":{"tags":["X Search"],"summary":"Search X Posts by User","description":"The X posts search by user API allows users to search for relevant links or tweets based on X search queries without leveraging AI-powered models. This API analyze links from X posts that match the given prompt.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"tweets_by_user_twitter_post_user_get","parameters":[{"name":"user","in":"query","required":true,"schema":{"type":"string","description":"User to search for","title":"User"},"description":"User to search for","example":"elonmusk"},{"name":"query","in":"query","required":false,"schema":{"type":"string","description":"Advanced search query","default":"","title":"Query"},"description":"Advanced search query","example":"Whats going on with Bittensor"},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Number of tweets to retrieve","default":10,"title":"Count"},"description":"Number of tweets to retrieve","example":10}],"responses":{"200":{"description":"A JSON object mapping Twitter Search to its search results.","content":{"application/json":{"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/TwitterScraperTweet"}},{"type":"object"}],"title":"Response Tweets By User Twitter Post User Get"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"X Post User"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"503":{"description":"X search is temporarily unavailable (the X crawler failed or timed out). The request is not charged."},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/twitter/post/retweeters":{"get":{"tags":["X Search"],"summary":"Get Retweeters of a Post","description":"Retrieve the list of users who retweeted a specific post by its ID. Supports pagination via `cursor`: send the previous page's `next_cursor` back unchanged to get the next page. Each user is returned at most once per cursor chain; users already returned on earlier pages are left out. `next_cursor` is `null` on the last page, including when a page brings no new users.\n\nBilling: each request reserves 20 units and is billed for the number of unique users it returns, never more than 20. A page with no new users (`users: []`, `next_cursor: null`) is not charged.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"get_retweeters_twitter_post_retweeters_get","parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string","description":"The ID of the post to get retweeters for","title":"Id"},"description":"The ID of the post to get retweeters for","example":"1982770537081532854"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `next_cursor` from the previous response back unchanged with the same `id`. A cursor is valid for 24 hours and only for the same post. `next_cursor` is `null` on the last page; stop paging then. A tampered, expired or other-post cursor returns 400 and is not charged.","title":"Cursor"},"description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `next_cursor` from the previous response back unchanged with the same `id`. A cursor is valid for 24 hours and only for the same post. `next_cursor` is `null` on the last page; stop paging then. A tampered, expired or other-post cursor returns 400 and is not charged."}],"responses":{"200":{"description":"A JSON object containing the list of users who retweeted the post.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/XRetweetersResponse"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"X Post Retweeters"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"400":{"description":"Bad Request, not charged (no crawler call). Returned when `id` is invalid: id must be a numeric X post id (1 to 19 digits, 1 to 9223372036854775807). Also returned when `cursor` is tampered (modified), expired (older than 24 hours), or belongs to another post (not a `next_cursor` this route returned for this `id`)."},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"404":{"description":"Post not found: the X crawler explicitly reported the post as not found, including a first page with no retweeters for a post id that does not exist. The request is not charged. A real post with no new retweeters is a 200 with `users: []` and `next_cursor: null`, also not charged."},"503":{"description":"X crawler upstream failed or timed out"},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/twitter/user/posts":{"get":{"tags":["X Search"],"summary":"Get X Posts by Username","description":"Retrieve user's timeline posts by specifying their username. This endpoint fetches the latest tweets posted by the user associated with the provided username.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"tweets_by_username_twitter_user_posts_get","parameters":[{"name":"username","in":"query","required":true,"schema":{"type":"string","description":"Username to fetch posts for","title":"Username"},"description":"Username to fetch posts for","example":"elonmusk"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Cursor for pagination","title":"Cursor"},"description":"Cursor for pagination"}],"responses":{"200":{"description":"A JSON object mapping X Posts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/XUserPostsResponse"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"404":{"description":"User not found"},"503":{"description":"X crawler upstream failed or timed out"},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/twitter/replies":{"get":{"tags":["X Search"],"summary":"Fetch User's Tweets and Replies","description":"The tweets and replies by user API allows users to search for relevant links or tweets based on X search queries without leveraging AI-powered models. This API analyze links from X posts that match the given prompt. Billed per post returned, with a minimum of 10 posts (never more than `count`). A search with no posts returns 503 and is not charged.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"tweets_replies_by_user_twitter_replies_get","parameters":[{"name":"user","in":"query","required":true,"schema":{"type":"string","description":"The username of the user to search for.","title":"User"},"description":"The username of the user to search for.","example":"elonmusk"},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"The number of tweets to fetch.","default":10,"title":"Count"},"description":"The number of tweets to fetch.","example":10},{"name":"query","in":"query","required":false,"schema":{"type":"string","description":"Advanced search query","default":"","title":"Query"},"description":"Advanced search query","example":"latest news on AI"}],"responses":{"200":{"description":"A JSON object mapping Twitter Search to its search results.","content":{"application/json":{"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/TwitterScraperTweet"}},{"type":"object"}],"title":"Response Tweets Replies By User Twitter Replies Get"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"X Replies"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"503":{"description":"No tweets or replies matched (`error_code: upstream_empty`), or X search is temporarily unavailable because the X crawler failed or timed out (`error_code: upstream_failed` or `upstream_timeout`). The request is not charged (`X-Desearch-Cost-Usd: 0`, `X-Desearch-Usage-Count: 0`)."},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/twitter/replies/post":{"get":{"tags":["X Search"],"summary":"Retrieve Replies for a Post","description":"The Tweets and Replies by User API enables users to retrieve relevant tweets and replies based on specified search queries without relying on AI-powered models. It analyzes and extracts links from X posts that align with the provided search criteria. Billed per post returned, with a minimum of 10 posts (never more than `count`). A search with no replies returns 503 and is not charged.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"tweets_replies_by_post_twitter_replies_post_get","parameters":[{"name":"post_id","in":"query","required":true,"schema":{"type":"string","description":"The numeric ID of the post to search for.","title":"Post Id"},"description":"The numeric ID of the post to search for.","example":"1234567890"},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"The number of tweets to fetch.","default":10,"title":"Count"},"description":"The number of tweets to fetch.","example":10},{"name":"query","in":"query","required":false,"schema":{"type":"string","description":"Advanced search query","default":"","title":"Query"},"description":"Advanced search query","example":"latest news on AI"}],"responses":{"200":{"description":"A JSON object mapping Twitter Search to its search results.","content":{"application/json":{"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/TwitterScraperTweet"}},{"type":"object"}],"title":"Response Tweets Replies By Post Twitter Replies Post Get"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"X Post Replies"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error. `post_id` must be a numeric X post id (1 to 20 digits). A malformed id is not charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"503":{"description":"No replies matched (`error_code: upstream_empty`), or X search is temporarily unavailable because the X crawler failed or timed out (`error_code: upstream_failed` or `upstream_timeout`). The request is not charged (`X-Desearch-Cost-Usd: 0`, `X-Desearch-Usage-Count: 0`)."},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/twitter/trends":{"get":{"tags":["X Search"],"summary":"Get X Trends","description":"Retrieve trending topics on X for a given location using its WOEID (Where On Earth ID). Worldwide is 1 and the United States is 23424977. Only locations X publishes trends for are accepted. An unsupported WOEID is rejected and is not replaced with the Worldwide list.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"get_trends_twitter_trends_get","parameters":[{"name":"woeid","in":"query","required":true,"schema":{"type":"integer","description":"WOEID of a location X publishes trends for. Worldwide is 1. The United States is 23424977. An unsupported WOEID is rejected.","title":"Woeid"},"description":"WOEID of a location X publishes trends for. Worldwide is 1. The United States is 23424977. An unsupported WOEID is rejected.","example":23424977},{"name":"count","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":30},{"type":"null"}],"description":"The number of trends to return. Minimum is 30, maximum is 100.","default":30,"title":"Count"},"description":"The number of trends to return. Minimum is 30, maximum is 100."}],"responses":{"200":{"description":"A JSON object containing the list of trending topics.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/XTrendsResponse"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"503":{"description":"Trends service unavailable"},"504":{"description":"Trends service timed out"},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/desearch/tiktok/search":{"post":{"tags":["TikTok Search"],"summary":"TikTok Search API","description":"Search public TikTok posts by keyword using the public TikTok integration. Each post `id` is the canonical TikTok video ID and can be passed directly to `/desearch/tiktok/comments/{video_id}`. Opaque upstream IDs are exposed as `providerId` when present. Download/no-watermark media surfaces are intentionally not exposed.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"tiktok_search_desearch_tiktok_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TikTokSearchRequest"}}},"required":true},"responses":{"200":{"description":"A list of normalized TikTok posts.","headers":{"x-desearch-next-cursor":{"description":"Opaque cursor for the next page. Present only when there is a next page; absent on the last page. Send it back unchanged as the `cursor` parameter on the same route with the same target. Valid for 24 hours.","schema":{"type":"string"}},"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}},"content":{"application/json":{"schema":{"anyOf":[{"items":{"$ref":"#/components/schemas/TikTokPost"},"type":"array"},{"type":"object"}],"title":"Response Tiktok Search Desearch Tiktok Search Post"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error, or the `cursor` is not one this route issued for this target, or it has expired. An invalid cursor is rejected before any search runs and is not charged.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HTTPValidationError"},{"$ref":"#/components/schemas/InvalidCursorResponse"}],"title":"Response 422 Tiktok Search Desearch Tiktok Search Post"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"},"400":{"description":"Invalid JSON body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponse"}}}}}}},"/desearch/tiktok/post/{id}":{"get":{"tags":["TikTok Search"],"summary":"Retrieve TikTok Post by ID","description":"Retrieve normalized metadata for a public TikTok post by ID. This endpoint does not expose no-watermark/download-only media URLs.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"tiktok_post_by_id_desearch_tiktok_post__id__get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","description":"TikTok video/post ID","title":"Id"},"description":"TikTok video/post ID","example":"7620891413932166433"}],"responses":{"200":{"description":"A normalized TikTok post object.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TikTokPost"},{"type":"object"}],"title":"Response Tiktok Post By Id Desearch Tiktok Post  Id  Get"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/desearch/tiktok/profile/{username}":{"get":{"tags":["TikTok Search"],"summary":"Retrieve TikTok Profile","description":"Retrieve normalized public TikTok profile metadata by username.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"tiktok_profile_desearch_tiktok_profile__username__get","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","description":"TikTok username without @","title":"Username"},"description":"TikTok username without @","example":"tiktok"}],"responses":{"200":{"description":"A normalized TikTok profile object.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TikTokProfile"},{"type":"object"}],"title":"Response Tiktok Profile Desearch Tiktok Profile  Username  Get"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/desearch/tiktok/profile/{username}/posts":{"get":{"tags":["TikTok Search"],"summary":"Retrieve TikTok Profile Posts","description":"Retrieve normalized public posts for a TikTok username.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"tiktok_profile_posts_desearch_tiktok_profile__username__posts_get","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","description":"TikTok username without @","title":"Username"},"description":"TikTok username without @","example":"tiktok"},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Maximum number of items to return. The provider page may be smaller.","default":20,"title":"Count"},"description":"Maximum number of items to return. The provider page may be smaller."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `x-desearch-next-cursor` response header from the previous page back unchanged, on the same route with the same target (username, tag, post, or search query). A cursor is valid for 24 hours. Any other value, including an expired cursor or one issued by a different route or target, returns 422 and is not charged.","title":"Cursor"},"description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `x-desearch-next-cursor` response header from the previous page back unchanged, on the same route with the same target (username, tag, post, or search query). A cursor is valid for 24 hours. Any other value, including an expired cursor or one issued by a different route or target, returns 422 and is not charged."}],"responses":{"200":{"description":"A list of normalized TikTok posts.","content":{"application/json":{"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/TikTokPost"}},{"type":"object"}],"title":"Response Tiktok Profile Posts Desearch Tiktok Profile  Username  Posts Get"}}},"headers":{"x-desearch-next-cursor":{"description":"Opaque cursor for the next page. Present only when there is a next page; absent on the last page. Send it back unchanged as the `cursor` parameter on the same route with the same target. Valid for 24 hours.","schema":{"type":"string"}},"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error, or the `cursor` is not one this route issued for this target, or it has expired. An invalid cursor is rejected before any search runs and is not charged.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HTTPValidationError"},{"$ref":"#/components/schemas/InvalidCursorResponse"}],"title":"Response 422 Tiktok Profile Posts Desearch Tiktok Profile  Username  Posts Get"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/desearch/tiktok/comments/{video_id}":{"get":{"tags":["TikTok Search"],"summary":"Retrieve TikTok Comments","description":"Retrieve normalized public comments for a TikTok video/post.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"tiktok_comments_desearch_tiktok_comments__video_id__get","parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","description":"TikTok video/post ID","title":"Video Id"},"description":"TikTok video/post ID","example":"7620891413932166433"},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Maximum number of items to return. The provider page may be smaller.","default":20,"title":"Count"},"description":"Maximum number of items to return. The provider page may be smaller."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `x-desearch-next-cursor` response header from the previous page back unchanged, on the same route with the same target (username, tag, post, or search query). A cursor is valid for 24 hours. Any other value, including an expired cursor or one issued by a different route or target, returns 422 and is not charged.","title":"Cursor"},"description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `x-desearch-next-cursor` response header from the previous page back unchanged, on the same route with the same target (username, tag, post, or search query). A cursor is valid for 24 hours. Any other value, including an expired cursor or one issued by a different route or target, returns 422 and is not charged."}],"responses":{"200":{"description":"A list of normalized TikTok comments.","content":{"application/json":{"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/TikTokComment"}},{"type":"object"}],"title":"Response Tiktok Comments Desearch Tiktok Comments  Video Id  Get"}}},"headers":{"x-desearch-next-cursor":{"description":"Opaque cursor for the next page. Present only when there is a next page; absent on the last page. Send it back unchanged as the `cursor` parameter on the same route with the same target. Valid for 24 hours.","schema":{"type":"string"}},"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error, or the `cursor` is not one this route issued for this target, or it has expired. An invalid cursor is rejected before any search runs and is not charged.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HTTPValidationError"},{"$ref":"#/components/schemas/InvalidCursorResponse"}],"title":"Response 422 Tiktok Comments Desearch Tiktok Comments  Video Id  Get"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/desearch/tiktok/hashtag/{tag}":{"get":{"tags":["TikTok Search"],"summary":"Retrieve TikTok Hashtag Posts","description":"Retrieve normalized public TikTok posts for a hashtag.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"tiktok_hashtag_desearch_tiktok_hashtag__tag__get","parameters":[{"name":"tag","in":"path","required":true,"schema":{"type":"string","description":"Hashtag without #","title":"Tag"},"description":"Hashtag without #","example":"bittensor"},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Maximum number of items to return. The provider page may be smaller.","default":20,"title":"Count"},"description":"Maximum number of items to return. The provider page may be smaller."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `x-desearch-next-cursor` response header from the previous page back unchanged, on the same route with the same target (username, tag, post, or search query). A cursor is valid for 24 hours. Any other value, including an expired cursor or one issued by a different route or target, returns 422 and is not charged.","title":"Cursor"},"description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `x-desearch-next-cursor` response header from the previous page back unchanged, on the same route with the same target (username, tag, post, or search query). A cursor is valid for 24 hours. Any other value, including an expired cursor or one issued by a different route or target, returns 422 and is not charged."}],"responses":{"200":{"description":"A list of normalized TikTok posts.","content":{"application/json":{"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/TikTokPost"}},{"type":"object"}],"title":"Response Tiktok Hashtag Desearch Tiktok Hashtag  Tag  Get"}}},"headers":{"x-desearch-next-cursor":{"description":"Opaque cursor for the next page. Present only when there is a next page; absent on the last page. Send it back unchanged as the `cursor` parameter on the same route with the same target. Valid for 24 hours.","schema":{"type":"string"}},"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error, or the `cursor` is not one this route issued for this target, or it has expired. An invalid cursor is rejected before any search runs and is not charged.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HTTPValidationError"},{"$ref":"#/components/schemas/InvalidCursorResponse"}],"title":"Response 422 Tiktok Hashtag Desearch Tiktok Hashtag  Tag  Get"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/desearch/tiktok/trending":{"get":{"tags":["TikTok Search"],"summary":"Retrieve TikTok Trending Posts","description":"Retrieve normalized trending TikTok posts for a region where supported by the public TikTok integration.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"tiktok_trending_desearch_tiktok_trending_get","parameters":[{"name":"region","in":"query","required":false,"schema":{"type":"string","minLength":2,"maxLength":2,"description":"Two-letter region code","default":"US","title":"Region"},"description":"Two-letter region code","example":"US"},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Maximum number of items to return. The provider page may be smaller.","default":20,"title":"Count"},"description":"Maximum number of items to return. The provider page may be smaller."}],"responses":{"200":{"description":"A list of normalized TikTok posts.","content":{"application/json":{"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/TikTokPost"}},{"type":"object"}],"title":"Response Tiktok Trending Desearch Tiktok Trending Get"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/desearch/facebook/search":{"post":{"tags":["Facebook Search"],"summary":"Facebook Search API","description":"Search public Meta Ad Library records by keyword. Organic Facebook post keyword search, private/account-authenticated surfaces, messaging, and publishing are intentionally not exposed.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"facebook_search_desearch_facebook_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FacebookSearchRequest"}}},"required":true},"responses":{"200":{"description":"A list of normalized Facebook posts.","headers":{"x-desearch-next-cursor":{"description":"Opaque cursor for the next page. Present only when there is a next page; absent on the last page. Send it back unchanged as the `cursor` parameter on the same route with the same target. Valid for 24 hours.","schema":{"type":"string"}},"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}},"content":{"application/json":{"schema":{"anyOf":[{"items":{"$ref":"#/components/schemas/FacebookPost"},"type":"array"},{"type":"object"}],"title":"Response Facebook Search Desearch Facebook Search Post"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error, or the `cursor` is not one this route issued for this target, or it has expired. An invalid cursor is rejected before any search runs and is not charged.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HTTPValidationError"},{"$ref":"#/components/schemas/InvalidCursorResponse"}],"title":"Response 422 Facebook Search Desearch Facebook Search Post"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"},"400":{"description":"Invalid JSON body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponse"}}}}}}},"/desearch/facebook/post/{id}":{"get":{"tags":["Facebook Search"],"summary":"Retrieve Facebook Post by ID","description":"Retrieve normalized metadata for a public Facebook post/media item by ID.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"facebook_post_by_id_desearch_facebook_post__id__get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","description":"Facebook public post/media ID","title":"Id"},"description":"Facebook public post/media ID","example":"1525856912919657"}],"responses":{"200":{"description":"A normalized Facebook post object.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/FacebookPost"},{"type":"object"}],"title":"Response Facebook Post By Id Desearch Facebook Post  Id  Get"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/desearch/facebook/profile/{profile_id}":{"get":{"tags":["Facebook Search"],"summary":"Retrieve Facebook Profile or Page","description":"Retrieve normalized public Facebook profile/page metadata by username, vanity handle, or public ID.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"facebook_profile_desearch_facebook_profile__profile_id__get","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","description":"Facebook profile/page ID or public handle","title":"Profile Id"},"description":"Facebook profile/page ID or public handle","example":"facebook"}],"responses":{"200":{"description":"A normalized Facebook profile/page object.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/FacebookProfile"},{"type":"object"}],"title":"Response Facebook Profile Desearch Facebook Profile  Profile Id  Get"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/desearch/facebook/profile/{profile_id}/posts":{"get":{"tags":["Facebook Search"],"summary":"Retrieve Facebook Profile/Page Posts","description":"Retrieve normalized public posts for a Facebook profile/page.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"facebook_profile_posts_desearch_facebook_profile__profile_id__posts_get","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"string","description":"Facebook profile/page ID or public handle","title":"Profile Id"},"description":"Facebook profile/page ID or public handle","example":"facebook"},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Maximum number of items to return. The provider page may be smaller.","default":20,"title":"Count"},"description":"Maximum number of items to return. The provider page may be smaller."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `x-desearch-next-cursor` response header from the previous page back unchanged, on the same route with the same target (username, tag, post, or search query). A cursor is valid for 24 hours. Any other value, including an expired cursor or one issued by a different route or target, returns 422 and is not charged.","title":"Cursor"},"description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `x-desearch-next-cursor` response header from the previous page back unchanged, on the same route with the same target (username, tag, post, or search query). A cursor is valid for 24 hours. Any other value, including an expired cursor or one issued by a different route or target, returns 422 and is not charged."}],"responses":{"200":{"description":"A list of normalized Facebook posts.","content":{"application/json":{"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/FacebookPost"}},{"type":"object"}],"title":"Response Facebook Profile Posts Desearch Facebook Profile  Profile Id  Posts Get"}}},"headers":{"x-desearch-next-cursor":{"description":"Opaque cursor for the next page. Present only when there is a next page; absent on the last page. Send it back unchanged as the `cursor` parameter on the same route with the same target. Valid for 24 hours.","schema":{"type":"string"}},"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error, or the `cursor` is not one this route issued for this target, or it has expired. An invalid cursor is rejected before any search runs and is not charged.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HTTPValidationError"},{"$ref":"#/components/schemas/InvalidCursorResponse"}],"title":"Response 422 Facebook Profile Posts Desearch Facebook Profile  Profile Id  Posts Get"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/desearch/facebook/comments/{post_id}":{"get":{"tags":["Facebook Search"],"summary":"Retrieve Facebook Comments","description":"Retrieve normalized public comments for a Facebook post/media item.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"facebook_comments_desearch_facebook_comments__post_id__get","parameters":[{"name":"post_id","in":"path","required":true,"schema":{"type":"string","description":"Facebook public post/media ID","title":"Post Id"},"description":"Facebook public post/media ID","example":"1525856912919657"},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Maximum items to return. The upstream provider returns at most about 10 comments per page regardless of count; use the x-desearch-next-cursor cursor to fetch more.","default":20,"title":"Count"},"description":"Maximum items to return. The upstream provider returns at most about 10 comments per page regardless of count; use the x-desearch-next-cursor cursor to fetch more."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `x-desearch-next-cursor` response header from the previous page back unchanged, on the same route with the same target (username, tag, post, or search query). A cursor is valid for 24 hours. Any other value, including an expired cursor or one issued by a different route or target, returns 422 and is not charged.","title":"Cursor"},"description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `x-desearch-next-cursor` response header from the previous page back unchanged, on the same route with the same target (username, tag, post, or search query). A cursor is valid for 24 hours. Any other value, including an expired cursor or one issued by a different route or target, returns 422 and is not charged."}],"responses":{"200":{"description":"A list of normalized Facebook comments.","content":{"application/json":{"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/FacebookComment"}},{"type":"object"}],"title":"Response Facebook Comments Desearch Facebook Comments  Post Id  Get"}}},"headers":{"x-desearch-next-cursor":{"description":"Opaque cursor for the next page. Present only when there is a next page; absent on the last page. Send it back unchanged as the `cursor` parameter on the same route with the same target. Valid for 24 hours.","schema":{"type":"string"}},"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error, or the `cursor` is not one this route issued for this target, or it has expired. An invalid cursor is rejected before any search runs and is not charged.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HTTPValidationError"},{"$ref":"#/components/schemas/InvalidCursorResponse"}],"title":"Response 422 Facebook Comments Desearch Facebook Comments  Post Id  Get"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/desearch/facebook/hashtag/{tag}":{"get":{"tags":["Facebook Search"],"summary":"Retrieve Facebook Hashtag Posts","description":"Retrieve normalized public Meta Ad Library records for a keyword/hashtag. Organic Facebook hashtag search and Facebook trending are intentionally omitted until a reliable public surface exists.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"facebook_hashtag_desearch_facebook_hashtag__tag__get","parameters":[{"name":"tag","in":"path","required":true,"schema":{"type":"string","description":"Hashtag without #","title":"Tag"},"description":"Hashtag without #","example":"bittensor"},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Maximum number of items to return. The provider page may be smaller.","default":20,"title":"Count"},"description":"Maximum number of items to return. The provider page may be smaller."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `x-desearch-next-cursor` response header from the previous page back unchanged, on the same route with the same target (username, tag, post, or search query). A cursor is valid for 24 hours. Any other value, including an expired cursor or one issued by a different route or target, returns 422 and is not charged.","title":"Cursor"},"description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `x-desearch-next-cursor` response header from the previous page back unchanged, on the same route with the same target (username, tag, post, or search query). A cursor is valid for 24 hours. Any other value, including an expired cursor or one issued by a different route or target, returns 422 and is not charged."}],"responses":{"200":{"description":"A list of normalized Facebook posts.","content":{"application/json":{"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/FacebookPost"}},{"type":"object"}],"title":"Response Facebook Hashtag Desearch Facebook Hashtag  Tag  Get"}}},"headers":{"x-desearch-next-cursor":{"description":"Opaque cursor for the next page. Present only when there is a next page; absent on the last page. Send it back unchanged as the `cursor` parameter on the same route with the same target. Valid for 24 hours.","schema":{"type":"string"}},"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error, or the `cursor` is not one this route issued for this target, or it has expired. An invalid cursor is rejected before any search runs and is not charged.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HTTPValidationError"},{"$ref":"#/components/schemas/InvalidCursorResponse"}],"title":"Response 422 Facebook Hashtag Desearch Facebook Hashtag  Tag  Get"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/desearch/instagram/search":{"post":{"tags":["Instagram Search"],"summary":"Instagram Search API","description":"Search public Instagram profiles by keyword. Hashtag/media discovery remains available through /desearch/instagram/hashtag/{tag}. Private, login, posting, messaging, and download-only surfaces are intentionally not exposed.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"instagram_search_desearch_instagram_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstagramSearchRequest"}}},"required":true},"responses":{"200":{"description":"A list of normalized Instagram search results.","content":{"application/json":{"schema":{"anyOf":[{"items":{"$ref":"#/components/schemas/InstagramSearchResult"},"type":"array"},{"type":"object"}],"title":"Response Instagram Search Desearch Instagram Search Post"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error, or a `cursor` was sent. Instagram search returns one page and does not paginate, so any non-empty `cursor` is rejected before the search runs and is not charged.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HTTPValidationError"},{"$ref":"#/components/schemas/InvalidCursorResponse"}],"title":"Response 422 Instagram Search Desearch Instagram Search Post"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"},"400":{"description":"Invalid JSON body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponse"}}}}}}},"/desearch/instagram/media/{id}":{"get":{"tags":["Instagram Search"],"summary":"Retrieve Instagram Media by ID","description":"Retrieve normalized metadata for a public Instagram media/post by shortcode, ID, or URL.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"instagram_media_desearch_instagram_media__id__get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","description":"Instagram media shortcode, ID, or public URL","title":"Id"},"description":"Instagram media shortcode, ID, or public URL","example":"DY79rTVS6OK"}],"responses":{"200":{"description":"A normalized Instagram media object.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InstagramMedia"},{"type":"object"}],"title":"Response Instagram Media Desearch Instagram Media  Id  Get"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/desearch/instagram/profile/{username}":{"get":{"tags":["Instagram Search"],"summary":"Retrieve Instagram Profile","description":"Retrieve normalized public Instagram profile metadata by username.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"instagram_profile_desearch_instagram_profile__username__get","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","description":"Instagram username without @","title":"Username"},"description":"Instagram username without @","example":"instagram"}],"responses":{"200":{"description":"A normalized Instagram profile object.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InstagramProfile"},{"type":"object"}],"title":"Response Instagram Profile Desearch Instagram Profile  Username  Get"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/desearch/instagram/profile/{username}/posts":{"get":{"tags":["Instagram Search"],"summary":"Retrieve Instagram Profile Posts","description":"Retrieve normalized public posts for an Instagram username.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"instagram_profile_posts_desearch_instagram_profile__username__posts_get","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","description":"Instagram username without @","title":"Username"},"description":"Instagram username without @","example":"instagram"},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Maximum number of items to return. The provider page may be smaller.","default":20,"title":"Count"},"description":"Maximum number of items to return. The provider page may be smaller."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `x-desearch-next-cursor` response header from the previous page back unchanged, on the same route with the same target (username, tag, post, or search query). A cursor is valid for 24 hours. Any other value, including an expired cursor or one issued by a different route or target, returns 422 and is not charged.","title":"Cursor"},"description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `x-desearch-next-cursor` response header from the previous page back unchanged, on the same route with the same target (username, tag, post, or search query). A cursor is valid for 24 hours. Any other value, including an expired cursor or one issued by a different route or target, returns 422 and is not charged."}],"responses":{"200":{"description":"A list of normalized Instagram media objects.","content":{"application/json":{"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/InstagramMedia"}},{"type":"object"}],"title":"Response Instagram Profile Posts Desearch Instagram Profile  Username  Posts Get"}}},"headers":{"x-desearch-next-cursor":{"description":"Opaque cursor for the next page. Present only when there is a next page; absent on the last page. Send it back unchanged as the `cursor` parameter on the same route with the same target. Valid for 24 hours.","schema":{"type":"string"}},"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error, or the `cursor` is not one this route issued for this target, or it has expired. An invalid cursor is rejected before any search runs and is not charged.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HTTPValidationError"},{"$ref":"#/components/schemas/InvalidCursorResponse"}],"title":"Response 422 Instagram Profile Posts Desearch Instagram Profile  Username  Posts Get"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/desearch/instagram/comments/{shortcode}":{"get":{"tags":["Instagram Search"],"summary":"Retrieve Instagram Comments","description":"Retrieve normalized public comments for an Instagram post, identified by its shortcode.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"instagram_comments_desearch_instagram_comments__shortcode__get","parameters":[{"name":"shortcode","in":"path","required":true,"schema":{"type":"string","description":"Instagram post shortcode: the code in the post URL, such as `DeuOR-CjKE9` in https://www.instagram.com/p/DeuOR-CjKE9/. Numeric media IDs and composite post IDs are not accepted and return 404.","title":"Shortcode"},"description":"Instagram post shortcode: the code in the post URL, such as `DeuOR-CjKE9` in https://www.instagram.com/p/DeuOR-CjKE9/. Numeric media IDs and composite post IDs are not accepted and return 404.","example":"DY79rTVS6OK"},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Maximum number of items to return. The provider page may be smaller.","default":20,"title":"Count"},"description":"Maximum number of items to return. The provider page may be smaller."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `x-desearch-next-cursor` response header from the previous page back unchanged, on the same route with the same target (username, tag, post, or search query). A cursor is valid for 24 hours. Any other value, including an expired cursor or one issued by a different route or target, returns 422 and is not charged.","title":"Cursor"},"description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `x-desearch-next-cursor` response header from the previous page back unchanged, on the same route with the same target (username, tag, post, or search query). A cursor is valid for 24 hours. Any other value, including an expired cursor or one issued by a different route or target, returns 422 and is not charged."}],"responses":{"200":{"description":"A list of normalized Instagram comments.","content":{"application/json":{"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/InstagramComment"}},{"type":"object"}],"title":"Response Instagram Comments Desearch Instagram Comments  Shortcode  Get"}}},"headers":{"x-desearch-next-cursor":{"description":"Opaque cursor for the next page. Present only when there is a next page; absent on the last page. Send it back unchanged as the `cursor` parameter on the same route with the same target. Valid for 24 hours.","schema":{"type":"string"}},"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"404":{"description":"No post found for this shortcode. Numeric media IDs and composite post IDs also return 404.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundResponse"}}}},"422":{"description":"Validation Error, or the `cursor` is not one this route issued for this target, or it has expired. An invalid cursor is rejected before any search runs and is not charged.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HTTPValidationError"},{"$ref":"#/components/schemas/InvalidCursorResponse"}],"title":"Response 422 Instagram Comments Desearch Instagram Comments  Shortcode  Get"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/desearch/instagram/hashtag/{tag}":{"get":{"tags":["Instagram Search"],"summary":"Retrieve Instagram Hashtag Media","description":"Retrieve normalized public Instagram media for a hashtag. Instagram trending is not exposed until a stable unauthenticated public surface is selected.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"instagram_hashtag_desearch_instagram_hashtag__tag__get","parameters":[{"name":"tag","in":"path","required":true,"schema":{"type":"string","description":"Hashtag without #","title":"Tag"},"description":"Hashtag without #","example":"bittensor"},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Maximum number of items to return. The provider page may be smaller.","default":20,"title":"Count"},"description":"Maximum number of items to return. The provider page may be smaller."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `x-desearch-next-cursor` response header from the previous page back unchanged, on the same route with the same target (username, tag, post, or search query). A cursor is valid for 24 hours. Any other value, including an expired cursor or one issued by a different route or target, returns 422 and is not charged.","title":"Cursor"},"description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `x-desearch-next-cursor` response header from the previous page back unchanged, on the same route with the same target (username, tag, post, or search query). A cursor is valid for 24 hours. Any other value, including an expired cursor or one issued by a different route or target, returns 422 and is not charged."}],"responses":{"200":{"description":"A list of normalized Instagram media objects.","content":{"application/json":{"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/InstagramMedia"}},{"type":"object"}],"title":"Response Instagram Hashtag Desearch Instagram Hashtag  Tag  Get"}}},"headers":{"x-desearch-next-cursor":{"description":"Opaque cursor for the next page. Present only when there is a next page; absent on the last page. Send it back unchanged as the `cursor` parameter on the same route with the same target. Valid for 24 hours.","schema":{"type":"string"}},"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error, or the `cursor` is not one this route issued for this target, or it has expired. An invalid cursor is rejected before any search runs and is not charged.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HTTPValidationError"},{"$ref":"#/components/schemas/InvalidCursorResponse"}],"title":"Response 422 Instagram Hashtag Desearch Instagram Hashtag  Tag  Get"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/web":{"get":{"tags":["Web Search"],"summary":"SERP Web Search API","description":"This API allows users to search for any information over the web. This replicates a typical search engine experience, where users can search for any information they need. Each request returns up to 20 results. Paginate with `start`, the number of results to skip: any offset works, so `start=10` returns results beginning at the 11th. A search with no results, including a `start` past the last result, returns 503 and is not charged. So does a search provider failure or timeout. An empty or whitespace-only `query` returns 422 and is not charged. A blocked query returns 200 with no results and is not charged.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"web_search_web_get","parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","pattern":"\\S","description":"The search query string, e.g., 'latest news on AI'. An empty or whitespace-only query returns 422 and is not charged.","title":"Query"},"description":"The search query string, e.g., 'latest news on AI'. An empty or whitespace-only query returns 422 and is not charged.","example":"latest news on AI"},{"name":"start","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":0,"description":"How many results to skip, for pagination. Any offset works, with no rounding: 0 (default) returns results from the 1st, 10 from the 11th, 20 from the 21st, and so on. Each request returns up to 20 results. Must be between 0 and 100. A value outside that range returns 422 and is not charged.","default":0,"title":"Start"},"description":"How many results to skip, for pagination. Any offset works, with no rounding: 0 (default) returns results from the 1st, 10 from the 11th, 20 from the 21st, and so on. Each request returns up to 20 results. Must be between 0 and 100. A value outside that range returns 422 and is not charged.","example":20}],"responses":{"200":{"description":"A JSON object mapping Web Search to its search results. Charged once per request. A blocked query is a 200 with `data: []` and is not charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebSearchResultsResponse"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"Web Search"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error, for example `query` is missing, empty or only whitespace, or `start` is negative or above 100. The search provider is not called and the request is not charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"503":{"description":"The search returned no results, for example `start` is past the last result (`error_code: upstream_empty`), or the search provider failed (`error_code: upstream_failed`) or timed out (`error_code: upstream_timeout`). The request is not charged (`X-Desearch-Cost-Usd: 0`, `X-Desearch-Usage-Count: 0`)."},"301":{"description":"Moved Permanently","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/web/extract":{"get":{"tags":["Web Search"],"summary":"Extract API","description":"Fetch a public URL and return its content as text, markdown or HTML. `format=text` returns `text/plain; charset=utf-8`, `format=markdown` returns `text/markdown; charset=utf-8` and `format=html` returns `text/html; charset=utf-8`. `format=markdown` keeps headings, lists, tables and code: the main content of articles and docs, and the whole page without its navigation otherwise. By default `format=text` returns the page's main content (the article or main block, the way reader views do), which can leave out other sections such as tables, notices and sidebars; set `full_page=true` to get all visible text of the page instead, one block per line, with table cells separated by ` | `. Pages that cannot be served answer with an `error_code` and are not charged.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"desearch_crawl_web_extract_get","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","description":"URL to extract content from","title":"Url"},"description":"URL to extract content from","example":"https://en.wikipedia.org/wiki/Artificial_intelligence"},{"name":"format","in":"query","required":false,"schema":{"enum":["html","text","markdown"],"type":"string","description":"Format of the content to be returned: 'text', 'markdown' or 'html'. Default is 'text'. 'text' is sent as text/plain, 'markdown' as text/markdown and 'html' as text/html.","default":"text","title":"Format"},"description":"Format of the content to be returned: 'text', 'markdown' or 'html'. Default is 'text'. 'text' is sent as text/plain, 'markdown' as text/markdown and 'html' as text/html.","example":"markdown"},{"name":"js","in":"query","required":false,"schema":{"enum":["true","false"],"type":"string","description":"Render the page with a headless browser before extracting content. Use for SPAs or pages whose body is populated by JavaScript. Must be exactly `true` or `false` (case-sensitive); enables a separate billing tier when set to `true`.","default":"false","title":"Js"},"description":"Render the page with a headless browser before extracting content. Use for SPAs or pages whose body is populated by JavaScript. Must be exactly `true` or `false` (case-sensitive); enables a separate billing tier when set to `true`."},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30000,"minimum":0},{"type":"null"}],"description":"Optional extra wait in milliseconds after the page loads. Only applied when ``js=true``.","title":"Wait"},"description":"Optional extra wait in milliseconds after the page loads. Only applied when ``js=true``."},{"name":"full_page","in":"query","required":false,"schema":{"enum":["true","false"],"type":"string","description":"With `format=text`, return all visible text of the page instead of its main content. Must be exactly `true` or `false`. Applies only to `format=text`; `markdown` picks the main content or the whole page itself.","default":"false","title":"Full Page"},"description":"With `format=text`, return all visible text of the page instead of its main content. Must be exactly `true` or `false`. Applies only to `format=text`; `markdown` picks the main content or the whole page itself."}],"responses":{"200":{"description":"Extracted content of the web link","content":{"text/plain":{"schema":{"type":"string"}},"text/html":{"schema":{"type":"string"}},"text/markdown":{"schema":{"type":"string"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"404":{"description":"Not charged. `error_code` is `page_not_found` when the site answered 404 or 410, or `no_content` when the page has no text."},"422":{"description":"Not charged. Either a validation error, or `error_code` `js_required`: the page only shows its content after JavaScript runs (an app shell, or a page that asks to enable JavaScript). Retry with `js=true`.","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"503":{"description":"Not charged. `error_code` is `blocked` when the site refused the request or answered with a bot check (a CAPTCHA or \"verifying your request\" page) instead of the page, `upstream_timeout` when the page took too long, and `upstream_failed` for any other crawler failure."},"301":{"description":"Moved Permanently","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/web/crawl":{"get":{"tags":["Web Search"],"summary":"Extract API (Legacy)","description":"Deprecated compatibility alias for `GET /web/extract`. Existing clients can continue using this route during the migration. `format=text` returns `text/plain; charset=utf-8` and `format=html` returns `text/html; charset=utf-8`.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"desearch_crawl_web_crawl_get","deprecated":true,"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","description":"URL to extract content from","title":"Url"},"description":"URL to extract content from","example":"https://en.wikipedia.org/wiki/Artificial_intelligence"},{"name":"format","in":"query","required":false,"schema":{"enum":["html","text","markdown"],"type":"string","description":"Format of the content to be returned: 'text', 'markdown' or 'html'. Default is 'text'. 'text' is sent as text/plain, 'markdown' as text/markdown and 'html' as text/html.","default":"text","title":"Format"},"description":"Format of the content to be returned: 'text', 'markdown' or 'html'. Default is 'text'. 'text' is sent as text/plain, 'markdown' as text/markdown and 'html' as text/html.","example":"markdown"},{"name":"js","in":"query","required":false,"schema":{"enum":["true","false"],"type":"string","description":"Render the page with a headless browser before extracting content. Use for SPAs or pages whose body is populated by JavaScript. Must be exactly `true` or `false` (case-sensitive); enables a separate billing tier when set to `true`.","default":"false","title":"Js"},"description":"Render the page with a headless browser before extracting content. Use for SPAs or pages whose body is populated by JavaScript. Must be exactly `true` or `false` (case-sensitive); enables a separate billing tier when set to `true`."},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30000,"minimum":0},{"type":"null"}],"description":"Optional extra wait in milliseconds after the page loads. Only applied when ``js=true``.","title":"Wait"},"description":"Optional extra wait in milliseconds after the page loads. Only applied when ``js=true``."},{"name":"full_page","in":"query","required":false,"schema":{"enum":["true","false"],"type":"string","description":"With `format=text`, return all visible text of the page instead of its main content. Must be exactly `true` or `false`. Applies only to `format=text`; `markdown` picks the main content or the whole page itself.","default":"false","title":"Full Page"},"description":"With `format=text`, return all visible text of the page instead of its main content. Must be exactly `true` or `false`. Applies only to `format=text`; `markdown` picks the main content or the whole page itself."}],"responses":{"200":{"description":"Content of the web link","content":{"text/plain":{"schema":{"type":"string"}},"text/html":{"schema":{"type":"string"}},"text/markdown":{"schema":{"type":"string"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"Extract API"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"401":{"description":"Unauthorized","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"404":{"description":"Not charged. `error_code` is `page_not_found` when the site answered 404 or 410, or `no_content` when the page has no text."},"422":{"description":"Not charged. Either a validation error, or `error_code` `js_required`: the page only shows its content after JavaScript runs (an app shell, or a page that asks to enable JavaScript). Retry with `js=true`.","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"description":"Too Many Requests","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponse"}}}},"500":{"description":"Internal Server Error","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"503":{"description":"Not charged. `error_code` is `blocked` when the site refused the request or answered with a bot check (a CAPTCHA or \"verifying your request\" page) instead of the page, `upstream_timeout` when the page took too long, and `upstream_failed` for any other crawler failure."},"301":{"description":"Moved Permanently","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/MovedPermanentlyResponse"}}}},"304":{"description":"Not Modified"}}}},"/desearch/people/search/x":{"post":{"tags":["People Search"],"summary":"X Profile Search","description":"Find X accounts by what they post and how they describe themselves. Describe the people you want in plain language; the search scans recent X posts for people talking about it, groups the matches by author, reads each profile (bio, followers, website, location) and scores how well each account fits. You get **profiles, not posts**: each with a fit score, the reasons it matched and the posts that prove it.\n\n**How it runs.** The search runs in the background. This call returns a `task_id` at once. Poll `GET /desearch/people/tasks/{task_id}` every few seconds, read profiles with `GET /desearch/people/tasks/{task_id}/results` (they arrive while the search is still running), or download everything with `GET /desearch/people/tasks/{task_id}/export?format=csv`. You can pause, resume or cancel a search at any time. Results stay available for 30 days. When it ends, `completion_reason` says why, `coverage_limited` whether a budget stopped it before it found `count` profiles, and `warnings` what made part of it less reliable (e.g. LinkedIn profiles that could not be read).\n\n**Billing.** `count` profiles are reserved at the route price when the task is created (`cost_usd` on this response). When the search ends you pay only for the qualified profiles it delivered (prices, including any minimum, are at https://www.desearch.ai/pricing); the rest of the reservation is returned automatically. A search that delivers no profiles costs nothing.\n\nPrices: https://www.desearch.ai/pricing.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"x_profile_search_desearch_people_search_x_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XProfileSearchRequest"}}}},"responses":{"202":{"description":"The created search task.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeopleTask"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"X Profile Search"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"400":{"description":"Bad request: an unknown platform, sort, status, cursor or `has` channel, a filter the platform does not support, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"200":{"description":"Same Idempotency-Key as an earlier search: that task, not charged again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeopleTask"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"X Profile Search"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"402":{"description":"Not enough credits for the reservation."},"429":{"description":"Too many searches are already queued, running or paused."}},"parameters":[{"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string","maxLength":200},"description":"Optional. Any unique string, for example a UUID. Surrounding whitespace is removed and the value is cut to 200 characters; a longer key is not rejected. The same key again for this company returns the original search with HTTP 200 and refunds this call's reservation, so it is not charged. A new key starts a search and returns HTTP 202.","example":"3f2b7c1e-6a4d-4e8f-9b1a-2c5d8e7f0a91"}]}},"/desearch/people/search/youtube":{"post":{"tags":["People Search"],"summary":"YouTube Creator Search","description":"Find YouTube creators by what their videos are about. Describe the creators you want; the search finds videos and channels on that topic, groups them by creator, reads each channel (About section, subscribers, country, links) and the creator's own website for publicly listed contact details, and scores each creator's fit. You get **creators, not videos**: subscribers, links, a public email when the creator lists one, a fit score and the videos that matched.\n\n**How it runs.** The search runs in the background. This call returns a `task_id` at once. Poll `GET /desearch/people/tasks/{task_id}` every few seconds, read profiles with `GET /desearch/people/tasks/{task_id}/results` (they arrive while the search is still running), or download everything with `GET /desearch/people/tasks/{task_id}/export?format=csv`. You can pause, resume or cancel a search at any time. Results stay available for 30 days. When it ends, `completion_reason` says why, `coverage_limited` whether a budget stopped it before it found `count` profiles, and `warnings` what made part of it less reliable (e.g. LinkedIn profiles that could not be read).\n\n**Billing.** `count` profiles are reserved at the route price when the task is created (`cost_usd` on this response). When the search ends you pay only for the qualified profiles it delivered (prices, including any minimum, are at https://www.desearch.ai/pricing); the rest of the reservation is returned automatically. A search that delivers no profiles costs nothing.\n\nPrices: https://www.desearch.ai/pricing.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"youtube_creator_search_desearch_people_search_youtube_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/YouTubeCreatorSearchRequest"}}}},"responses":{"202":{"description":"The created search task.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeopleTask"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"YouTube Creator Search"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"400":{"description":"Bad request: an unknown platform, sort, status, cursor or `has` channel, a filter the platform does not support, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"200":{"description":"Same Idempotency-Key as an earlier search: that task, not charged again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeopleTask"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"YouTube Creator Search"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"402":{"description":"Not enough credits for the reservation."},"429":{"description":"Too many searches are already queued, running or paused."}},"parameters":[{"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string","maxLength":200},"description":"Optional. Any unique string, for example a UUID. Surrounding whitespace is removed and the value is cut to 200 characters; a longer key is not rejected. The same key again for this company returns the original search with HTTP 200 and refunds this call's reservation, so it is not charged. A new key starts a search and returns HTTP 202.","example":"3f2b7c1e-6a4d-4e8f-9b1a-2c5d8e7f0a91"}]}},"/desearch/people/search/linkedin":{"post":{"tags":["People Search"],"summary":"LinkedIn Profile Search","description":"Find LinkedIn members by what they post and by their role. Describe the people you want in plain language; the search looks for public LinkedIn posts on the topic and for public profiles whose headline matches the role, reads each profile (headline, company, location, followers, about) and scores how well each person fits. You get **profiles, not posts**: each with a fit score, the reasons it matched and the posts that prove it. Public data only.\n\n**How it runs.** The search runs in the background. This call returns a `task_id` at once. Poll `GET /desearch/people/tasks/{task_id}` every few seconds, read profiles with `GET /desearch/people/tasks/{task_id}/results` (they arrive while the search is still running), or download everything with `GET /desearch/people/tasks/{task_id}/export?format=csv`. You can pause, resume or cancel a search at any time. Results stay available for 30 days. When it ends, `completion_reason` says why, `coverage_limited` whether a budget stopped it before it found `count` profiles, and `warnings` what made part of it less reliable (e.g. LinkedIn profiles that could not be read).\n\n**Billing.** `count` profiles are reserved at the route price when the task is created (`cost_usd` on this response). When the search ends you pay only for the qualified profiles it delivered (prices, including any minimum, are at https://www.desearch.ai/pricing); the rest of the reservation is returned automatically. A search that delivers no profiles costs nothing.\n\nPrices: https://www.desearch.ai/pricing.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"linkedin_profile_search_desearch_people_search_linkedin_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkedInProfileSearchRequest"}}}},"responses":{"202":{"description":"The created search task.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeopleTask"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"LinkedIn Profile Search"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"400":{"description":"Bad request: an unknown platform, sort, status, cursor or `has` channel, a filter the platform does not support, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"200":{"description":"Same Idempotency-Key as an earlier search: that task, not charged again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeopleTask"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"LinkedIn Profile Search"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"402":{"description":"Not enough credits for the reservation."},"429":{"description":"Too many searches are already queued, running or paused."}},"parameters":[{"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string","maxLength":200},"description":"Optional. Any unique string, for example a UUID. Surrounding whitespace is removed and the value is cut to 200 characters; a longer key is not rejected. The same key again for this company returns the original search with HTTP 200 and refunds this call's reservation, so it is not charged. A new key starts a search and returns HTTP 202.","example":"3f2b7c1e-6a4d-4e8f-9b1a-2c5d8e7f0a91"}]}},"/desearch/people/search/tiktok":{"post":{"tags":["People Search"],"summary":"TikTok Creator Search","description":"Find TikTok creators by what their videos are about. Describe the creators you want; the search looks for TikTok videos on the topic and for accounts whose name or bio matches, groups them by creator, reads each profile (bio, followers, likes, latest videos, public email in the bio) and scores each creator's fit. You get **creators, not videos**: followers, links, a public email when the bio lists one, a fit score and the videos that matched. Public data only.\n\n**How it runs.** The search runs in the background. This call returns a `task_id` at once. Poll `GET /desearch/people/tasks/{task_id}` every few seconds, read profiles with `GET /desearch/people/tasks/{task_id}/results` (they arrive while the search is still running), or download everything with `GET /desearch/people/tasks/{task_id}/export?format=csv`. You can pause, resume or cancel a search at any time. Results stay available for 30 days. When it ends, `completion_reason` says why, `coverage_limited` whether a budget stopped it before it found `count` profiles, and `warnings` what made part of it less reliable (e.g. LinkedIn profiles that could not be read).\n\n**Billing.** `count` profiles are reserved at the route price when the task is created (`cost_usd` on this response). When the search ends you pay only for the qualified profiles it delivered (prices, including any minimum, are at https://www.desearch.ai/pricing); the rest of the reservation is returned automatically. A search that delivers no profiles costs nothing.\n\nPrices: https://www.desearch.ai/pricing.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"tiktok_creator_search_desearch_people_search_tiktok_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TikTokCreatorSearchRequest"}}}},"responses":{"202":{"description":"The created search task.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeopleTask"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"TikTok Creator Search"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"400":{"description":"Bad request: an unknown platform, sort, status, cursor or `has` channel, a filter the platform does not support, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"200":{"description":"Same Idempotency-Key as an earlier search: that task, not charged again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeopleTask"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"TikTok Creator Search"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"402":{"description":"Not enough credits for the reservation."},"429":{"description":"Too many searches are already queued, running or paused."}},"parameters":[{"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string","maxLength":200},"description":"Optional. Any unique string, for example a UUID. Surrounding whitespace is removed and the value is cut to 200 characters; a longer key is not rejected. The same key again for this company returns the original search with HTTP 200 and refunds this call's reservation, so it is not charged. A new key starts a search and returns HTTP 202.","example":"3f2b7c1e-6a4d-4e8f-9b1a-2c5d8e7f0a91"}]}},"/desearch/people/profiles":{"get":{"tags":["People Search"],"summary":"List the people your searches found","description":"Everyone your searches on one platform found, one entry per person: their best-scoring result and the search behind it (`found_by`). Search by name, handle, bio or location, filter by what people have (`has=email,instagram`), audience, fit score, location or verification, and sort by score, most recent or audience. Searches whose results expired (30 days after they ended) are left out. Free.","operationId":"list_people_profiles_desearch_people_profiles_get","parameters":[{"name":"platform","in":"query","required":true,"schema":{"type":"string","description":"x, youtube, linkedin or tiktok","title":"Platform"},"description":"x, youtube, linkedin or tiktok"},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"description":"Text in the name, handle, bio or location","title":"Q"},"description":"Text in the name, handle, bio or location"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","description":"score, recent or audience","default":"score","title":"Sort"},"description":"score, recent or audience"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"next_cursor from the previous page","title":"Cursor"},"description":"next_cursor from the previous page"},{"name":"has","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated channels every person must have: email, website, x, linkedin, instagram, youtube, tiktok","title":"Has"},"description":"Comma-separated channels every person must have: email, website, x, linkedin, instagram, youtube, tiktok"},{"name":"min_audience","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Minimum followers (subscribers on YouTube)","title":"Min Audience"},"description":"Minimum followers (subscribers on YouTube)"},{"name":"max_audience","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Maximum followers (subscribers on YouTube)","title":"Max Audience"},"description":"Maximum followers (subscribers on YouTube)"},{"name":"min_score","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":0},{"type":"null"}],"description":"Minimum fit score","title":"Min Score"},"description":"Minimum fit score"},{"name":"location","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"description":"Text in the location, e.g. 'united states'","title":"Location"},"description":"Text in the location, e.g. 'united states'"},{"name":"verified","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Only verified accounts (X and TikTok)","title":"Verified"},"description":"Only verified accounts (X and TikTok)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeopleProfilesPage"}}}},"400":{"description":"Bad request: an unknown platform, sort, status, cursor or `has` channel, a filter the platform does not support, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}}}}},"/desearch/people/profiles/export":{"get":{"tags":["People Search"],"summary":"Download the people your searches found","description":"Everyone `GET /desearch/people/profiles` lists for the same platform, search and filters, as CSV or JSON Lines (up to 10,000 people). Free.","operationId":"export_people_profiles_desearch_people_profiles_export_get","parameters":[{"name":"platform","in":"query","required":true,"schema":{"type":"string","description":"x, youtube, linkedin or tiktok","title":"Platform"},"description":"x, youtube, linkedin or tiktok"},{"name":"format","in":"query","required":false,"schema":{"type":"string","pattern":"^(csv|jsonl)$","default":"csv","title":"Format"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"description":"Text in the name, handle, bio or location","title":"Q"},"description":"Text in the name, handle, bio or location"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","description":"score, recent or audience","default":"score","title":"Sort"},"description":"score, recent or audience"},{"name":"has","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated channels every person must have: email, website, x, linkedin, instagram, youtube, tiktok","title":"Has"},"description":"Comma-separated channels every person must have: email, website, x, linkedin, instagram, youtube, tiktok"},{"name":"min_audience","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Minimum followers (subscribers on YouTube)","title":"Min Audience"},"description":"Minimum followers (subscribers on YouTube)"},{"name":"max_audience","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Maximum followers (subscribers on YouTube)","title":"Max Audience"},"description":"Maximum followers (subscribers on YouTube)"},{"name":"min_score","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":0},{"type":"null"}],"description":"Minimum fit score","title":"Min Score"},"description":"Minimum fit score"},{"name":"location","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"description":"Text in the location, e.g. 'united states'","title":"Location"},"description":"Text in the location, e.g. 'united states'"},{"name":"verified","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Only verified accounts (X and TikTok)","title":"Verified"},"description":"Only verified accounts (X and TikTok)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}},"text/csv":{},"application/x-ndjson":{}}},"400":{"description":"Bad request: an unknown platform, sort, status, cursor or `has` channel, a filter the platform does not support, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}}}}},"/desearch/people/tasks":{"get":{"tags":["People Search"],"summary":"List People Search tasks","description":"Your company's People Search tasks, newest first. Free.\n\nFilter by the `metadata` you sent with a search using up to 3 query parameters `metadata.<key>=<value>` (exact match; a task must match all of them), e.g. `?metadata.workspace_id=ws_42&metadata.campaign=q4-outbound`. Keep the same filters when you page with `cursor`.","operationId":"list_people_tasks_desearch_people_tasks_get","parameters":[{"name":"platform","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"x, youtube, linkedin or tiktok","title":"Platform"},"description":"x, youtube, linkedin or tiktok"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated statuses, e.g. running,paused","title":"Status"},"description":"Comma-separated statuses, e.g. running,paused"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"next_cursor from the previous page","title":"Cursor"},"description":"next_cursor from the previous page"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeopleTaskList"}}}},"400":{"description":"Bad request: an unknown platform, sort, status, cursor or `has` channel, a filter the platform does not support, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}}}}},"/desearch/people/tasks/{task_id}":{"get":{"tags":["People Search"],"summary":"Get a People Search task","description":"Status, progress and cost of one task. Poll every few seconds while it runs. Free.\n\nOnce it has ended, `completion_reason` says why (`count_reached`, `rounds_exhausted`, `no_candidates`, `zero_qualified`, `candidate_budget`, `cost_limit`, `time_limit`, `cancelled`, `failed`) and `coverage_limited` is true when a budget (`candidate_budget`, `cost_limit`, `time_limit`) stopped it before `count` was reached — `status` alone stays `completed` in that case, even with no profiles. `warnings` lists partial failures such as profiles that could not be read (`partial_enrichment`, with counts by reason).","operationId":"get_people_task_desearch_people_tasks__task_id__get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The `task_id` returned when the search was created.","examples":["5b33f3ee-168b-4780-9c8e-63a626781872"],"title":"Task Id"},"description":"The `task_id` returned when the search was created."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeopleTask"}}}},"400":{"description":"Bad request: an unknown platform, sort, status, cursor or `has` channel, a filter the platform does not support, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"404":{"description":"Task not found"}}}},"/desearch/people/tasks/{task_id}/results":{"get":{"tags":["People Search"],"summary":"Read People Search results","description":"Qualified profiles found so far, in the order they were found. Results arrive while the search is still running: keep the returned `next_cursor` and call again to get only new profiles. Free.","operationId":"get_people_results_desearch_people_tasks__task_id__results_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The `task_id` returned when the search was created.","examples":["5b33f3ee-168b-4780-9c8e-63a626781872"],"title":"Task Id"},"description":"The `task_id` returned when the search was created."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"next_cursor from the previous page","title":"Cursor"},"description":"next_cursor from the previous page"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeopleResultsPage"}}}},"400":{"description":"Bad request: an unknown platform, sort, status, cursor or `has` channel, a filter the platform does not support, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"404":{"description":"Task not found"},"410":{"description":"Results expired (kept 30 days after the search ends)"}}}},"/desearch/people/tasks/{task_id}/export":{"get":{"tags":["People Search"],"summary":"Download People Search results","description":"Every profile found so far as CSV or JSON Lines, optionally only those matching the same filters as `GET /desearch/people/profiles` (`has`, `min_audience`, `max_audience`, `min_score`, `location`, `verified`). Free.","operationId":"export_people_results_desearch_people_tasks__task_id__export_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The `task_id` returned when the search was created.","examples":["5b33f3ee-168b-4780-9c8e-63a626781872"],"title":"Task Id"},"description":"The `task_id` returned when the search was created."},{"name":"format","in":"query","required":false,"schema":{"type":"string","pattern":"^(csv|jsonl)$","default":"csv","title":"Format"}},{"name":"has","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated channels every person must have: email, website, x, linkedin, instagram, youtube, tiktok","title":"Has"},"description":"Comma-separated channels every person must have: email, website, x, linkedin, instagram, youtube, tiktok"},{"name":"min_audience","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Minimum followers (subscribers on YouTube)","title":"Min Audience"},"description":"Minimum followers (subscribers on YouTube)"},{"name":"max_audience","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Maximum followers (subscribers on YouTube)","title":"Max Audience"},"description":"Maximum followers (subscribers on YouTube)"},{"name":"min_score","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":0},{"type":"null"}],"description":"Minimum fit score","title":"Min Score"},"description":"Minimum fit score"},{"name":"location","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"description":"Text in the location, e.g. 'united states'","title":"Location"},"description":"Text in the location, e.g. 'united states'"},{"name":"verified","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Only verified accounts (X and TikTok)","title":"Verified"},"description":"Only verified accounts (X and TikTok)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}},"text/csv":{},"application/x-ndjson":{}}},"400":{"description":"Bad request: an unknown platform, sort, status, cursor or `has` channel, a filter the platform does not support, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"404":{"description":"Task not found"},"410":{"description":"Results expired"}}}},"/desearch/people/tasks/{task_id}/pause":{"post":{"tags":["People Search"],"summary":"Pause a People Search task","description":"A queued search pauses at once; a running one finishes its current batch first (status `pausing`, then `paused`). Profiles found so far stay available. A search paused for more than 7 days is cancelled. Free.","operationId":"pause_people_task_desearch_people_tasks__task_id__pause_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The `task_id` returned when the search was created.","examples":["5b33f3ee-168b-4780-9c8e-63a626781872"],"title":"Task Id"},"description":"The `task_id` returned when the search was created."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeopleTask"}}}},"400":{"description":"Bad request: an unknown platform, sort, status, cursor or `has` channel, a filter the platform does not support, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"404":{"description":"Task not found"},"409":{"description":"The task is not in a state that allows this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeopleTaskConflict"}}}}}}},"/desearch/people/tasks/{task_id}/resume":{"post":{"tags":["People Search"],"summary":"Resume a People Search task","description":"Continue a paused search from where it stopped. It is not charged again. Free.","operationId":"resume_people_task_desearch_people_tasks__task_id__resume_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The `task_id` returned when the search was created.","examples":["5b33f3ee-168b-4780-9c8e-63a626781872"],"title":"Task Id"},"description":"The `task_id` returned when the search was created."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeopleTask"}}}},"400":{"description":"Bad request: an unknown platform, sort, status, cursor or `has` channel, a filter the platform does not support, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"404":{"description":"Task not found"},"409":{"description":"The task is not in a state that allows this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeopleTaskConflict"}}}}}}},"/desearch/people/tasks/{task_id}/cancel":{"post":{"tags":["People Search"],"summary":"Cancel a People Search task","description":"Stop a search. You pay only for the profiles it delivered (a search cancelled before it starts costs nothing); the rest of the reservation is returned. Profiles found so far stay available for 30 days. Free.","operationId":"cancel_people_task_desearch_people_tasks__task_id__cancel_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The `task_id` returned when the search was created.","examples":["5b33f3ee-168b-4780-9c8e-63a626781872"],"title":"Task Id"},"description":"The `task_id` returned when the search was created."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeopleTask"}}}},"400":{"description":"Bad request: an unknown platform, sort, status, cursor or `has` channel, a filter the platform does not support, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"404":{"description":"Task not found"},"409":{"description":"The task is not in a state that allows this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeopleTaskConflict"}}}}}}},"/desearch/companies/search":{"post":{"tags":["Company Search"],"summary":"Company Search","description":"Find companies from a description and collect each one's public contact data. Describe the companies you want in plain language; the search looks for their websites, reads each homepage and scores how well the company fits, then reads its contact, about, team and imprint pages for emails, phones and social profiles, finds its leaders (`roles`: CEO, founders, CTO and CFO by default) with their LinkedIn profiles, infers their emails from the company's address pattern and checks every email. You get **companies, not pages**: each with a fit score, its contacts and its leaders, and every contact keeps the page it came from (`source_url`).\n\n**How it runs.** The task runs in the background. This call returns a `task_id` at once. Poll `GET /desearch/companies/tasks/{task_id}` every few seconds, read companies with `GET /desearch/companies/tasks/{task_id}/results`, or download everything with `GET /desearch/companies/tasks/{task_id}/export?format=csv`. Each company goes through stages: its homepage, its contact, about, team and imprint pages, its leaders, their inferred emails, then a check of every email. A company is published as soon as the stages your request needs have run (its homepage; with `filters.require`, the stage that can show what you require), with `enrichment.status` `partial`; the later stages fill it in while you read, and it is `complete` once every stage has run. Keep `next_cursor` to get only new companies, and read again without it to get the latest version of the ones you have. You can pause, resume or cancel a task at any time. Results stay available for 30 days. When it ends, `completion_reason` says why and `coverage_limited` whether a budget stopped it before it delivered `count` companies.\n\n**Billing.** `count` companies are reserved at the route price when the task is created (`cost_usd` on this response). When the task ends you pay only for the companies it delivered, with a minimum of 1 when it delivers any (prices at https://www.desearch.ai/pricing); the rest of the reservation is returned automatically. A company left out by `min_score` or `filters.require` is not billed, and a task that delivers no companies costs nothing.\n\nPrices: https://www.desearch.ai/pricing.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"company_search_desearch_companies_search_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanySearchRequest"}}}},"responses":{"202":{"description":"The created task.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyTask"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"Company Search"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"400":{"description":"Bad request: an unknown type, status or cursor, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"200":{"description":"Same Idempotency-Key as an earlier task: that task, not charged again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyTask"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"Company Search"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"402":{"description":"Not enough credits for the reservation."},"429":{"description":"Too many People Search and Company Search tasks are already queued, running or paused."}},"parameters":[{"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string","maxLength":200},"description":"Optional. Any unique string, for example a UUID. Surrounding whitespace is removed and the value is cut to 200 characters; a longer key is not rejected. The same key again for this company returns the original task with HTTP 200 and refunds this call's reservation, so it is not charged. A new key starts a new task and returns HTTP 202.","example":"3f2b7c1e-6a4d-4e8f-9b1a-2c5d8e7f0a91"}]}},"/desearch/companies/enrich":{"post":{"tags":["Company Search"],"summary":"Company Enrich","description":"Collect public contact data for companies you already know. Send up to 200 domains or URLs; each is reduced to its host without `www.`, lowercased and deduplicated, and the task reads every one: the homepage (name, description, socials), the contact, about, team and imprint pages for emails, phones and social profiles, the leaders (`roles`) with their LinkedIn profiles, their inferred emails and a check of every email. You get one company per domain, with the same fields as Company Search but no fit score (`score` is null). The task's `count` is the number of domains left after deduplication.\n\n**How it runs.** The task runs in the background. This call returns a `task_id` at once. Poll `GET /desearch/companies/tasks/{task_id}` every few seconds, read companies with `GET /desearch/companies/tasks/{task_id}/results`, or download everything with `GET /desearch/companies/tasks/{task_id}/export?format=csv`. Each company goes through stages: its homepage, its contact, about, team and imprint pages, its leaders, their inferred emails, then a check of every email. A company is published as soon as its homepage has been read, with `enrichment.status` `partial`; the later stages fill it in while you read, and it is `complete` once every stage has run. Keep `next_cursor` to get only new companies, and read again without it to get the latest version of the ones you have. You can pause, resume or cancel a task at any time. Results stay available for 30 days. When it ends, `completion_reason` says why and `coverage_limited` whether a budget stopped it before it delivered `count` companies.\n\n**Billing.** One company is reserved per domain you send, at the route price (`cost_usd` on this response). When the task ends you pay only for the companies it delivered, with a minimum of 1 (prices at https://www.desearch.ai/pricing); the rest of the reservation, including duplicate domains, is returned automatically. A task that delivers no companies costs nothing.\n\nPrices: https://www.desearch.ai/pricing.\n\nBilling metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://www.desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.","operationId":"company_enrich_desearch_companies_enrich_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyEnrichRequest"}}}},"responses":{"202":{"description":"The created task.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyTask"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"Company Enrich"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"400":{"description":"Bad request: an unknown type, status or cursor, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"200":{"description":"Same Idempotency-Key as an earlier task: that task, not charged again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyTask"}}},"headers":{"X-Desearch-Cost-Usd":{"description":"Billable request cost in US dollars. Current prices are at https://www.desearch.ai/pricing.","schema":{"type":"number","format":"float"}},"X-Desearch-Usage-Count":{"description":"Billable usage units applied to this request.","schema":{"type":"integer","example":10}},"X-Desearch-Service":{"description":"Priced service name used to calculate the request cost, as listed at https://www.desearch.ai/pricing (for example \"Web Search\" or \"X Search\").","schema":{"type":"string","example":"Company Enrich"}},"X-Desearch-Currency":{"description":"Currency for cost metadata. Currently always USD.","schema":{"type":"string","example":"USD"}}}},"402":{"description":"Not enough credits for the reservation."},"429":{"description":"Too many People Search and Company Search tasks are already queued, running or paused."}},"parameters":[{"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string","maxLength":200},"description":"Optional. Any unique string, for example a UUID. Surrounding whitespace is removed and the value is cut to 200 characters; a longer key is not rejected. The same key again for this company returns the original task with HTTP 200 and refunds this call's reservation, so it is not charged. A new key starts a new task and returns HTTP 202.","example":"3f2b7c1e-6a4d-4e8f-9b1a-2c5d8e7f0a91"}]}},"/desearch/companies/tasks":{"get":{"tags":["Company Search"],"summary":"List Company Search tasks","description":"Your company's Company Search and Company Enrich tasks, newest first. Free.\n\nFilter by `type` (`search` or `enrich`), by `status`, and by the `metadata` you sent with a task using up to 3 query parameters `metadata.<key>=<value>` (exact match; a task must match all of them), e.g. `?metadata.workspace_id=ws_42&metadata.campaign=q4`. Keep the same filters when you page with `cursor`. People Search tasks are not listed here.","operationId":"list_company_tasks_desearch_companies_tasks_get","parameters":[{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"search or enrich","title":"Type"},"description":"search or enrich"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated statuses, e.g. running,paused","title":"Status"},"description":"Comma-separated statuses, e.g. running,paused"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"next_cursor from the previous page","title":"Cursor"},"description":"next_cursor from the previous page"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyTaskList"}}}},"400":{"description":"Bad request: an unknown type, status or cursor, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}}}}},"/desearch/companies/tasks/{task_id}":{"get":{"tags":["Company Search"],"summary":"Get a Company Search task","description":"Status, progress and cost of one Company Search or Company Enrich task. Poll every few seconds while it runs. Free.\n\n`stage` is `enriching` once every company is published and only later stages of some of them are left. Once it has ended, `completion_reason` says why (`count_reached`, `all_domains_processed` for Company Enrich, `rounds_exhausted`, `no_candidates`, `zero_qualified`, `candidate_budget`, `cost_limit`, `time_limit`, `cancelled`, `failed`) and `coverage_limited` is true when a budget (`candidate_budget`, `cost_limit`, `time_limit`) stopped it before `count` was reached — `status` alone stays `completed` in that case. `progress` counts the companies found, left out (`filtered`, by reason), published and fully enriched, and the email checks.","operationId":"get_company_task_desearch_companies_tasks__task_id__get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The `task_id` returned when the task was created.","examples":["5b33f3ee-168b-4780-9c8e-63a626781872"],"title":"Task Id"},"description":"The `task_id` returned when the task was created."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyTask"}}}},"400":{"description":"Bad request: an unknown type, status or cursor, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"404":{"description":"Task not found"}}}},"/desearch/companies/tasks/{task_id}/results":{"get":{"tags":["Company Search"],"summary":"Read Company Search results","description":"Companies delivered so far, in the order they were found. They arrive while the task is still running and are filled in place by the later stages (`enrichment.status` `partial`, then `complete`): keep the returned `next_cursor` and call again to get only new companies, or call without `cursor` to read every company in its latest version. Free.","operationId":"get_company_results_desearch_companies_tasks__task_id__results_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The `task_id` returned when the task was created.","examples":["5b33f3ee-168b-4780-9c8e-63a626781872"],"title":"Task Id"},"description":"The `task_id` returned when the task was created."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"next_cursor from the previous page","title":"Cursor"},"description":"next_cursor from the previous page"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyResultsPage"}}}},"400":{"description":"Bad request: an unknown type, status or cursor, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"404":{"description":"Task not found"},"410":{"description":"Results expired (kept 30 days after the task ends)"}}}},"/desearch/companies/tasks/{task_id}/export":{"get":{"tags":["Company Search"],"summary":"Download Company Search results","description":"Every company delivered so far, as CSV or JSON Lines. CSV has one row per company: its domain, name, fit score, location, primary email, emails, phones and social profiles, then the CEO (or managing director), founder, CTO and CFO with their title, email, email status and LinkedIn profile, and `fully_verified`, `unverified_criteria` and `enrichment_status`. JSON Lines has one company per line with every field. Fields the later stages have not filled in yet are empty. Free.","operationId":"export_company_results_desearch_companies_tasks__task_id__export_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The `task_id` returned when the task was created.","examples":["5b33f3ee-168b-4780-9c8e-63a626781872"],"title":"Task Id"},"description":"The `task_id` returned when the task was created."},{"name":"format","in":"query","required":false,"schema":{"type":"string","pattern":"^(csv|jsonl)$","default":"csv","title":"Format"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}},"text/csv":{},"application/x-ndjson":{}}},"400":{"description":"Bad request: an unknown type, status or cursor, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"404":{"description":"Task not found"},"410":{"description":"Results expired"}}}},"/desearch/companies/tasks/{task_id}/pause":{"post":{"tags":["Company Search"],"summary":"Pause a Company Search task","description":"A queued task pauses at once; a running one finishes its current batch first (status `pausing`, then `paused`). Companies delivered so far stay available. A task paused for more than 7 days is cancelled. Free.","operationId":"pause_company_task_desearch_companies_tasks__task_id__pause_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The `task_id` returned when the task was created.","examples":["5b33f3ee-168b-4780-9c8e-63a626781872"],"title":"Task Id"},"description":"The `task_id` returned when the task was created."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyTask"}}}},"400":{"description":"Bad request: an unknown type, status or cursor, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"404":{"description":"Task not found"},"409":{"description":"The task is not in a state that allows this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyTaskConflict"}}}}}}},"/desearch/companies/tasks/{task_id}/resume":{"post":{"tags":["Company Search"],"summary":"Resume a Company Search task","description":"Continue a paused task from where it stopped. It is not charged again. Free.","operationId":"resume_company_task_desearch_companies_tasks__task_id__resume_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The `task_id` returned when the task was created.","examples":["5b33f3ee-168b-4780-9c8e-63a626781872"],"title":"Task Id"},"description":"The `task_id` returned when the task was created."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyTask"}}}},"400":{"description":"Bad request: an unknown type, status or cursor, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"404":{"description":"Task not found"},"409":{"description":"The task is not in a state that allows this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyTaskConflict"}}}}}}},"/desearch/companies/tasks/{task_id}/cancel":{"post":{"tags":["Company Search"],"summary":"Cancel a Company Search task","description":"Stop a task. You pay only for the companies it delivered (a task cancelled before it starts costs nothing); the rest of the reservation is returned. Companies delivered so far stay available for 30 days. Free.","operationId":"cancel_company_task_desearch_companies_tasks__task_id__cancel_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"The `task_id` returned when the task was created.","examples":["5b33f3ee-168b-4780-9c8e-63a626781872"],"title":"Task Id"},"description":"The `task_id` returned when the task was created."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyTask"}}}},"400":{"description":"Bad request: an unknown type, status or cursor, or an invalid `metadata.<key>` filter"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponse"}}}},"404":{"description":"Task not found"},"409":{"description":"The task is not in a state that allows this action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyTaskConflict"}}}}}}},"/network/stats":{"get":{"tags":["Network Stats"],"summary":"Get public network stats","description":"Returns the latest public Desearch network counters and their per-second growth rates. The current source is explicitly identified as an estimate. No API key is required.","operationId":"get_network_stats_network_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkStatsResponse"}}}}},"security":[]}},"/network/stats/history":{"get":{"tags":["Network Stats"],"summary":"Get the latest 20 minutes of network stats","description":"Returns a one-second timeline for the latest 20 minutes so clients can hydrate a recent activity buffer before following the live stream. The current source is explicitly identified as an estimate. No API key is required.","operationId":"get_network_stats_history_network_stats_history_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkStatsHistoryResponse"}}}}},"security":[]}},"/network/stats/stream":{"get":{"tags":["Network Stats"],"summary":"Stream live network stats","description":"Streams one server-issued network stats snapshot per second using Server-Sent Events. Each `stats` event carries the same JSON as `/network/stats`. Reconnect with `Last-Event-ID` to replay snapshots missed within the last 20 minutes. No API key is required.","operationId":"get_network_stats_stream_network_stats_stream_get","responses":{"200":{"description":"Server-Sent Events stream of `stats` events.","content":{"text/event-stream":{"schema":{"type":"string"}}}}},"security":[]}}},"components":{"schemas":{"ChatHistoryItem":{"properties":{"prompt":{"type":"string","title":"Prompt"},"completion":{"type":"string","title":"Completion","default":""}},"type":"object","required":["prompt"],"title":"ChatHistoryItem"},"Company":{"properties":{"id":{"type":"string","title":"Id","examples":["company:acme.com"]},"platform":{"type":"string","const":"company","title":"Platform"},"handle":{"type":"string","title":"Handle","description":"The company's domain."},"domain":{"type":"string","title":"Domain"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo Url"},"location":{"anyOf":[{"$ref":"#/components/schemas/CompanyLocation"},{"type":"null"}]},"industry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industry"},"emails":{"items":{"$ref":"#/components/schemas/CompanyEmail"},"type":"array","title":"Emails","description":"The company's emails. System addresses (noreply@, postmaster@ ...) and junk (placeholders, vendor addresses) are left out."},"phones":{"items":{"$ref":"#/components/schemas/CompanyPhone"},"type":"array","title":"Phones","description":"Fax numbers are left out."},"socials":{"items":{"$ref":"#/components/schemas/CompanySocial"},"type":"array","title":"Socials"},"pages":{"items":{"$ref":"#/components/schemas/CompanyPage"},"type":"array","title":"Pages","description":"The pages that were read."},"people":{"items":{"$ref":"#/components/schemas/CompanyPerson"},"type":"array","title":"People","description":"Leaders with one of the request's `roles`."},"primary_email":{"anyOf":[{"$ref":"#/components/schemas/CompanyEmail"},{"type":"null"}],"description":"The company's best email: never a `support`, `legal`, `careers`, `press` or `other` address; an inferred one only when `valid`."},"primary_contact":{"anyOf":[{"$ref":"#/components/schemas/CompanyPrimaryContact"},{"type":"null"}]},"contact_coverage":{"anyOf":[{"$ref":"#/components/schemas/CompanyContactCoverage"},{"type":"null"}],"description":"What was found: the same names as `filters.require`."},"enrichment":{"anyOf":[{"$ref":"#/components/schemas/CompanyEnrichment"},{"type":"null"}]},"score":{"anyOf":[{"$ref":"#/components/schemas/CompanyScore"},{"type":"null"}],"description":"The fit score. Null for Company Enrich."},"found_by":{"items":{"$ref":"#/components/schemas/CompanyFoundBy"},"type":"array","title":"Found By"}},"additionalProperties":true,"type":"object","required":["id","platform","handle","domain"],"title":"Company","description":"One company. Published once the stages its request needs have run; the later stages fill\nit in (`enrichment.status` is `partial` until then)."},"CompanyContactCoverage":{"properties":{"email":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Phone"},"linkedin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Linkedin"},"leader":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Leader"},"leader_email":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Leader Email"}},"additionalProperties":true,"type":"object","title":"CompanyContactCoverage"},"CompanyEmail":{"properties":{"value":{"type":"string","title":"Value"},"type":{"anyOf":[{"type":"string","enum":["personal","leadership","sales","general","press","support","careers","legal","other"]},{"type":"null"}],"title":"Type","description":"`personal`, `leadership`, `sales`, `general`, `press`, `support`, `careers`, `legal`, or `other` (a role address that is none of these, e.g. `license@`)."},"source":{"anyOf":[{"type":"string","enum":["website","search","linkedin","inferred"]},{"type":"null"}],"title":"Source"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url","description":"The page the email was found on (null when inferred)."},"on_domain":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"On Domain","description":"True when the address is on the company's domain."},"person":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Person","description":"The person the address belongs to, when known."},"confidence":{"anyOf":[{"type":"string","enum":["high","low"]},{"type":"null"}],"title":"Confidence","description":"Inferred emails only: `high` when the pattern was learned from this company's own addresses, `low` for a common pattern."},"pattern":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pattern","description":"Inferred emails only: the pattern used, e.g. `first.last`."},"verification":{"anyOf":[{"$ref":"#/components/schemas/CompanyEmailVerification"},{"type":"null"}],"description":"Null until the email checks have run (or when `verify_emails` is false)."}},"additionalProperties":true,"type":"object","required":["value"],"title":"CompanyEmail"},"CompanyEmailChecks":{"properties":{"syntax":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Syntax"},"mx":{"anyOf":[{"type":"string","enum":["ok","implicit","none","error"]},{"type":"null"}],"title":"Mx"},"smtp":{"anyOf":[{"type":"string","enum":["accepted","rejected","catch_all","unreachable","skipped"]},{"type":"null"}],"title":"Smtp"},"web":{"anyOf":[{"type":"string","enum":["found","not_found","skipped"]},{"type":"null"}],"title":"Web"}},"additionalProperties":true,"type":"object","title":"CompanyEmailChecks"},"CompanyEmailVerification":{"properties":{"status":{"anyOf":[{"type":"string","enum":["valid","invalid","risky","unknown"]},{"type":"null"}],"title":"Status","description":"`valid`; `invalid`; `risky` (catch-all domain, or no MX but an A record); `unknown` (nothing could confirm or refute it)."},"checks":{"anyOf":[{"$ref":"#/components/schemas/CompanyEmailChecks"},{"type":"null"}]},"checked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Checked At"}},"additionalProperties":true,"type":"object","title":"CompanyEmailVerification"},"CompanyEnrichRequest":{"properties":{"domains":{"items":{"type":"string"},"type":"array","maxItems":200,"minItems":1,"title":"Domains","description":"1-200 company domains or URLs, e.g. `acme.com` or `https://www.acme.com/about`. Each is reduced to its host without `www.` and lowercased; duplicates are removed and the task's `count` is the number left."},"roles":{"items":{"type":"string","enum":["ceo","founder","cto","cfo","coo","cmo","president","owner","managing_director"]},"type":"array","minItems":1,"title":"Roles","description":"The leaders to look for: any of `ceo`, `founder`, `cto`, `cfo`, `coo`, `cmo`, `president`, `owner`, `managing_director`. A managing director (Geschäftsführer) counts as `ceo` when `ceo` is asked for.","default":["ceo","founder","cto","cfo"]},"infer_emails":{"type":"boolean","title":"Infer Emails","description":"Guess leaders' emails from the company's address pattern (for example `first.last`), learned from the addresses found on its site. Inferred emails say `source: inferred` and a `confidence`.","default":true},"verify_emails":{"type":"boolean","title":"Verify Emails","description":"Check every email: syntax, mail server (MX) and, for inferred ones, a web search. Each email then has a `verification`. Turn off to finish sooner without it.","default":true},"metadata":{"anyOf":[{"additionalProperties":{"type":"string","maxLength":200},"propertyNames":{"pattern":"^[a-z0-9_.-]{1,40}$"},"type":"object","maxProperties":10},{"type":"null"}],"title":"Metadata","description":"Your own labels for this task, e.g. the workspace or campaign it belongs to. At most 10 keys; keys are 1-40 characters of a-z, 0-9, '_', '.' or '-'; values are strings of at most 200 characters. Returned as `metadata` on the task and usable as a filter on `GET /desearch/companies/tasks` (`metadata.<key>=<value>`). Never used by the task itself.","examples":[{"campaign":"q4","workspace_id":"ws_42"}]}},"additionalProperties":false,"type":"object","required":["domains"],"title":"CompanyEnrichRequest","description":"Collect public contact data for companies you already know, by domain.","example":{"domains":["acme.com","https://www.beta.io/about"],"infer_emails":true,"roles":["ceo","cto"],"verify_emails":true}},"CompanyEnrichment":{"properties":{"status":{"anyOf":[{"type":"string","enum":["partial","complete"]},{"type":"null"}],"title":"Status","description":"`partial` while any stage is `pending`, then `complete`."},"stages":{"anyOf":[{"$ref":"#/components/schemas/CompanyEnrichmentStages"},{"type":"null"}],"description":"Each stage: `pending`, `done`, `failed` or `skipped` (turned off by the request, such as `infer_emails: false`, nothing to do, or cut by the task's time limit, which `errors` then says)."},"errors":{"items":{"$ref":"#/components/schemas/CompanyEnrichmentError"},"type":"array","title":"Errors"}},"additionalProperties":true,"type":"object","title":"CompanyEnrichment"},"CompanyEnrichmentError":{"properties":{"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"additionalProperties":true,"type":"object","title":"CompanyEnrichmentError"},"CompanyEnrichmentStages":{"properties":{"profile":{"anyOf":[{"type":"string","enum":["pending","done","failed","skipped"]},{"type":"null"}],"title":"Profile"},"contacts":{"anyOf":[{"type":"string","enum":["pending","done","failed","skipped"]},{"type":"null"}],"title":"Contacts"},"people":{"anyOf":[{"type":"string","enum":["pending","done","failed","skipped"]},{"type":"null"}],"title":"People"},"email_patterns":{"anyOf":[{"type":"string","enum":["pending","done","failed","skipped"]},{"type":"null"}],"title":"Email Patterns"},"email_check":{"anyOf":[{"type":"string","enum":["pending","done","failed","skipped"]},{"type":"null"}],"title":"Email Check"}},"additionalProperties":true,"type":"object","title":"CompanyEnrichmentStages"},"CompanyFoundBy":{"properties":{"query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query","description":"The search that found the company."},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind","description":"How it was found, e.g. `direct` (a hit on the company's own site)."}},"additionalProperties":true,"type":"object","title":"CompanyFoundBy"},"CompanyLocation":{"properties":{"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"}},"additionalProperties":true,"type":"object","title":"CompanyLocation"},"CompanyPage":{"properties":{"type":{"type":"string","enum":["home","contact","about","team","imprint","legal","other"],"title":"Type"},"url":{"type":"string","title":"Url"}},"additionalProperties":true,"type":"object","required":["type","url"],"title":"CompanyPage"},"CompanyPerson":{"properties":{"name":{"type":"string","title":"Name"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"roles":{"items":{"type":"string","enum":["ceo","founder","cto","cfo","coo","cmo","president","owner","managing_director"]},"type":"array","title":"Roles","description":"Which of the request's `roles` this person holds."},"linkedin_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linkedin Url"},"x_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X Url"},"github_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github Url"},"emails":{"items":{"$ref":"#/components/schemas/CompanyEmail"},"type":"array","title":"Emails"},"phones":{"items":{"$ref":"#/components/schemas/CompanyPhone"},"type":"array","title":"Phones"},"evidence":{"anyOf":[{"$ref":"#/components/schemas/CompanyPersonEvidence"},{"type":"null"}],"description":"What shows the role, and where."},"verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Verified","description":"True when a quote on the company's own site or the person's current LinkedIn position shows the role."}},"additionalProperties":true,"type":"object","required":["name"],"title":"CompanyPerson","description":"A leader of the company."},"CompanyPersonEvidence":{"properties":{"quote":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quote"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"source":{"anyOf":[{"type":"string","enum":["website","linkedin","search"]},{"type":"null"}],"title":"Source"}},"additionalProperties":true,"type":"object","title":"CompanyPersonEvidence"},"CompanyPhone":{"properties":{"value":{"type":"string","title":"Value","description":"E.164 when the number parses, otherwise the digits as written."},"type":{"anyOf":[{"type":"string","enum":["main","sales","support","mobile","other"]},{"type":"null"}],"title":"Type"},"source":{"anyOf":[{"type":"string","enum":["website","search","linkedin","inferred"]},{"type":"null"}],"title":"Source"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"raw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Raw","description":"The number as written on the page."}},"additionalProperties":true,"type":"object","required":["value"],"title":"CompanyPhone"},"CompanyPrimaryContact":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"linkedin_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linkedin Url"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason","description":"Why this person was picked."}},"additionalProperties":true,"type":"object","title":"CompanyPrimaryContact"},"CompanyResultsPage":{"properties":{"task_id":{"type":"string","format":"uuid","title":"Task Id"},"status":{"type":"string","enum":["queued","running","pausing","paused","cancelling","completed","partial","failed","cancelled","expired"],"title":"Status"},"results":{"items":{"$ref":"#/components/schemas/Company"},"type":"array","title":"Results"},"next_cursor":{"type":"string","title":"Next Cursor","description":"Pass as `cursor` on the next call to get only companies delivered after this page. Companies already delivered are filled in place by later stages: read again without `cursor` to get their latest version."},"has_more":{"type":"boolean","title":"Has More","description":"True when more results are already available after this page."}},"type":"object","required":["task_id","status","results","next_cursor","has_more"],"title":"CompanyResultsPage"},"CompanyScore":{"properties":{"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"qualified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Qualified"},"relevance":{"anyOf":[{"type":"string","enum":["high","medium","low"]},{"type":"null"}],"title":"Relevance"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary","description":"One line on why this company matched."},"matched_signals":{"items":{"type":"string"},"type":"array","title":"Matched Signals"},"reasons":{"items":{"type":"string"},"type":"array","title":"Reasons"},"concerns":{"items":{"type":"string"},"type":"array","title":"Concerns"},"criteria_checks":{"items":{"$ref":"#/components/schemas/PeopleCriterionCheck"},"type":"array","title":"Criteria Checks","description":"One check per criterion: what the company's own pages confirm. Information only."},"fully_verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Fully Verified","description":"True when every criterion is `met` and no disqualifier (`is_disqualifier`) is."}},"additionalProperties":true,"type":"object","title":"CompanyScore"},"CompanySearchFilters":{"properties":{"countries":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":20},{"type":"null"}],"title":"Countries","description":"Where the companies should be: ISO 3166-1 alpha-2 codes (`DE`) or country names. Scoring treats them as a location criterion. Up to 20."},"require":{"anyOf":[{"items":{"type":"string","enum":["email","phone","linkedin","leader","leader_email"]},"type":"array"},{"type":"null"}],"title":"Require","description":"Only deliver companies that have all of these: `email`, `phone`, `linkedin` (the company's LinkedIn page), `leader` (one of `roles`), `leader_email` (a leader with an email). A company is published once the stage that can show them has run (`email`, `phone`, `linkedin`: the contact pages; `leader`: the leaders; `leader_email`: the email checks). One that does not have them then is not delivered and not billed."}},"additionalProperties":false,"type":"object","title":"CompanySearchFilters"},"CompanySearchRequest":{"properties":{"query":{"type":"string","maxLength":1000,"minLength":3,"title":"Query","description":"The companies you are looking for, in plain language: what they do, where, how far along."},"count":{"type":"integer","maximum":200.0,"minimum":5.0,"title":"Count","description":"How many companies to deliver. The task reserves this many at the route price and bills only the companies it delivers (a minimum applies when it delivers any; a task that delivers none is free).","default":25},"min_score":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Min Score","description":"Only deliver companies with at least this fit score (0-100)."},"exclude":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":1000},{"type":"null"}],"title":"Exclude","description":"Companies to leave out, as domains or URLs, for example ones you already contacted. Each is reduced to its host without `www.`. Up to 1,000.","examples":[["stripe.com","https://www.adyen.com/"]]},"roles":{"items":{"type":"string","enum":["ceo","founder","cto","cfo","coo","cmo","president","owner","managing_director"]},"type":"array","minItems":1,"title":"Roles","description":"The leaders to look for: any of `ceo`, `founder`, `cto`, `cfo`, `coo`, `cmo`, `president`, `owner`, `managing_director`. A managing director (Geschäftsführer) counts as `ceo` when `ceo` is asked for.","default":["ceo","founder","cto","cfo"]},"infer_emails":{"type":"boolean","title":"Infer Emails","description":"Guess leaders' emails from the company's address pattern (for example `first.last`), learned from the addresses found on its site. Inferred emails say `source: inferred` and a `confidence`.","default":true},"verify_emails":{"type":"boolean","title":"Verify Emails","description":"Check every email: syntax, mail server (MX) and, for inferred ones, a web search. Each email then has a `verification`. Turn off to finish sooner without it.","default":true},"filters":{"anyOf":[{"$ref":"#/components/schemas/CompanySearchFilters"},{"type":"null"}]},"metadata":{"anyOf":[{"additionalProperties":{"type":"string","maxLength":200},"propertyNames":{"pattern":"^[a-z0-9_.-]{1,40}$"},"type":"object","maxProperties":10},{"type":"null"}],"title":"Metadata","description":"Your own labels for this task, e.g. the workspace or campaign it belongs to. At most 10 keys; keys are 1-40 characters of a-z, 0-9, '_', '.' or '-'; values are strings of at most 200 characters. Returned as `metadata` on the task and usable as a filter on `GET /desearch/companies/tasks` (`metadata.<key>=<value>`). Never used by the task itself.","examples":[{"campaign":"q4","workspace_id":"ws_42"}]}},"additionalProperties":false,"type":"object","required":["query"],"title":"CompanySearchRequest","description":"Find companies from a description and collect their public contact data.","example":{"count":25,"exclude":["stripe.com"],"filters":{"countries":["DE"],"require":["email"]},"metadata":{"campaign":"q4"},"min_score":60,"query":"Series A fintech startups in Berlin building payment infrastructure","roles":["ceo","founder","cto","cfo"]}},"CompanySocial":{"properties":{"type":{"type":"string","enum":["linkedin","x","facebook","instagram","github","youtube","tiktok","crunchbase","discord","telegram","medium"],"title":"Type"},"url":{"type":"string","title":"Url"},"handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Handle"},"source":{"anyOf":[{"type":"string","enum":["website","search","linkedin","inferred"]},{"type":"null"}],"title":"Source"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"}},"additionalProperties":true,"type":"object","required":["type","url"],"title":"CompanySocial"},"CompanyTask":{"properties":{"task_id":{"type":"string","format":"uuid","title":"Task Id","description":"Id of this task, returned as soon as it is created. Pass it to `GET /desearch/companies/tasks/{task_id}`, the results and export routes, and pause, resume, or cancel.","examples":["5b33f3ee-168b-4780-9c8e-63a626781872"]},"search_type":{"type":"string","enum":["company_search","company_enrich"],"title":"Search Type"},"platform":{"type":"string","enum":["company","company_enrich"],"title":"Platform","description":"The task's service: `company` (Company Search) or `company_enrich` (Company Enrich)."},"status":{"type":"string","enum":["queued","running","pausing","paused","cancelling","completed","partial","failed","cancelled","expired"],"title":"Status"},"stage":{"anyOf":[{"type":"string","enum":["planning","searching","processing","enriching","finalizing"]},{"type":"null"}],"title":"Stage","description":"What the task is doing now. `enriching`: every company is published and only the later stages of some of them (leaders, inferred emails, email checks) are left."},"query":{"type":"string","title":"Query","description":"Company Search: the description. Company Enrich: a short label of the domains, e.g. `acme.com, beta.io and 3 more`."},"count":{"type":"integer","title":"Count","description":"Companies asked for (Company Enrich: the domains left after deduplication)."},"result_count":{"type":"integer","title":"Result Count","description":"Companies delivered so far."},"request":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Request","description":"The normalized request. Company Search: `query`, `count`, `min_score`, `exclude`, `roles`, `infer_emails`, `verify_emails`, `filters`. Company Enrich: `domains`, `roles`, `infer_emails`, `verify_emails`."},"metadata":{"additionalProperties":{"type":"string"},"type":"object","title":"Metadata","description":"The `metadata` sent when the task was created (`{}` when none)."},"interpreted":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Interpreted","description":"Company Search: how the description was understood (criteria and the queries it ran)."},"progress":{"type":"object","title":"Progress","description":"Counters while the task runs: `candidates_found`, `candidates_processed`, `qualified`, `filtered` (companies left out, by reason: `unreachable`, `not_a_company`, `below_min_score`, `no_<requirement>`), `enrichment` (`published`, `complete`, `pending`, `failed`), `email_checks` (`checked`, `valid`, `invalid`, `risky`, `unknown`) and `stop_reason`, the worker's internal reason for stopping. Prefer `completion_reason` and `coverage_limited`."},"errors":{"items":{},"type":"array","title":"Errors"},"completion_reason":{"anyOf":[{"type":"string","enum":["count_reached","all_domains_processed","rounds_exhausted","no_candidates","zero_qualified","candidate_budget","cost_limit","time_limit","cancelled","failed"]},{"type":"null"}],"title":"Completion Reason","description":"Why the task ended; `null` while it is queued, running or paused. `count_reached`: it delivered `count` companies. `all_domains_processed` (Company Enrich): it read every domain. `rounds_exhausted`: it ran every search it planned and delivered fewer than `count`. `no_candidates`: its searches found no company to check. `zero_qualified`: it checked the companies its searches found and none fit. `candidate_budget`: it checked as many candidates as a task of this `count` may. `cost_limit`: what searching cost reached what its results would bill, so it stopped. `time_limit`: it ran for its maximum time. `cancelled`: it was cancelled. `failed`: an error ended it. Added alongside `status`, which keeps its values: a task that stopped on a budget with fewer than `count` companies is still `completed` — see `coverage_limited`."},"coverage_limited":{"type":"boolean","title":"Coverage Limited","description":"True when the task stopped on a budget (`completion_reason` `cost_limit`, `candidate_budget` or `time_limit`) before reaching `count`: there may be more matching companies than it returned.","default":false},"warnings":{"items":{"$ref":"#/components/schemas/CompanyTaskWarning"},"type":"array","title":"Warnings","description":"What made part of the task less reliable without failing it. `[]` when nothing did."},"reserved_cost_usd":{"type":"number","title":"Reserved Cost Usd","description":"Amount reserved when the task was created."},"final_cost_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Final Cost Usd","description":"Final cost once the task has ended. The rest of the reservation is returned."},"refunded_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Refunded Usd"},"created_by":{"anyOf":[{"$ref":"#/components/schemas/CompanyTaskCreatedBy"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","title":"Created At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"paused_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paused At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"results_expire_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Results Expire At"},"links":{"anyOf":[{"$ref":"#/components/schemas/CompanyTaskLinks"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["task_id","search_type","platform","status","query","count","result_count","reserved_cost_usd","created_at"],"title":"CompanyTask","description":"A Company Search or Company Enrich task. Poll it until `status` is completed, partial, failed or cancelled."},"CompanyTaskConflict":{"properties":{"detail":{"type":"string","title":"Detail"},"task":{"$ref":"#/components/schemas/CompanyTask"}},"type":"object","required":["detail","task"],"title":"CompanyTaskConflict","description":"409 from pause / resume / cancel: the action does not apply to the task's current state."},"CompanyTaskCreatedBy":{"properties":{"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"api_key_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Api Key Id"},"via":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Via"}},"type":"object","title":"CompanyTaskCreatedBy"},"CompanyTaskLinks":{"properties":{"self":{"type":"string","title":"Self"},"results":{"type":"string","title":"Results"},"export":{"type":"string","title":"Export"}},"type":"object","required":["self","results","export"],"title":"CompanyTaskLinks"},"CompanyTaskList":{"properties":{"tasks":{"items":{"$ref":"#/components/schemas/CompanyTask"},"type":"array","title":"Tasks"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["tasks"],"title":"CompanyTaskList"},"CompanyTaskWarning":{"properties":{"code":{"type":"string","title":"Code","description":"What happened: `planning_fallback`, `ai_scoring_unavailable`, `enrichment_time_limit` or `linkedin_verification_unavailable`.","examples":["enrichment_time_limit"]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"additionalProperties":true,"type":"object","required":["code"],"title":"CompanyTaskWarning","description":"Something that made part of a task less reliable without failing it."},"DateFilterEnum":{"type":"string","enum":["PAST_24_HOURS","PAST_2_DAYS","PAST_WEEK","PAST_2_WEEKS","PAST_MONTH","PAST_2_MONTHS","PAST_YEAR","PAST_2_YEARS"],"title":"DateFilterEnum"},"FacebookComment":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","example":"comment-123"},"postId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postid","example":"1525856912919657"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text","example":"Comment text"},"createTime":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createtime","example":"2026-05-01T10:30:00Z"},"author":{"anyOf":[{"$ref":"#/components/schemas/FacebookProfile"},{"type":"null"}]},"likes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Likes","example":42},"replies":{"items":{"type":"object"},"type":"array","title":"Replies"}},"type":"object","title":"FacebookComment"},"FacebookMedia":{"properties":{"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","example":"photo"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","example":"https://example.com/photo.jpg"},"thumbnail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail","example":"https://example.com/thumb.jpg"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width","example":1200},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height","example":630}},"type":"object","title":"FacebookMedia"},"FacebookPost":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","example":"1525856912919657"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","example":"https://www.facebook.com/facebook/posts/1525856912919657"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text","example":"Post text"},"createTime":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createtime","example":"2026-05-01T10:00:00Z"},"author":{"anyOf":[{"$ref":"#/components/schemas/FacebookProfile"},{"type":"null"}]},"stats":{"anyOf":[{"$ref":"#/components/schemas/FacebookPostStats"},{"type":"null"}]},"media":{"items":{"$ref":"#/components/schemas/FacebookMedia"},"type":"array","title":"Media"},"hashtags":{"items":{"type":"string"},"type":"array","title":"Hashtags"},"linkUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linkurl","description":"Ad landing URL from snapshot.link_url. url stays the Ad Library or post URL."},"cta":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cta","description":"Ad call to action: the button text (snapshot.cta_text), or the CTA type such as SHOP_NOW when no text is sent."},"headline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Headline","description":"Ad headline, from snapshot.title."},"linkDescription":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linkdescription","description":"Ad link description, from snapshot.link_description."},"endDate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Enddate","description":"Ad end date: the provider's date string, or ISO 8601 UTC when the provider sends a unix time. Omitted when the provider does not send one."},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active","description":"Whether the ad is active (is_active). Omitted when the provider does not say."},"platforms":{"items":{"type":"string"},"type":"array","title":"Platforms","description":"Publisher platforms, such as FACEBOOK or INSTAGRAM. Empty when the payload has none."}},"type":"object","title":"FacebookPost"},"FacebookPostStats":{"properties":{"reactionCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reactioncount","example":1200},"commentCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Commentcount","example":80},"shareCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sharecount","example":24},"viewCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Viewcount","example":10000}},"type":"object","title":"FacebookPostStats"},"FacebookProfile":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","example":"123456789"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username","example":"facebook"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","example":"Desearch AI"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","example":"https://www.facebook.com/facebook"},"avatar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar","example":"https://example.com/avatar.jpg"},"verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Verified","example":true},"bio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bio","example":"Public search API"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category","example":"Software"},"followers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Followers","example":50000},"likes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Likes","example":12000}},"type":"object","title":"FacebookProfile"},"FacebookSearchRequest":{"properties":{"query":{"type":"string","title":"Query","description":"Meta Ad Library keyword, phrase, or hashtag to search","example":"running"},"count":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Count","description":"Maximum number of results to return. The provider page may be smaller.","default":10},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor","description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `x-desearch-next-cursor` response header from the previous page back unchanged, on the same route with the same target (username, tag, post, or search query). A cursor is valid for 24 hours. Any other value, including an expired cursor or one issued by a different route or target, returns 422 and is not charged."}},"type":"object","required":["query"],"title":"FacebookSearchRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InstagramComment":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","example":"1789123456789"},"mediaId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mediaid","example":"DY79rTVS6OK"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text","example":"comment text"},"createTime":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createtime","example":"2024-01-15T11:00:00Z"},"author":{"anyOf":[{"$ref":"#/components/schemas/InstagramProfile"},{"type":"null"}]},"likes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Likes","example":42},"replies":{"items":{"type":"object"},"type":"array","title":"Replies"}},"type":"object","title":"InstagramComment"},"InstagramMedia":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","example":"3234567890123456789"},"shortcode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shortcode","example":"DY79rTVS6OK"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","example":"https://www.instagram.com/p/DY79rTVS6OK/"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Caption","example":"caption text"},"createTime":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createtime","example":"2024-01-15T10:30:00Z"},"mediaType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mediatype","example":"image"},"mediaUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mediaurl","example":"https://example.com/media.jpg"},"thumbnailUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnailurl","example":"https://example.com/thumb.jpg"},"author":{"anyOf":[{"$ref":"#/components/schemas/InstagramProfile"},{"type":"null"}]},"stats":{"anyOf":[{"$ref":"#/components/schemas/InstagramStats"},{"type":"null"}]},"hashtags":{"items":{"type":"string"},"type":"array","title":"Hashtags"},"mentions":{"items":{"type":"string"},"type":"array","title":"Mentions"},"children":{"items":{"type":"object"},"type":"array","title":"Children"}},"type":"object","title":"InstagramMedia"},"InstagramProfile":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","example":"12345"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username","example":"instagram"},"fullName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fullname","example":"Desearch"},"biography":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Biography","example":"Search AI"},"avatar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar","example":"https://example.com/avatar.jpg"},"verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Verified","example":true},"private":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Private","example":false},"followers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Followers","description":"Exact follower count when the provider includes one. Omitted when it does not.","example":50000},"following":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Following","example":1200},"postsCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Postscount","description":"Exact account post total when this profile payload proves one. Omitted when the provider only returned the current post page.","example":250},"externalUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Externalurl","example":"https://www.desearch.ai"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category","example":"Software"}},"type":"object","title":"InstagramProfile"},"InstagramSearchRequest":{"properties":{"query":{"type":"string","title":"Query","description":"Keyword, username, or phrase to search on Instagram","example":"desearch"},"count":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Count","description":"Maximum number of results to return. The provider page may be smaller.","default":10},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor","description":"Not supported. Instagram search returns one page and does not paginate. Any non-empty value returns 422 and is not charged."}},"type":"object","required":["query"],"title":"InstagramSearchRequest"},"InstagramSearchResult":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","example":"12345"},"type":{"type":"string","enum":["profile","hashtag","media"],"title":"Type","example":"profile"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username","example":"instagram"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","example":"Desearch"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","example":"https://www.instagram.com/instagram/"},"avatar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar","example":"https://example.com/avatar.jpg"},"followers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Followers","description":"Exact follower count when profile enrichment includes one. Omitted when it is null.","example":50000},"mediaCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mediacount","description":"Not returned. Search enrichment does not provide an exact account post total."}},"type":"object","required":["type"],"title":"InstagramSearchResult"},"InstagramStats":{"properties":{"likeCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Likecount","example":5000},"commentCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Commentcount","example":120},"viewCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Viewcount","example":120000},"playCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Playcount","example":120000}},"type":"object","title":"InstagramStats"},"InternalServerErrorResponse":{"properties":{"detail":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"object","title":"Detail","example":{"description":"An unexpected error occurred on the server.","error_code":500,"message":"Internal Server Error"}}},"type":"object","required":["detail"],"title":"InternalServerErrorResponse"},"InvalidCursorResponse":{"properties":{"detail":{"type":"string","title":"Detail","example":"Invalid request parameters"}},"type":"object","required":["detail"],"title":"InvalidCursorResponse"},"LinkedInProfileSearchFilters":{"properties":{"min_followers":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Min Followers","description":"Minimum LinkedIn follower count."},"max_followers":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Max Followers","description":"Maximum LinkedIn follower count."},"countries":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Countries","description":"Countries to prefer, e.g. ['US', 'United Kingdom']."},"keywords":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Keywords","description":"Words that should appear in posts, headlines or about sections."},"exclude_keywords":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Exclude Keywords","description":"Leave out profiles that mention these words."}},"additionalProperties":false,"type":"object","title":"LinkedInProfileSearchFilters"},"LinkedInProfileSearchRequest":{"properties":{"query":{"type":"string","maxLength":1000,"minLength":3,"title":"Query","description":"Who you are looking for, in plain language."},"count":{"type":"integer","maximum":200.0,"minimum":5.0,"title":"Count","description":"How many qualified profiles to find. The search reserves this many at the route price and bills only the profiles it delivers (a minimum applies when it finds any; a search that finds none is free).","default":25},"min_score":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Min Score","description":"Only return profiles with at least this fit score (0-100)."},"exclude":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":1000},{"type":"null"}],"title":"Exclude","description":"Handles to leave out, for example people you already contacted. Up to 1,000 handles."},"metadata":{"anyOf":[{"additionalProperties":{"type":"string","maxLength":200},"propertyNames":{"pattern":"^[a-z0-9_.-]{1,40}$"},"type":"object","maxProperties":10},{"type":"null"}],"title":"Metadata","description":"Your own labels for this search, e.g. the workspace or campaign it belongs to. At most 10 keys; keys are 1-40 characters of a-z, 0-9, '_', '.' or '-'; values are strings of at most 200 characters. Returned as `metadata` on the task and usable as a filter on `GET /desearch/people/tasks` (`metadata.<key>=<value>`). Never used by the search itself.","examples":[{"campaign":"q4-outbound","workspace_id":"ws_42"}]},"filters":{"anyOf":[{"$ref":"#/components/schemas/LinkedInProfileSearchFilters"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["query"],"title":"LinkedInProfileSearchRequest","description":"Find LinkedIn members by what they post and by their role.","example":{"count":25,"filters":{"countries":["United States","United Kingdom"]},"query":"Heads of sales at fintech startups who post about outbound"}},"LinksSearchRequestTwitter":{"properties":{"prompt":{"type":"string","title":"Prompt","description":"Search query prompt","example":"What are the recent sport events?"},"count":{"anyOf":[{"type":"integer","maximum":200.0,"minimum":10.0},{"type":"null"}],"title":"Count","description":"The number of results to return per source. Min 10. Max 200.","default":10}},"type":"object","required":["prompt"],"title":"LinksSearchRequestTwitter"},"LinksSearchRequestWeb":{"properties":{"prompt":{"type":"string","title":"Prompt","description":"Search query prompt","example":"What are the recent sport events?"},"tools":{"items":{"anyOf":[{"$ref":"#/components/schemas/WebToolEnum"},{"type":"string"}]},"type":"array","title":"Tools","description":"Tools to search with. Only `web` (Web Search) is supported. The retired tools `youtube`, `reddit`, `hackernews`, `wikipedia` and `arxiv` (and their `... Search` names) are still accepted so older clients keep working, but this route drops all of them: it has no `include_domains`, so they are not pinned to their domain, and their `*_search_results` keys are never returned. A list left with no supported tool, such as `[\"youtube\"]`, is a 422. To scope results to one site, put `site:youtube.com` (or another domain) in the prompt, or use `POST /desearch/ai/search` with `include_domains`.","example":["web"]},"start_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date","description":"The start date for the search query. Format: YYYY-MM-DDTHH:MM:SSZ (UTC)","examples":["2025-05-01T00:00:00Z"]},"end_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date","description":"The end date for the search query. Format: YYYY-MM-DDTHH:MM:SSZ (UTC)","examples":["2025-05-03T00:00:00Z"]},"date_filter":{"anyOf":[{"$ref":"#/components/schemas/DateFilterEnum"},{"type":"null"}],"description":"Deprecated relative window. When set (and no start_date/end_date), it is translated to start_date/end_date. Prefer start_date/end_date.","example":"PAST_WEEK"},"count":{"anyOf":[{"type":"integer","maximum":200.0,"minimum":10.0},{"type":"null"}],"title":"Count","description":"The number of results to return per source. Min 10. Max 200.","default":10},"highlights":{"type":"boolean","title":"Highlights","description":"Include highlights (token-efficient key excerpts from each page) on Web Search results.","default":true},"page_text":{"type":"boolean","title":"Page Text","description":"Include the full page text on each Web Search result. Responses get significantly larger.","default":false}},"type":"object","required":["prompt","tools"],"title":"LinksSearchRequestWeb"},"MediaSize":{"properties":{"w":{"type":"integer","title":"W","example":1200},"h":{"type":"integer","title":"H","example":675},"resize":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resize","example":"fit"}},"type":"object","required":["w","h"],"title":"MediaSize"},"MovedPermanentlyResponse":{"properties":{"detail":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"object","title":"Detail","example":{"error_code":301,"location":"https://new-url.com","message":"Moved Permanently"}}},"type":"object","required":["detail"],"title":"MovedPermanentlyResponse"},"NetworkStatsHistoryPoint":{"properties":{"total_searchable_pages":{"type":"integer","title":"Total Searchable Pages"},"searches_completed_today":{"type":"integer","title":"Searches Completed Today"},"urls_crawled_today":{"type":"integer","title":"Urls Crawled Today"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"telemetry_kind":{"type":"string","const":"estimated","title":"Telemetry Kind","default":"estimated"},"methodology":{"type":"string","const":"fixed_rate_projection","title":"Methodology","default":"fixed_rate_projection"}},"type":"object","required":["total_searchable_pages","searches_completed_today","urls_crawled_today","observed_at"],"title":"NetworkStatsHistoryPoint"},"NetworkStatsHistoryResponse":{"properties":{"window_seconds":{"type":"integer","title":"Window Seconds"},"interval_seconds":{"type":"integer","title":"Interval Seconds"},"window_started_at":{"type":"string","format":"date-time","title":"Window Started At"},"window_ended_at":{"type":"string","format":"date-time","title":"Window Ended At"},"points":{"items":{"$ref":"#/components/schemas/NetworkStatsHistoryPoint"},"type":"array","title":"Points"}},"type":"object","required":["window_seconds","interval_seconds","window_started_at","window_ended_at","points"],"title":"NetworkStatsHistoryResponse"},"NetworkStatsRates":{"properties":{"total_searchable_pages":{"type":"integer","title":"Total Searchable Pages"},"searches_completed_today":{"type":"integer","title":"Searches Completed Today"},"urls_crawled_today":{"type":"integer","title":"Urls Crawled Today"}},"type":"object","required":["total_searchable_pages","searches_completed_today","urls_crawled_today"],"title":"NetworkStatsRates"},"NetworkStatsResponse":{"properties":{"total_searchable_pages":{"type":"integer","title":"Total Searchable Pages"},"searches_completed_today":{"type":"integer","title":"Searches Completed Today"},"urls_crawled_today":{"type":"integer","title":"Urls Crawled Today"},"rates_per_second":{"$ref":"#/components/schemas/NetworkStatsRates"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"telemetry_kind":{"type":"string","const":"estimated","title":"Telemetry Kind","default":"estimated"},"methodology":{"type":"string","const":"fixed_rate_projection","title":"Methodology","default":"fixed_rate_projection"}},"type":"object","required":["total_searchable_pages","searches_completed_today","urls_crawled_today","rates_per_second","started_at","updated_at"],"title":"NetworkStatsResponse"},"NotFoundResponse":{"properties":{"detail":{"type":"string","title":"Detail","example":"Resource not found"}},"type":"object","required":["detail"],"title":"NotFoundResponse"},"NuminousForecastRequest":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"cutoff":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cutoff"},"topics":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Topics"},"query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"},"agent_version_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Version Id"}},"type":"object","title":"NuminousForecastRequest"},"NuminousForecastResult":{"properties":{"prediction":{"type":"number","title":"Prediction","description":"Probability estimate in [0.0, 1.0]. E.g. 0.72 means 72% probability of YES.","example":0.72},"forecaster_name":{"type":"string","title":"Forecaster Name","description":"Identifier of the forecaster that produced the result.","example":"pool_based_miner_forecaster"},"forecasted_at":{"type":"string","title":"Forecasted At","description":"ISO 8601 datetime when the forecast was generated.","example":"2026-02-17T18:00:45Z"},"metadata":{"anyOf":[{"$ref":"#/components/schemas/NuminousForecasterMetadata"},{"type":"null"}],"description":"Forecaster metadata including miner info and optional reasoning."},"parsed_fields":{"anyOf":[{"$ref":"#/components/schemas/NuminousParsedFields"},{"type":"null"}],"description":"Fields extracted from the natural language query. Present only in query mode."}},"type":"object","required":["prediction","forecaster_name","forecasted_at"],"title":"NuminousForecastResult"},"NuminousForecasterMetadata":{"properties":{"miner_uid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Miner Uid","description":"Miner UID on the Bittensor subnet."},"miner_hotkey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Miner Hotkey","description":"Miner hotkey (SS58 address)."},"pool":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pool","description":"Scoring pool used (e.g. GLOBAL_BRIER)."},"version_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version Id","description":"Agent version UUID."},"agent_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Name","description":"Agent name."},"version_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version Number","description":"Agent version number."},"raw_prediction":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Raw Prediction","description":"Raw probability from the miner."},"event_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Title","description":"Event title used for the forecast."},"event_cutoff":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Cutoff","description":"ISO 8601 cutoff datetime for the event."},"reasoning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reasoning","description":"Optional reasoning from the forecaster."}},"type":"object","title":"NuminousForecasterMetadata"},"NuminousJobCreatedResponse":{"properties":{"prediction_id":{"type":"string","format":"uuid","title":"Prediction Id","description":"Unique identifier for the prediction job. Use this to poll for results.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"status":{"$ref":"#/components/schemas/NuminousJobStatus","description":"Initial job status. Always PENDING on creation.","example":"PENDING"}},"type":"object","required":["prediction_id","status"],"title":"NuminousJobCreatedResponse"},"NuminousJobStatus":{"type":"string","enum":["PENDING","RUNNING","COMPLETED","FAILED"],"title":"NuminousJobStatus"},"NuminousJobStatusResponse":{"properties":{"prediction_id":{"type":"string","format":"uuid","title":"Prediction Id","description":"Job identifier.","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"status":{"$ref":"#/components/schemas/NuminousJobStatus","description":"Current job status: PENDING, RUNNING, COMPLETED, or FAILED.","example":"COMPLETED"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At","description":"ISO 8601 datetime when the job was created.","example":"2026-02-17T18:00:00Z"},"result":{"anyOf":[{"$ref":"#/components/schemas/NuminousForecastResult"},{"type":"null"}],"description":"Forecast result. Present when status is COMPLETED."},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"Error description. Present when status is FAILED."}},"type":"object","required":["prediction_id","status"],"title":"NuminousJobStatusResponse"},"NuminousParsedFields":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Extracted event title."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Extracted resolution criteria."},"cutoff":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cutoff","description":"Extracted ISO 8601 cutoff datetime."},"topics":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Topics","description":"Extracted topic categories."}},"type":"object","title":"NuminousParsedFields"},"PeopleCriterionCheck":{"properties":{"criterion":{"type":"string","title":"Criterion","description":"One of the search's criteria, word for word."},"verdict":{"type":"string","enum":["met","not_met","unknown"],"title":"Verdict","description":"`met`: a quote from the person's profile or source shows it (quotes are checked word for word; one that is not there becomes `unknown`). `not_met`: the evidence contradicts it. `unknown`: nothing found shows it either way. For a disqualifier (`is_disqualifier`), `met` means it applies. A location is `met` only by the current location, headline or current role, not by a school or a past job."},"quote":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quote","description":"The verbatim text behind a `met` verdict."},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url","description":"Where the quote is: the post, video or profile URL."},"reason":{"type":"string","title":"Reason","description":"A short explanation of the verdict.","default":""},"is_disqualifier":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Disqualifier","description":"True when this criterion is a disqualifier, so `met` means it applies. The worker sets it with the same rule it uses for `fully_verified`. Absent on checks scored before the field existed."}},"additionalProperties":true,"type":"object","required":["criterion","verdict"],"title":"PeopleCriterionCheck"},"PeopleEvidence":{"properties":{"type":{"type":"string","title":"Type"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Published At"},"metrics":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metrics"}},"additionalProperties":true,"type":"object","required":["type"],"title":"PeopleEvidence"},"PeopleProfile":{"properties":{"id":{"type":"string","title":"Id"},"platform":{"type":"string","enum":["x","youtube","linkedin","tiktok"],"title":"Platform"},"handle":{"type":"string","title":"Handle"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"bio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bio"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"metrics":{"type":"object","title":"Metrics"},"links":{"items":{"type":"object"},"type":"array","title":"Links"},"contacts":{"items":{"type":"object"},"type":"array","title":"Contacts"},"evidence":{"items":{"$ref":"#/components/schemas/PeopleEvidence"},"type":"array","title":"Evidence"},"score":{"anyOf":[{"$ref":"#/components/schemas/PeopleScore"},{"type":"null"}]},"attributes":{"type":"object","title":"Attributes","description":"Platform-specific fields, e.g. `verified` (X, TikTok), `headline` and `company` (LinkedIn), `region` (TikTok). LinkedIn, TikTok and YouTube results also say `enrichment`: `ok` when the profile was read after search, `failed` when it could not be — then `enrichment_error` says why (`not_found`, `rate_limited`, `timeout`, `upstream_error`, `request_error`) and fields such as location, followers, experience or channel links come from the search hit only or are missing."},"found_by":{"$ref":"#/components/schemas/PersonFoundBy"}},"additionalProperties":true,"type":"object","required":["id","platform","handle","found_by"],"title":"PeopleProfile","description":"A person from your searches, with the search that found them (its best-scoring result)."},"PeopleProfilesPage":{"properties":{"profiles":{"items":{"$ref":"#/components/schemas/PeopleProfile"},"type":"array","title":"Profiles"},"total":{"type":"integer","title":"Total","description":"People matching the filter across all your searches."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Pass as `cursor` for the next page; null on the last page."}},"type":"object","required":["profiles","total"],"title":"PeopleProfilesPage"},"PeopleResultsPage":{"properties":{"task_id":{"type":"string","format":"uuid","title":"Task Id"},"status":{"type":"string","enum":["queued","running","pausing","paused","cancelling","completed","partial","failed","cancelled","expired"],"title":"Status"},"results":{"items":{"$ref":"#/components/schemas/Person"},"type":"array","title":"Results"},"next_cursor":{"type":"string","title":"Next Cursor","description":"Pass as `cursor` on the next call. When `has_more` is false you have every result found so far; keep the cursor and call again later to get only new results."},"has_more":{"type":"boolean","title":"Has More","description":"True when more results are already available after this page."}},"type":"object","required":["task_id","status","results","next_cursor","has_more"],"title":"PeopleResultsPage"},"PeopleScore":{"properties":{"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"qualified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Qualified"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary","description":"One line on why this person matched."},"matched_signals":{"items":{"type":"string"},"type":"array","title":"Matched Signals"},"profile_fit":{"items":{"type":"string"},"type":"array","title":"Profile Fit","description":"Why who they are fits the request."},"buying_triggers":{"items":{"type":"string"},"type":"array","title":"Buying Triggers","description":"What they post or do that matches the request."},"evidence":{"items":{"type":"string"},"type":"array","title":"Evidence","description":"The posts, videos or profile text behind the match."},"reasons":{"items":{"type":"string"},"type":"array","title":"Reasons","description":"profile_fit, buying_triggers and evidence combined."},"concerns":{"items":{"type":"string"},"type":"array","title":"Concerns"},"criteria_checks":{"items":{"$ref":"#/components/schemas/PeopleCriterionCheck"},"type":"array","title":"Criteria Checks","description":"One check per criterion: what the person's own profile and posts confirm. Information only: a qualified result can still have criteria that are `unknown`. Empty on results scored before 2026-10-20."},"fully_verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Fully Verified","description":"True when every criterion is `met` and no disqualifier (`is_disqualifier`) is. Absent on results scored before 2026-10-20."}},"additionalProperties":true,"type":"object","title":"PeopleScore"},"PeopleTask":{"properties":{"task_id":{"type":"string","format":"uuid","title":"Task Id","description":"Id of this search, returned as soon as it is created. Pass it to `GET /desearch/people/tasks/{task_id}`, the results and export routes, and pause, resume, or cancel.","examples":["5b33f3ee-168b-4780-9c8e-63a626781872"]},"search_type":{"type":"string","enum":["x_profile_search","youtube_creator_search","linkedin_profile_search","tiktok_creator_search"],"title":"Search Type"},"platform":{"type":"string","enum":["x","youtube","linkedin","tiktok"],"title":"Platform"},"status":{"type":"string","enum":["queued","running","pausing","paused","cancelling","completed","partial","failed","cancelled","expired"],"title":"Status"},"stage":{"anyOf":[{"type":"string","enum":["planning","searching","processing","finalizing"]},{"type":"null"}],"title":"Stage"},"query":{"type":"string","title":"Query"},"count":{"type":"integer","title":"Count"},"result_count":{"type":"integer","title":"Result Count"},"metadata":{"additionalProperties":{"type":"string"},"type":"object","title":"Metadata","description":"The `metadata` sent when the search was created (`{}` when none)."},"interpreted":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Interpreted","description":"How the search was understood: criteria and the queries it ran."},"progress":{"type":"object","title":"Progress","description":"Counters while the search runs (candidates found and processed, filters, enrichment per platform) and `stop_reason`, the worker's internal reason for stopping. Prefer `completion_reason` and `coverage_limited`."},"errors":{"items":{},"type":"array","title":"Errors"},"completion_reason":{"anyOf":[{"type":"string","enum":["count_reached","rounds_exhausted","no_candidates","zero_qualified","candidate_budget","cost_limit","time_limit","cancelled","failed"]},{"type":"null"}],"title":"Completion Reason","description":"Why the search ended; `null` while it is queued, running or paused. `count_reached`: it found `count` profiles. `rounds_exhausted`: it ran every search it planned and found fewer than `count`. `no_candidates`: its searches found nobody to check. `zero_qualified`: it checked the people its searches found and none fit. `candidate_budget`: it checked as many candidates as a search of this `count` may (min(1000, max(150, count x 8))). `cost_limit`: what searching cost reached what its results would bill, so it stopped. `time_limit`: it ran for its maximum time. `cancelled`: it was cancelled. `failed`: an error ended it (every search failed, or an internal error). Added alongside `status`, which keeps its values: a search that stopped on a budget with fewer than `count` profiles, or with none, is still `completed` — see `coverage_limited`."},"coverage_limited":{"type":"boolean","title":"Coverage Limited","description":"True when the search stopped on a budget (`completion_reason` `cost_limit`, `candidate_budget` or `time_limit`) before reaching `count`: there may be more matching people than it returned.","default":false},"warnings":{"items":{"$ref":"#/components/schemas/PeopleTaskWarning"},"type":"array","title":"Warnings","description":"What made part of the search less reliable without failing it, e.g. LinkedIn profiles that could not be read (`partial_enrichment`). `[]` when nothing did.","examples":[[{"attempted":59,"by_reason":{"not_found":2,"timeout":1},"code":"partial_enrichment","enriched":56,"failed":3,"message":"3 of 59 LinkedIn profiles could not be read after search; ...","platform":"linkedin"}]]},"reserved_cost_usd":{"type":"number","title":"Reserved Cost Usd","description":"Amount reserved when the task was created."},"final_cost_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Final Cost Usd","description":"Final cost once the task has ended. The rest of the reservation is returned."},"refunded_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Refunded Usd"},"created_by":{"anyOf":[{"$ref":"#/components/schemas/PeopleTaskCreatedBy"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","title":"Created At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"paused_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paused At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"results_expire_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Results Expire At"},"links":{"anyOf":[{"$ref":"#/components/schemas/PeopleTaskLinks"},{"type":"null"}]}},"additionalProperties":true,"type":"object","required":["task_id","search_type","platform","status","query","count","result_count","reserved_cost_usd","created_at"],"title":"PeopleTask","description":"A People Search task. Poll it until `status` is completed, partial, failed or cancelled."},"PeopleTaskConflict":{"properties":{"detail":{"type":"string","title":"Detail"},"task":{"$ref":"#/components/schemas/PeopleTask"}},"type":"object","required":["detail","task"],"title":"PeopleTaskConflict","description":"409 from pause / resume / cancel: the action does not apply to the task's current state."},"PeopleTaskCreatedBy":{"properties":{"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"api_key_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Api Key Id"},"via":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Via"}},"type":"object","title":"PeopleTaskCreatedBy"},"PeopleTaskLinks":{"properties":{"self":{"type":"string","title":"Self"},"results":{"type":"string","title":"Results"},"export":{"type":"string","title":"Export"}},"type":"object","required":["self","results","export"],"title":"PeopleTaskLinks"},"PeopleTaskList":{"properties":{"tasks":{"items":{"$ref":"#/components/schemas/PeopleTask"},"type":"array","title":"Tasks"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["tasks"],"title":"PeopleTaskList"},"PeopleTaskWarning":{"properties":{"code":{"type":"string","title":"Code","description":"`partial_enrichment`: some candidates' profiles could not be read after search, so they were scored on what the search returned (results among them have `attributes.enrichment` = `failed`).","examples":["partial_enrichment"]},"platform":{"anyOf":[{"type":"string","enum":["x","youtube","linkedin","tiktok"]},{"type":"null"}],"title":"Platform"},"attempted":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Attempted","description":"Profile lookups tried (YouTube: channels)."},"enriched":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Enriched","description":"Lookups that read the profile."},"failed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Failed","description":"Lookups that could not read the profile."},"by_reason":{"additionalProperties":{"type":"integer"},"type":"object","title":"By Reason","description":"LinkedIn and TikTok: failed lookups by reason — `not_found` (private, removed, or not shown to logged-out visitors), `rate_limited`, `timeout`, `upstream_error`, `request_error`. YouTube: failed lookups by source (`about_page_failed`, `innertube_failed`); a channel still counts as enriched when another source answered, but may miss its About description, links or emails."},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"additionalProperties":true,"type":"object","required":["code"],"title":"PeopleTaskWarning","description":"Something that made part of a search less reliable without failing it."},"Person":{"properties":{"id":{"type":"string","title":"Id"},"platform":{"type":"string","enum":["x","youtube","linkedin","tiktok"],"title":"Platform"},"handle":{"type":"string","title":"Handle"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"bio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bio"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"metrics":{"type":"object","title":"Metrics"},"links":{"items":{"type":"object"},"type":"array","title":"Links"},"contacts":{"items":{"type":"object"},"type":"array","title":"Contacts"},"evidence":{"items":{"$ref":"#/components/schemas/PeopleEvidence"},"type":"array","title":"Evidence"},"score":{"anyOf":[{"$ref":"#/components/schemas/PeopleScore"},{"type":"null"}]},"attributes":{"type":"object","title":"Attributes","description":"Platform-specific fields, e.g. `verified` (X, TikTok), `headline` and `company` (LinkedIn), `region` (TikTok). LinkedIn, TikTok and YouTube results also say `enrichment`: `ok` when the profile was read after search, `failed` when it could not be — then `enrichment_error` says why (`not_found`, `rate_limited`, `timeout`, `upstream_error`, `request_error`) and fields such as location, followers, experience or channel links come from the search hit only or are missing."}},"additionalProperties":true,"type":"object","required":["id","platform","handle"],"title":"Person","description":"One qualified profile (X, LinkedIn) or creator (YouTube, TikTok)."},"PersonFoundBy":{"properties":{"task_id":{"type":"string","format":"uuid","title":"Task Id"},"query":{"type":"string","title":"Query"},"found_at":{"type":"string","format":"date-time","title":"Found At"},"times_found":{"type":"integer","title":"Times Found","description":"How many of your searches found this person."}},"type":"object","required":["task_id","query","found_at","times_found"],"title":"PersonFoundBy"},"Rect":{"properties":{"x":{"type":"integer","title":"X","example":100},"y":{"type":"integer","title":"Y","example":100},"w":{"type":"integer","title":"W","example":200},"h":{"type":"integer","title":"H","example":200}},"type":"object","required":["x","y","w","h"],"title":"Rect"},"ResponseData":{"properties":{"hacker_news_search":{"anyOf":[{"items":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"object"},"type":"array"},{"type":"null"}],"title":"Hacker News Search","description":"Deprecated and always absent: the Hacker News tool is retired and this key is never returned. Use `search`; scope it with `site:news.ycombinator.com` in the prompt or `include_domains: [\"news.ycombinator.com\"]`.","deprecated":true},"reddit_search":{"anyOf":[{"items":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"object"},"type":"array"},{"type":"null"}],"title":"Reddit Search","description":"Deprecated and always absent: the Reddit tool is retired and this key is never returned. Use `search`; scope it with `site:reddit.com` in the prompt or `include_domains: [\"reddit.com\"]`.","deprecated":true},"search":{"anyOf":[{"items":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"object"},"type":"array"},{"type":"null"}],"title":"Search","description":"General search results related to the query.","example":[{"link":"https://www.thebigwhale.io/tokens/bittensor","snippet":"Bittensor (TAO) is a decentralized, open-source, and permissionless machine learning network that transforms machine intelligence into a tradable commodity.","title":"What is Bittensor?"}]},"youtube_search":{"anyOf":[{"items":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"object"},"type":"array"},{"type":"null"}],"title":"Youtube Search","description":"Deprecated and always absent: the YouTube tool is retired and this key is never returned. Use `search`; scope it with `site:youtube.com` in the prompt or `include_domains: [\"youtube.com\"]`.","deprecated":true},"tweets":{"anyOf":[{"items":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"object"},"type":"array"},{"type":"null"}],"title":"Tweets","description":"Tweets related to the search query.","example":[{"bookmark_count":2,"conversation_id":"1932946234920349827","created_at":"2025-06-11T23:41:09.000Z","display_text_range":[0,269],"entities":{"hashtags":[],"media":[{"display_url":"pic.x.com/L1icjTabYS","expanded_url":"https://x.com/HOSS_ibc/status/1932946234920349827/photo/1","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[{"h":77,"w":77,"x":1877,"y":521},{"h":93,"w":93,"x":971,"y":571}]},"medium":{"faces":[{"h":45,"w":45,"x":1100,"y":305},{"h":55,"w":55,"x":569,"y":335}]},"orig":{"faces":[{"h":137,"w":137,"x":3301,"y":917},{"h":165,"w":165,"x":1708,"y":1005}]},"small":{"faces":[{"h":25,"w":25,"x":623,"y":173},{"h":31,"w":31,"x":322,"y":189}]}},"id_str":"1932944082281574400","indices":[270,293],"media_key":"3_1932944082281574400","media_url_https":"https://pbs.twimg.com/media/GtMyZtMWMAAPfq9.jpg","original_info":{"focus_rects":[{"h":1800,"w":3214,"x":0,"y":0},{"h":1800,"w":1800,"x":0,"y":0},{"h":1800,"w":1579,"x":0,"y":0},{"h":1800,"w":900,"x":0,"y":0},{"h":1800,"w":3600,"x":0,"y":0}],"height":1800,"width":3600},"sizes":{"large":{"h":1024,"resize":"fit","w":2048},"medium":{"h":600,"resize":"fit","w":1200},"small":{"h":340,"resize":"fit","w":680},"thumb":{"h":150,"resize":"crop","w":150}},"type":"photo","url":"https://t.co/L1icjTabYS"}],"symbols":[{"indices":[10,14],"text":"TAO"}],"timestamps":[],"urls":[],"user_mentions":[]},"extended_entities":{"media":[{"display_url":"pic.x.com/L1icjTabYS","expanded_url":"https://x.com/HOSS_ibc/status/1932946234920349827/photo/1","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[{"h":77,"w":77,"x":1877,"y":521},{"h":93,"w":93,"x":971,"y":571}]},"medium":{"faces":[{"h":45,"w":45,"x":1100,"y":305},{"h":55,"w":55,"x":569,"y":335}]},"orig":{"faces":[{"h":137,"w":137,"x":3301,"y":917},{"h":165,"w":165,"x":1708,"y":1005}]},"small":{"faces":[{"h":25,"w":25,"x":623,"y":173},{"h":31,"w":31,"x":322,"y":189}]}},"id_str":"1932944082281574400","indices":[270,293],"media_key":"3_1932944082281574400","media_url_https":"https://pbs.twimg.com/media/GtMyZtMWMAAPfq9.jpg","original_info":{"focus_rects":[{"h":1800,"w":3214,"x":0,"y":0},{"h":1800,"w":1800,"x":0,"y":0},{"h":1800,"w":1579,"x":0,"y":0},{"h":1800,"w":900,"x":0,"y":0},{"h":1800,"w":3600,"x":0,"y":0}],"height":1800,"width":3600},"sizes":{"large":{"h":1024,"resize":"fit","w":2048},"medium":{"h":600,"resize":"fit","w":1200},"small":{"h":340,"resize":"fit","w":680},"thumb":{"h":150,"resize":"crop","w":150}},"type":"photo","url":"https://t.co/L1icjTabYS"}]},"id":"1932946234920349827","is_quote_tweet":false,"is_retweet":false,"lang":"en","like_count":31,"media":[{"media_url":"https://pbs.twimg.com/media/GtMyZtMWMAAPfq9.jpg","type":"photo"}],"quote_count":3,"reply_count":16,"retweet_count":3,"text":"Bittensor $TAO seems oversold here.\n\nGrowth up but price is down\n\nFactors  \n\nTechnical: Trading above 200-day MA.  \n\nFundamental: Halving, subnet growth, institutional interest (e.g., Grayscale’s Bittensor Trust).  \n\nSentiment: Strong staking (72%) and developer activity.","url":"https://x.com/HOSS_ibc/status/1932946234920349827","user":{"can_dm":true,"can_media_tag":false,"created_at":"Sun Jul 18 05:20:07 +0000 2021","description":"Entrepreneur, Angel Investor & Product Advisor | 4+ years full-time in Crypto | 16+ years building businesses | Passionate about DeFi, Art  & impactful content","entities":{"description":{"urls":[]},"url":{"urls":[{"display_url":"metimmerse.io/hoss","expanded_url":"https://metimmerse.io/hoss","indices":[0,23],"url":"https://t.co/kAQCAPyc7F"}]}},"favourites_count":163851,"followers_count":63156,"id":"1416628772565143561","is_blue_verified":true,"listed_count":460,"location":"Tweets aren't financial advice","media_count":8421,"name":"Hoss","pinned_tweet_ids":["1932920070222889063"],"profile_banner_url":"https://pbs.twimg.com/profile_banners/1416628772565143561/1749700252","profile_image_url":"https://pbs.twimg.com/profile_images/1915178001026723840/s0MX6RPL_normal.jpg","statuses_count":77157,"url":"https://x.com/HOSS_ibc","username":"HOSS_ibc","verified":false}}]},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text","description":"Additional text related to the search query.","example":"This is some additional text related to the search query."},"completion":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completion","description":"Generated completion text or response, typically used in AI-generated content results.","example":"Bittensor is a decentralized, open-source machine learning network that transforms AI models into tradable commodities."},"warnings":{"anyOf":[{"items":{"$ref":"#/components/schemas/ResponseWarning"},"type":"array"},{"type":"null"}],"title":"Warnings","description":"Non-fatal issues for a web+twitter request when a requested tool produced no results or did not respond. Omitted for single-tool requests and when every requested tool returned results."}},"type":"object","title":"ResponseData","example":{"completion":"\n\n**Overview of Bittensor**\n\nBittensor is a decentralized, open-source machine learning network that transforms AI models into tradable commodities. It enables a peer-to-peer marketplace where AI models are shared, trained, and ranked by their informational significance. The network incentivizes collaboration and innovation among developers through its native token, TAO, which is used for rewards, staking, governance, and payments within the ecosystem [1](https://www.thebigwhale.io/tokens/bittensor), [2](https://www.osl.com/hk-en/academy/article/bittensor-explained-how-tao-and_subnets_power_decentralized_ai).\n\n**Functionality and Use Cases**\n\nBittensor operates by allowing clients to request predictions or services that are routed to miners or nodes hosting machine-learning models. This decentralized structure facilitates various applications, including real-time AI coordination and on-chain AI agents that manage tasks like trading and inventory [3](https://www.reddit.com/r/Crypto_com/comments/1fu7ejj/learn_about_bittensor_tao_in_under_3_minutes), [4](https://x.com/bounty_incrypt/status/1932779454117400732). Recent developments include the introduction of Affine, a subnet designed to orchestrate and connect various Bittensor subnets, enhancing the network's scalability and efficiency [5](https://x.com/taocan_bot/status/1933068119188385839).\n\n**Recent Developments and Market Activity**\n\nIn the past 24 hours, Bittensor has seen significant discussions around its market performance, with analysts suggesting that the TAO token is currently oversold despite growth in network activity and institutional interest. Predictions for the TAO price over the next year vary with market conditions [6](https://x.com/HOSS_ibc/status/1932946234920349827). Additionally, new web environments are being launched to test web agents, further enhancing Bittensor's capabilities [7](https://x.com/AutoppiaAI/status/1932913082545942629).\n\n**Conclusion**\n\nBittensor is at the forefront of decentralized AI innovation, offering a unique marketplace for AI models that encourages collaboration and efficiency. With its TAO token driving the ecosystem, recent developments and market analyses indicate a growing interest and potential for significant price movements. The introduction of new subnets and applications showcases Bittensor's commitment to enhancing its network and expanding use cases in real-time AI operations.","search":[{"link":"https://www.thebigwhale.io/tokens/bittensor","snippet":"Bittensor (TAO) is a decentralized, open-source, and permissionless machine learning network that transforms machine intelligence into a tradable commodity. It creates a peer-to-peer marketplace where AI models are shared, trained, and ranked by value, incentivizing collaboration and innovation in AI development. The TAO token is used for rewards, staking, governance, and payments within the network, fostering a decentralized economy for AI development.","title":"What is Bittensor?"},{"link":"https://tao.news/","snippet":"Unleashing the Power of Decentralized Intelligence LEARN MORE What is Bittensor? Bittensor News The world is waking up to the power of Bittensor. Read syndicated publications from recognised news outlets & journalists. Operation: Community Pool ? Official Bittensor Update (2023-11-09T19:58:37.810000+00:00) Introducing SN13: […]","title":"Home - $TAO News | Latest Bittensor Updates"},{"link":"https://www.coinbase.com/price/bittensor","snippet":"Get the latest price, news, live charts, and market trends about Bittensor.","title":"Bittensor Price, TAO Price, Live Charts, and Marketcap: tao, tao crypto, tao coin"},{"link":"https://tokenterminal.com/explorer/projects/bittensor","snippet":"Dive into Bittensor's key fundamental metrics and uncover trends to make better investing and operational decisions.","title":"Bittensor overview | Token Terminal"},{"link":"https://www.coingecko.com/en/coins/bittensor","snippet":"Track the latest Bittensor price, market cap, trading volume, news and more with CoinGecko's live TAO price chart and popular cryptocurrency price tracker.","title":"Bittensor Price: TAO Live Price Chart, Market Cap & News Today | CoinGecko"},{"link":"https://www.osl.com/hk-en/academy/article/bittensor-explained-how-tao-and-subnets-power-decentralized-ai","snippet":"Bittensor is a decentralized AI network where TAO tokens reward miners and validators across subnets focused on specific AI tasks.","title":"Bittensor Explained: How TAO and Subnets Power Decentralized AI"},{"link":"https://docs.bittensor.com/learn/introduction","snippet":"This page will orient the reader with the major concepts and components of Bittensor, and provide the roadmap to developing in the ecosystem.","title":"Introduction to Bittensor | Bittensor"}],"text":"","tweets":[{"bookmark_count":2,"conversation_id":"1932946234920349827","created_at":"2025-06-11T23:41:09.000Z","display_text_range":[0,269],"entities":{"hashtags":[],"media":[{"display_url":"pic.x.com/L1icjTabYS","expanded_url":"https://x.com/HOSS_ibc/status/1932946234920349827/photo/1","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[{"h":77,"w":77,"x":1877,"y":521},{"h":93,"w":93,"x":971,"y":571}]},"medium":{"faces":[{"h":45,"w":45,"x":1100,"y":305},{"h":55,"w":55,"x":569,"y":335}]},"orig":{"faces":[{"h":137,"w":137,"x":3301,"y":917},{"h":165,"w":165,"x":1708,"y":1005}]},"small":{"faces":[{"h":25,"w":25,"x":623,"y":173},{"h":31,"w":31,"x":322,"y":189}]}},"id_str":"1932944082281574400","indices":[270,293],"media_key":"3_1932944082281574400","media_url_https":"https://pbs.twimg.com/media/GtMyZtMWMAAPfq9.jpg","original_info":{"focus_rects":[{"h":1800,"w":3214,"x":0,"y":0},{"h":1800,"w":1800,"x":0,"y":0},{"h":1800,"w":1579,"x":0,"y":0},{"h":1800,"w":900,"x":0,"y":0},{"h":1800,"w":3600,"x":0,"y":0}],"height":1800,"width":3600},"sizes":{"large":{"h":1024,"resize":"fit","w":2048},"medium":{"h":600,"resize":"fit","w":1200},"small":{"h":340,"resize":"fit","w":680},"thumb":{"h":150,"resize":"crop","w":150}},"type":"photo","url":"https://t.co/L1icjTabYS"}],"symbols":[{"indices":[10,14],"text":"TAO"}],"timestamps":[],"urls":[],"user_mentions":[]},"extended_entities":{"media":[{"display_url":"pic.x.com/L1icjTabYS","expanded_url":"https://x.com/HOSS_ibc/status/1932946234920349827/photo/1","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[{"h":77,"w":77,"x":1877,"y":521},{"h":93,"w":93,"x":971,"y":571}]},"medium":{"faces":[{"h":45,"w":45,"x":1100,"y":305},{"h":55,"w":55,"x":569,"y":335}]},"orig":{"faces":[{"h":137,"w":137,"x":3301,"y":917},{"h":165,"w":165,"x":1708,"y":1005}]},"small":{"faces":[{"h":25,"w":25,"x":623,"y":173},{"h":31,"w":31,"x":322,"y":189}]}},"id_str":"1932944082281574400","indices":[270,293],"media_key":"3_1932944082281574400","media_url_https":"https://pbs.twimg.com/media/GtMyZtMWMAAPfq9.jpg","original_info":{"focus_rects":[{"h":1800,"w":3214,"x":0,"y":0},{"h":1800,"w":1800,"x":0,"y":0},{"h":1800,"w":1579,"x":0,"y":0},{"h":1800,"w":900,"x":0,"y":0},{"h":1800,"w":3600,"x":0,"y":0}],"height":1800,"width":3600},"sizes":{"large":{"h":1024,"resize":"fit","w":2048},"medium":{"h":600,"resize":"fit","w":1200},"small":{"h":340,"resize":"fit","w":680},"thumb":{"h":150,"resize":"crop","w":150}},"type":"photo","url":"https://t.co/L1icjTabYS"}]},"id":"1932946234920349827","is_quote_tweet":false,"is_retweet":false,"lang":"en","like_count":31,"media":[{"media_url":"https://pbs.twimg.com/media/GtMyZtMWMAAPfq9.jpg","type":"photo"}],"quote_count":3,"reply_count":16,"retweet_count":3,"text":"Bittensor $TAO seems oversold here.\n\nGrowth up but price is down\n\nFactors  \n\nTechnical: Trading above 200-day MA.  \n\nFundamental: Halving, subnet growth, institutional interest (e.g., Grayscale’s Bittensor Trust).  \n\nSentiment: Strong staking (72%) and developer activity.","url":"https://x.com/HOSS_ibc/status/1932946234920349827","user":{"can_dm":true,"can_media_tag":false,"created_at":"Sun Jul 18 05:20:07 +0000 2021","description":"Entrepreneur, Angel Investor & Product Advisor | 4+ years full-time in Crypto | 16+ years building businesses | Passionate about DeFi, Art  & impactful content","entities":{"description":{"urls":[]},"url":{"urls":[{"display_url":"metimmerse.io/hoss","expanded_url":"https://metimmerse.io/hoss","indices":[0,23],"url":"https://t.co/kAQCAPyc7F"}]}},"favourites_count":163851,"followers_count":63156,"id":"1416628772565143561","is_blue_verified":true,"listed_count":460,"location":"Tweets aren't financial advice","media_count":8421,"name":"Hoss","pinned_tweet_ids":["1932920070222889063"],"profile_banner_url":"https://pbs.twimg.com/profile_banners/1416628772565143561/1749700252","profile_image_url":"https://pbs.twimg.com/profile_images/1915178001026723840/s0MX6RPL_normal.jpg","statuses_count":77157,"url":"https://x.com/HOSS_ibc","username":"HOSS_ibc","verified":false}}]}},"ResponseWarning":{"properties":{"code":{"type":"string","enum":["tool_no_results","tool_unavailable"],"title":"Code","example":"tool_no_results"},"tool":{"type":"string","enum":["web","twitter"],"title":"Tool","example":"twitter"},"field":{"type":"string","title":"Field","description":"Response key the warning refers to","example":"tweets"},"message":{"type":"string","title":"Message","example":"Twitter Search returned no results or did not finish in time."}},"type":"object","required":["code","tool","field","message"],"title":"ResponseWarning"},"ResultTypeEnum":{"type":"string","enum":["ONLY_LINKS","LINKS_WITH_FINAL_SUMMARY"],"title":"ResultTypeEnum"},"ScraperStreamingSynapseRequest":{"properties":{"prompt":{"type":"string","title":"Prompt","description":"Search query prompt","example":"Bittensor"},"tools":{"items":{"anyOf":[{"$ref":"#/components/schemas/ToolEnum"},{"type":"string"}]},"type":"array","title":"Tools","description":"Tools to search with: `web` (Web Search) and/or `twitter` (X Search). Retired tools are still accepted so older clients keep working, but none of them returns its own result key. `youtube` (`Youtube Search`) is dropped from the list. `reddit`, `hackernews`, `wikipedia` and `arxiv` (also `Reddit Search`, `Hacker News Search`, `Wikipedia Search`, `ArXiv Search`) become `web` with reddit.com, news.ycombinator.com, wikipedia.org or arxiv.org added to `include_domains`, which pins the whole Web Search in the request to those domains; their results arrive in `search`. A list left with no supported tool, such as `[\"youtube\"]`, is a 422.","example":["web","twitter"]},"start_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date","description":"The start date for the search query. Format: YYYY-MM-DDTHH:MM:SSZ (UTC)","examples":["2025-05-01T00:00:00Z"]},"end_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date","description":"The end date for the search query. Format: YYYY-MM-DDTHH:MM:SSZ (UTC)","examples":["2025-05-03T00:00:00Z"]},"date_filter":{"anyOf":[{"$ref":"#/components/schemas/DateFilterEnum"},{"type":"null"}],"description":"Deprecated relative window. When set (and no start_date/end_date), it is translated to start_date/end_date. Prefer start_date/end_date.","example":"PAST_WEEK"},"streaming":{"type":"boolean","title":"Streaming","description":"Whether to stream results","default":true,"example":true},"result_type":{"anyOf":[{"$ref":"#/components/schemas/ResultTypeEnum"},{"type":"null"}],"description":"The result type to be used for the search","default":"LINKS_WITH_FINAL_SUMMARY","example":"LINKS_WITH_FINAL_SUMMARY"},"mode":{"anyOf":[{"$ref":"#/components/schemas/SearchModeEnum"},{"type":"null"}],"description":"Speed/quality mode for the search (fast, balanced, deep). fast is web-only: X (Twitter) search supports balanced and deep.","example":"balanced"},"system_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System Message","description":"The system message to be used for the search","default":"","example":"Summarize the content by categorizing key points into 'Pros' and 'Cons' sections."},"scoring_system_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scoring System Message","description":"System message for scoring the response","example":"Business Relevance Scoring Guide:\n\n                    Task: As an evaluator, determine how well a tweet represents a business opportunity for the agent based on contextual relevance to the specific agent use case provided.\n\n                    IMPORTANT: Only score highly for needs that directly relate to the agent's specific use case. Similar but different problems should receive lower scores unless they specifically mention the agent's domain.\n\n                    Agent use case: Find people who needs SERP API service and is looking for cheaper options for scraping\n\n                    Scoring Criteria:\n\n                    Score 2 - No Business Opportunity:\n                    - Criteria: Tweet is completely unrelated to the agent's use case or shows no indication of need for the agent's specific offering\n                    - Context: Author is not expressing any pain point, question, or situation relevant to the agent's domain\n                    - Examples:\n                    - Agent Use Case: \"Find people needing SERP API services\"\n                    - Tweet: \"Just had amazing pizza for lunch!\" → Score 2 (completely unrelated)\n                    - Tweet: \"Our streaming API is having problems\" → Score 2 (different API domain)\n\n                    Score 5 - Potential Interest:\n                    - Criteria: Tweet shows indirect relevance to the agent's domain but lacks clear intent, urgency, or specific need\n                    - Context: Author mentions related topics but doesn't express explicit need for the agent's specific solution\n                    - Examples:\n                    - Agent Use Case: \"Find people needing SERP API services\"\n                    - Tweet: \"Working on a new web scraping project\" → Score 5 (related activity, no explicit SERP need)\n                    - Tweet: \"APIs are getting expensive these days\" → Score 5 (general API concern, not SERP-specific)\n\n                    Score 9 - Strong Business Opportunity:\n                    - Criteria: Tweet indicates a clear need, problem, or interest that directly aligns with the agent's specific use case\n                    - Context: Author is seeking solutions, expressing frustration, asking for recommendations, or describing challenges specifically in the agent's domain\n                    - Examples:\n                    - Agent Use Case: \"Find people needing SERP API services\"\n                    - Tweet: \"Anyone know a reliable API for Google search results? Current one keeps failing\" → Score 9 (direct SERP API need)\n                    - Tweet: \"SERP API costs are killing our budget, need alternatives\" → Score 9 (specific SERP API problem)\n                    \n                    Output Format:\n                    Score: [2, 5, or 9], Explanation: [Brief explanation focusing on how specifically this relates to the agent's use case and the level of expressed need]"},"count":{"anyOf":[{"type":"integer","maximum":200.0,"minimum":10.0},{"type":"null"}],"title":"Count","description":"The number of results to return per source. Min 10. Max 200.","default":10},"include_domains":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Include Domains","description":"Restrict Web Search results to these domains.","example":["bbc.com","reuters.com"]},"exclude_domains":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Exclude Domains","description":"Drop Web Search results from these domains.","example":["pinterest.com"]},"highlights":{"type":"boolean","title":"Highlights","description":"Include highlights (token-efficient key excerpts from each page) on Web Search results.","default":true},"page_text":{"type":"boolean","title":"Page Text","description":"Include the full page text on each Web Search result. Responses get significantly larger.","default":false}},"type":"object","required":["prompt","tools"],"title":"ScraperStreamingSynapseRequest"},"SearchModeEnum":{"type":"string","enum":["fast","balanced","deep"],"title":"SearchModeEnum"},"SearchRequest":{"properties":{"query":{"type":"string","maxLength":2000,"minLength":1,"title":"Query","description":"Search query.","examples":["Who won the 2024 Nobel Prize in Physics?"]},"mode":{"type":"string","enum":["fast","balanced"],"title":"Mode","description":"`fast` returns results sooner. `balanced` favors relevance.","default":"balanced"},"count":{"type":"integer","multipleOf":5.0,"maximum":20.0,"minimum":10.0,"title":"Count","description":"Number of results to return: 10, 15 or 20.","default":10},"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date","description":"Only return pages published on or after this date (YYYY-MM-DD).","examples":["2026-01-01"]},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date","description":"Only return pages published on or before this date (YYYY-MM-DD).","examples":["2026-09-17"]},"highlights":{"type":"boolean","title":"Highlights","description":"Include the passage that best matches the query.","default":true},"page_text":{"type":"boolean","title":"Page Text","description":"Include the full page text.","default":false}},"type":"object","required":["query"],"title":"SearchRequest"},"SearchResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/SearchResult"},"type":"array","title":"Results"},"cost_usd":{"type":"number","title":"Cost Usd","description":"Cost charged for this request in USD."},"usage_count":{"type":"integer","title":"Usage Count","description":"Billable usage units for this request."},"service":{"type":"string","title":"Service","description":"Pricing service used for the charge."},"currency":{"type":"string","title":"Currency","description":"Currency of `cost_usd`."}},"type":"object","required":["results","cost_usd","usage_count","service","currency"],"title":"SearchResponse"},"SearchResult":{"properties":{"url":{"type":"string","title":"Url"},"title":{"type":"string","title":"Title"},"published_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Published Date","description":"Publication date (YYYY-MM-DD) when known."},"highlights":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Highlights","description":"Returned unless the request sets `highlights: false`."},"page_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Text","description":"Returned only when the request sets `page_text: true`."}},"type":"object","required":["url","title"],"title":"SearchResult"},"TikTokAuthor":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","example":"12345"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username","example":"desearch"},"nickname":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nickname","example":"Desearch"},"avatar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar","example":"https://example.com/avatar.jpg"},"verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Verified","example":true},"following":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Following","example":1200},"followers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Followers","example":50000},"heart":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Heart","example":300000}},"type":"object","title":"TikTokAuthor"},"TikTokComment":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","description":"TikTok comment ID (the provider's `cid`). Omitted when the provider page does not include one.","example":"7620891413932166433"},"videoId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Videoid","example":"7620891413932166433"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text","example":"comment text"},"createTime":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createtime","example":"2024-01-15T11:00:00Z"},"author":{"anyOf":[{"$ref":"#/components/schemas/TikTokAuthor"},{"type":"null"}]},"likes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Likes","example":42},"replies":{"items":{"type":"object"},"type":"array","title":"Replies"}},"type":"object","title":"TikTokComment"},"TikTokCreatorSearchFilters":{"properties":{"min_followers":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Min Followers","description":"Minimum TikTok follower count."},"max_followers":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Max Followers","description":"Maximum TikTok follower count."},"require_contact":{"type":"boolean","title":"Require Contact","description":"Only creators with a public email in their bio.","default":false},"keywords":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Keywords","description":"Words that should appear in videos or bios."},"exclude_keywords":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Exclude Keywords","description":"Leave out creators that mention these words."}},"additionalProperties":false,"type":"object","title":"TikTokCreatorSearchFilters"},"TikTokCreatorSearchRequest":{"properties":{"query":{"type":"string","maxLength":1000,"minLength":3,"title":"Query","description":"Who you are looking for, in plain language."},"count":{"type":"integer","maximum":200.0,"minimum":5.0,"title":"Count","description":"How many qualified profiles to find. The search reserves this many at the route price and bills only the profiles it delivers (a minimum applies when it finds any; a search that finds none is free).","default":25},"min_score":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Min Score","description":"Only return profiles with at least this fit score (0-100)."},"exclude":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":1000},{"type":"null"}],"title":"Exclude","description":"Handles to leave out, for example people you already contacted. Up to 1,000 handles."},"metadata":{"anyOf":[{"additionalProperties":{"type":"string","maxLength":200},"propertyNames":{"pattern":"^[a-z0-9_.-]{1,40}$"},"type":"object","maxProperties":10},{"type":"null"}],"title":"Metadata","description":"Your own labels for this search, e.g. the workspace or campaign it belongs to. At most 10 keys; keys are 1-40 characters of a-z, 0-9, '_', '.' or '-'; values are strings of at most 200 characters. Returned as `metadata` on the task and usable as a filter on `GET /desearch/people/tasks` (`metadata.<key>=<value>`). Never used by the search itself.","examples":[{"campaign":"q4-outbound","workspace_id":"ws_42"}]},"filters":{"anyOf":[{"$ref":"#/components/schemas/TikTokCreatorSearchFilters"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["query"],"title":"TikTokCreatorSearchRequest","description":"Find TikTok creators by what their videos are about.","example":{"count":25,"filters":{"min_followers":10000,"require_contact":true},"query":"Skincare creators who review sunscreen"}},"TikTokMusic":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","example":"67890"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","example":"Song Name"},"authorName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorname","example":"Artist"}},"type":"object","title":"TikTokMusic"},"TikTokPost":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","example":"7620891413932166433"},"providerId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Providerid"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","example":"https://www.tiktok.com/@tiktok/video/7620891413932166433"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text","example":"caption text"},"createTime":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createtime","example":"2024-01-15T10:30:00Z"},"author":{"anyOf":[{"$ref":"#/components/schemas/TikTokAuthor"},{"type":"null"}]},"stats":{"anyOf":[{"$ref":"#/components/schemas/TikTokStats"},{"type":"null"}]},"music":{"anyOf":[{"$ref":"#/components/schemas/TikTokMusic"},{"type":"null"}],"description":"Omitted when the provider payload has no music object. TikTok hashtag and trending responses do not include one."},"hashtags":{"items":{"type":"string"},"type":"array","title":"Hashtags","description":"Hashtags from cha_list, text_extra, or #tags in the caption. Empty when none are present."},"mentions":{"items":{"type":"string"},"type":"array","title":"Mentions","description":"Mentions from text_extra or @handles in the caption. Always present; empty when none are found. Hashtag and trending payloads carry no structured mentions, so there it lists only @handles in the caption."},"videoDuration":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Videoduration","example":15000},"videoWidth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Videowidth","example":1080},"videoHeight":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Videoheight","example":1920},"thumbnailUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnailurl","example":"https://example.com/thumb.jpg"},"mediaUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mediaurl","example":"https://example.com/video.mp4"}},"type":"object","title":"TikTokPost"},"TikTokProfile":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","example":"12345"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username","example":"desearch"},"nickname":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nickname","example":"Desearch"},"avatar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar","example":"https://example.com/avatar.jpg"},"verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Verified","example":true},"following":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Following","example":1200},"followers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Followers","example":50000},"heart":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Heart","example":300000},"bio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bio","example":"bio text"},"videoCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Videocount","example":250},"digCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Digcount","example":450000}},"type":"object","title":"TikTokProfile"},"TikTokSearchRequest":{"properties":{"query":{"type":"string","title":"Query","description":"Keyword or phrase to search on TikTok","example":"bittensor"},"count":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Count","description":"Maximum number of results to return. The provider page may be smaller.","default":10},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor","description":"Opaque pagination cursor. Omit it for the first page. For the next page, send the `x-desearch-next-cursor` response header from the previous page back unchanged, on the same route with the same target (username, tag, post, or search query). A cursor is valid for 24 hours. Any other value, including an expired cursor or one issued by a different route or target, returns 422 and is not charged."},"sort":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sort","description":"Sort option when supported"}},"type":"object","required":["query"],"title":"TikTokSearchRequest"},"TikTokStats":{"properties":{"playCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Playcount","example":120000},"digCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Digcount","example":5000},"commentCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Commentcount","example":120},"shareCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sharecount","example":45},"collectCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Collectcount","example":10}},"type":"object","title":"TikTokStats"},"TooManyRequestsResponse":{"properties":{"detail":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"object","title":"Detail","example":{"error_code":429,"message":"Too Many Requests","retry_after":"60 seconds"}}},"type":"object","required":["detail"],"title":"TooManyRequestsResponse"},"ToolEnum":{"type":"string","enum":["web","twitter"],"title":"ToolEnum"},"TwitterScraperAdvertisingDisclosure":{"properties":{"is_paid_promotion":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Paid Promotion","example":true}},"additionalProperties":true,"type":"object","title":"TwitterScraperAdvertisingDisclosure"},"TwitterScraperAffiliateBadge":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","example":"https://pbs.twimg.com/profile_images/2005664281002491904/bz2ZO_nU_bigger.jpg"}},"type":"object","title":"TwitterScraperAffiliateBadge"},"TwitterScraperAffiliateLabel":{"properties":{"badge":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperAffiliateBadge"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","example":"Polymarket"},"url":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperAffiliateUrl"},{"type":"null"}]},"user_label_display_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Label Display Type","example":"Badge"},"user_label_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Label Type","example":"BusinessLabel"}},"additionalProperties":true,"type":"object","title":"TwitterScraperAffiliateLabel"},"TwitterScraperAffiliateUrl":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","example":"https://twitter.com/Polymarket"},"url_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url Type","example":"DeepLink"}},"type":"object","title":"TwitterScraperAffiliateUrl"},"TwitterScraperAffiliatesHighlightedLabel":{"properties":{"label":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperAffiliateLabel"},{"type":"null"}]}},"type":"object","title":"TwitterScraperAffiliatesHighlightedLabel"},"TwitterScraperArticle":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","example":"2036821104418029568"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","example":"How to become so creative it feels illegal"},"preview_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short preview of the article body"},"plain_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full article body as plain text"},"cover_media":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperArticleCoverMedia"},{"type":"null"}],"title":"Article cover image"},"first_published_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"First publish time (unix seconds)"}},"type":"object","title":"TwitterScraperArticle"},"TwitterScraperArticleCoverMedia":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","example":"https://pbs.twimg.com/media/example.jpg"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width","example":1920},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height","example":768}},"type":"object","title":"TwitterScraperArticleCoverMedia"},"TwitterScraperCard":{"properties":{"type":{"type":"string","title":"Card kind: summary, summary_large_image, player or broadcast","example":"summary_large_image"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short link the card points to. The full URL is in the tweet's entities.urls.","example":"https://t.co/hVHgyxtOZ9"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title of the linked page, video or broadcast","example":"Starship | Starlink Group 31-1 (Starship Flight 14)"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description of the linked page","example":"14th test flight of the two-stage Starship launch vehicle."},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain of the linked page","example":"www.missionstatus.com"},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preview image","example":"https://pbs.twimg.com/card_img/2104931127370690560/nssO7aWi?format=jpg&name=800x419"},"image_alt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alt text of the preview image"},"player_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Embeddable video URL. Player cards only.","example":"https://www.youtube.com/embed/abc123"},"broadcast_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Live broadcast URL. Broadcast cards only.","example":"https://x.com/i/broadcasts/1YGNrbPLejQGw"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Broadcast state. Broadcast cards only.","example":"ENDED"}},"type":"object","required":["type"],"title":"TwitterScraperCard"},"TwitterScraperContentDisclosure":{"properties":{"advertising_disclosure":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperAdvertisingDisclosure"},{"type":"null"}],"title":"Paid promotion disclosure declared by the author"}},"additionalProperties":true,"type":"object","title":"TwitterScraperContentDisclosure"},"TwitterScraperEditControl":{"properties":{"edit_tweet_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Edit Tweet Ids","example":["987654321"]},"editable_until_msecs":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Editable Until Msecs","example":"1784103100000"},"edits_remaining":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Edits Remaining","example":"5"},"is_edit_eligible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Edit Eligible","example":false}},"additionalProperties":true,"type":"object","title":"TwitterScraperEditControl"},"TwitterScraperEntities":{"properties":{"hashtags":{"anyOf":[{"items":{"$ref":"#/components/schemas/TwitterScraperEntitiesSymbol"},"type":"array"},{"type":"null"}],"title":"Hashtags in the tweet"},"media":{"anyOf":[{"items":{"$ref":"#/components/schemas/TwitterScraperEntitiesMedia"},"type":"array"},{"type":"null"}],"title":"Media attachments"},"symbols":{"anyOf":[{"items":{"$ref":"#/components/schemas/TwitterScraperEntitiesSymbol"},"type":"array"},{"type":"null"}],"title":"Cashtags/symbols"},"timestamps":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Timestamp entities"},"urls":{"anyOf":[{"items":{"$ref":"#/components/schemas/TwitterScraperEntityUrl"},"type":"array"},{"type":"null"}],"title":"URLs in the tweet"},"user_mentions":{"anyOf":[{"items":{"$ref":"#/components/schemas/TwitterScraperEntitiesUserMention"},"type":"array"},{"type":"null"}],"title":"Mentioned users"}},"type":"object","title":"TwitterScraperEntities"},"TwitterScraperEntitiesMedia":{"properties":{"display_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Url","example":"pic.twitter.com/example"},"expanded_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expanded Url","example":"https://twitter.com/user/status/123/photo/1"},"id_str":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id Str","example":"1234567890123456789"},"indices":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Indices","example":[100,123]},"media_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Media Key","example":"3_1234567890123456789"},"media_url_https":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Media Url Https","example":"https://pbs.twimg.com/media/example.jpg"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Media type: photo, video, or animated_gif","example":"photo"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","example":"https://t.co/example"},"additional_media_info":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperEntitiesMediaAdditionalInfo"},{"type":"null"}],"title":"Additional media information"},"ext_media_availability":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperEntitiesMediaExtAvailability"},{"type":"null"}],"title":"External media availability status"},"features":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperEntitiesMediaFeatures"},{"type":"null"}],"title":"Media features like face detection"},"sizes":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperEntitiesMediaSizes"},{"type":"null"}],"title":"Available media sizes"},"original_info":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperEntitiesMediaOriginalInfo"},{"type":"null"}],"title":"Original media information"},"allow_download_status":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperEntitiesMediaAllowDownloadStatus"},{"type":"null"}],"title":"Download permission status"},"video_info":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperEntitiesMediaVideoInfo"},{"type":"null"}],"title":"Video-specific information"},"media_results":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperEntitiesMediaResults"},{"type":"null"}],"title":"Media result details"}},"type":"object","title":"TwitterScraperEntitiesMedia"},"TwitterScraperEntitiesMediaAdditionalInfo":{"properties":{"monetizable":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Monetizable","example":true},"source_user":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Source User","example":{}}},"type":"object","title":"TwitterScraperEntitiesMediaAdditionalInfo"},"TwitterScraperEntitiesMediaAllowDownloadStatus":{"properties":{"allow_download":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allow Download","example":true}},"type":"object","title":"TwitterScraperEntitiesMediaAllowDownloadStatus"},"TwitterScraperEntitiesMediaExtAvailability":{"properties":{"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","example":"available"}},"type":"object","title":"TwitterScraperEntitiesMediaExtAvailability"},"TwitterScraperEntitiesMediaFeature":{"properties":{"faces":{"anyOf":[{"items":{"$ref":"#/components/schemas/Rect"},"type":"array"},{"type":"null"}],"title":"Detected faces in media","example":[]}},"type":"object","title":"TwitterScraperEntitiesMediaFeature"},"TwitterScraperEntitiesMediaFeatures":{"properties":{"large":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperEntitiesMediaFeature"},{"type":"null"}],"title":"Features for large size"},"medium":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperEntitiesMediaFeature"},{"type":"null"}],"title":"Features for medium size"},"small":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperEntitiesMediaFeature"},{"type":"null"}],"title":"Features for small size"},"orig":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperEntitiesMediaFeature"},{"type":"null"}],"title":"Features for original size"}},"type":"object","title":"TwitterScraperEntitiesMediaFeatures"},"TwitterScraperEntitiesMediaOriginalInfo":{"properties":{"height":{"type":"integer","title":"Height","example":1080},"width":{"type":"integer","title":"Width","example":1920},"focus_rects":{"anyOf":[{"items":{"$ref":"#/components/schemas/Rect"},"type":"array"},{"type":"null"}],"title":"Focus Rects","example":[]}},"type":"object","required":["height","width"],"title":"TwitterScraperEntitiesMediaOriginalInfo"},"TwitterScraperEntitiesMediaResult":{"properties":{"media_key":{"type":"string","title":"Media Key","example":"3_1234567890123456789"}},"type":"object","required":["media_key"],"title":"TwitterScraperEntitiesMediaResult"},"TwitterScraperEntitiesMediaResults":{"properties":{"result":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperEntitiesMediaResult"},{"type":"null"}],"title":"Media result details"}},"type":"object","title":"TwitterScraperEntitiesMediaResults"},"TwitterScraperEntitiesMediaSizes":{"properties":{"large":{"anyOf":[{"$ref":"#/components/schemas/MediaSize"},{"type":"null"}],"title":"Large size dimensions"},"medium":{"anyOf":[{"$ref":"#/components/schemas/MediaSize"},{"type":"null"}],"title":"Medium size dimensions"},"small":{"anyOf":[{"$ref":"#/components/schemas/MediaSize"},{"type":"null"}],"title":"Small size dimensions"},"thumb":{"anyOf":[{"$ref":"#/components/schemas/MediaSize"},{"type":"null"}],"title":"Thumbnail size dimensions"}},"type":"object","title":"TwitterScraperEntitiesMediaSizes"},"TwitterScraperEntitiesMediaVideoInfo":{"properties":{"duration_millis":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Video duration in milliseconds","example":30000},"aspect_ratio":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Aspect Ratio","example":[16,9]},"variants":{"anyOf":[{"items":{"$ref":"#/components/schemas/TwitterScraperEntitiesMediaVideoInfoVariant"},"type":"array"},{"type":"null"}],"title":"Available video quality variants"}},"type":"object","title":"TwitterScraperEntitiesMediaVideoInfo"},"TwitterScraperEntitiesMediaVideoInfoVariant":{"properties":{"content_type":{"type":"string","title":"Content Type","example":"video/mp4"},"url":{"type":"string","title":"Url","example":"https://video.twimg.com/example.mp4"},"bitrate":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bitrate","example":2176000}},"type":"object","required":["content_type","url"],"title":"TwitterScraperEntitiesMediaVideoInfoVariant"},"TwitterScraperEntitiesSymbol":{"properties":{"indices":{"items":{"type":"integer"},"type":"array","title":"Indices","example":[0,5]},"text":{"type":"string","title":"Text","example":"AAPL"}},"type":"object","required":["indices","text"],"title":"TwitterScraperEntitiesSymbol"},"TwitterScraperEntitiesUserMention":{"properties":{"id_str":{"type":"string","title":"Id Str","example":"123456789"},"name":{"type":"string","title":"Name","example":"John Doe"},"screen_name":{"type":"string","title":"Screen Name","example":"johndoe"},"indices":{"items":{"type":"integer"},"type":"array","title":"Indices","example":[0,10]}},"type":"object","required":["id_str","name","screen_name","indices"],"title":"TwitterScraperEntitiesUserMention"},"TwitterScraperEntityUrl":{"properties":{"display_url":{"type":"string","title":"Display Url","example":"example.com"},"expanded_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expanded Url","example":"https://example.com/full-url"},"url":{"type":"string","title":"Url","example":"https://t.co/short"},"indices":{"items":{"type":"integer"},"type":"array","title":"Indices","example":[50,73]}},"type":"object","required":["display_url","url","indices"],"title":"TwitterScraperEntityUrl"},"TwitterScraperExtendedEntities":{"properties":{"media":{"anyOf":[{"items":{"$ref":"#/components/schemas/TwitterScraperEntitiesMedia"},"type":"array"},{"type":"null"}],"title":"Extended media information for multiple attachments"}},"type":"object","title":"TwitterScraperExtendedEntities"},"TwitterScraperMedia":{"properties":{"media_url":{"type":"string","title":"Media Url","default":"","example":"https://pbs.twimg.com/media/example.jpg"},"type":{"type":"string","title":"Type","default":"","example":"photo"}},"type":"object","title":"TwitterScraperMedia"},"TwitterScraperTweet":{"properties":{"user":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperUser"},{"type":"null"}]},"id":{"type":"string","title":"Id","example":"987654321"},"text":{"type":"string","title":"Text","example":"This is an example tweet."},"reply_count":{"type":"integer","title":"Reply Count","example":10},"view_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"View Count","example":1000},"retweet_count":{"type":"integer","title":"Retweet Count","example":5},"like_count":{"type":"integer","title":"Like Count","example":100},"quote_count":{"type":"integer","title":"Quote Count","example":2},"bookmark_count":{"type":"integer","title":"Bookmark Count","example":3},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","example":"https://twitter.com/example_tweet"},"created_at":{"type":"string","title":"Created At","example":"2023-01-01T00:00:00Z"},"media":{"anyOf":[{"items":{"$ref":"#/components/schemas/TwitterScraperMedia"},"type":"array"},{"type":"null"}],"title":"Media","example":[]},"is_quote_tweet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Quote Tweet","example":false},"is_retweet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Retweet","example":false},"lang":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tweet language code","example":"en"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation thread ID","example":"987654321"},"in_reply_to_screen_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username being replied to","example":"someuser"},"in_reply_to_status_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tweet ID being replied to","example":"987654320"},"in_reply_to_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User ID being replied to","example":"123456789"},"quoted_status_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quoted tweet ID","example":"987654319"},"quote":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperTweet"},{"type":"null"}],"title":"Quoted tweet object"},"replies":{"anyOf":[{"items":{"$ref":"#/components/schemas/TwitterScraperTweet"},"type":"array"},{"type":"null"}],"title":"Reply tweets"},"display_text_range":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Text display range indices","example":[0,280]},"entities":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperEntities"},{"type":"null"}],"title":"Tweet entities (hashtags, URLs, mentions)"},"extended_entities":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperExtendedEntities"},{"type":"null"}],"title":"Extended entities for media"},"retweet":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperTweet"},{"type":"null"}],"title":"Retweeted tweet object. Available for user posts endpoint only."},"article":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperArticle"},{"type":"null"}],"title":"X Article (long-form post) content. Present only for article posts."},"content_disclosure":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperContentDisclosure"},{"type":"null"}],"title":"Author-declared content disclosures. Null when X returns no disclosure for the post."},"edit_control":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperEditControl"},{"type":"null"}],"title":"Edit history and remaining edit allowance"},"possibly_sensitive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Possibly Sensitive","example":false},"card":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperCard"},{"type":"null"}],"title":"Link preview, video player or live broadcast shown under the tweet. Null when the tweet has none."}},"type":"object","required":["id","text","reply_count","retweet_count","like_count","quote_count","bookmark_count","created_at"],"title":"TwitterScraperTweet"},"TwitterScraperUser":{"properties":{"id":{"type":"string","title":"Id","example":"123456789"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","example":"https://twitter.com/example_user"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","example":"John Doe"},"username":{"type":"string","title":"Username","example":"johndoe"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At","example":"2023-01-01T00:00:00Z"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","example":"This is an example user description."},"favourites_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Favourites Count","example":100},"followers_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Followers Count","example":1500},"followings_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Followings Count","example":100},"listed_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Listed Count","example":10},"media_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Media Count","example":50},"profile_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile Image Url","example":"https://example.com/profile.jpg"},"profile_banner_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile Banner Url","example":"https://example.com/banner.jpg"},"statuses_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Statuses Count","example":500},"verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Verified","example":true},"is_blue_verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Indicates if the user is Blue Tick verified","example":true},"entities":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperUserEntities"},{"type":"null"}],"title":"User profile entities"},"can_dm":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Indicates if the user has enabled DMs","example":true},"can_media_tag":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Indicates if the user can be tagged in media","example":true},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User location","example":"Jamaica"},"pinned_tweet_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Pinned Tweet Ids","example":["123456789","987654321"]},"professional":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperUserProfessional"},{"type":"null"}],"title":"Professional information"},"affiliates_highlighted_label":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperAffiliatesHighlightedLabel"},{"type":"null"}],"title":"Affiliated organization badge"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Link the user set on their profile","example":"https://t.co/4sVzS0XYIW"}},"type":"object","required":["id","username"],"title":"TwitterScraperUser"},"TwitterScraperUserEntities":{"properties":{"description":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperUserEntitiesDescription"},{"type":"null"}],"title":"Entities in user description"},"url":{"anyOf":[{"$ref":"#/components/schemas/TwitterScraperUserEntitiesDescription"},{"type":"null"}],"title":"Entities in user profile URL"}},"type":"object","title":"TwitterScraperUserEntities"},"TwitterScraperUserEntitiesDescription":{"properties":{"urls":{"anyOf":[{"items":{"$ref":"#/components/schemas/TwitterScraperEntityUrl"},"type":"array"},{"type":"null"}],"title":"URLs in user description or profile"}},"type":"object","title":"TwitterScraperUserEntitiesDescription"},"TwitterScraperUserProfessional":{"properties":{"professional_type":{"type":"string","title":"Professional Type","example":"Business"},"category":{"items":{"$ref":"#/components/schemas/TwitterScraperUserProfessionalCategory"},"type":"array","title":"Professional categories"}},"type":"object","required":["professional_type"],"title":"TwitterScraperUserProfessional"},"TwitterScraperUserProfessionalCategory":{"properties":{"id":{"type":"integer","title":"Id","example":1},"name":{"type":"string","title":"Name","example":"Technology"}},"type":"object","required":["id","name"],"title":"TwitterScraperUserProfessionalCategory"},"UnauthorizedResponse":{"properties":{"detail":{"type":"string","title":"Detail","example":"Invalid API key"}},"type":"object","required":["detail"],"title":"UnauthorizedResponse"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WebSearchResponse":{"properties":{"youtube_search_results":{"anyOf":[{"items":{"$ref":"#/components/schemas/WebSearchResultItem"},"type":"array"},{"type":"null"}],"title":"Youtube Search Results","description":"Deprecated and always absent: the YouTube tool is retired and this key is never returned. Use `search_results`; scope it with `site:youtube.com` in the prompt or `include_domains` on `POST /desearch/ai/search`.","deprecated":true},"hacker_news_search_results":{"anyOf":[{"items":{"$ref":"#/components/schemas/WebSearchResultItem"},"type":"array"},{"type":"null"}],"title":"Hacker News Search Results","description":"Deprecated and always absent: the Hacker News tool is retired and this key is never returned. Use `search_results`; scope it with `site:news.ycombinator.com` in the prompt or `include_domains` on `POST /desearch/ai/search`.","deprecated":true},"reddit_search_results":{"anyOf":[{"items":{"$ref":"#/components/schemas/WebSearchResultItem"},"type":"array"},{"type":"null"}],"title":"Reddit Search Results","description":"Deprecated and always absent: the Reddit tool is retired and this key is never returned. Use `search_results`; scope it with `site:reddit.com` in the prompt or `include_domains` on `POST /desearch/ai/search`.","deprecated":true},"arxiv_search_results":{"anyOf":[{"items":{"$ref":"#/components/schemas/WebSearchResultItem"},"type":"array"},{"type":"null"}],"title":"Arxiv Search Results","description":"Deprecated and always absent: the ArXiv tool is retired and this key is never returned. Use `search_results`; scope it with `site:arxiv.org` in the prompt or `include_domains` on `POST /desearch/ai/search`.","deprecated":true},"wikipedia_search_results":{"anyOf":[{"items":{"$ref":"#/components/schemas/WebSearchResultItem"},"type":"array"},{"type":"null"}],"title":"Wikipedia Search Results","description":"Deprecated and always absent: the Wikipedia tool is retired and this key is never returned. Use `search_results`; scope it with `site:wikipedia.org` in the prompt or `include_domains` on `POST /desearch/ai/search`.","deprecated":true},"search_results":{"anyOf":[{"items":{"$ref":"#/components/schemas/WebSearchResultItem"},"type":"array"},{"type":"null"}],"title":"Search Results","description":"Web Search results. Present on every successful response; an empty list when nothing matched."}},"type":"object","required":["search_results"],"title":"WebSearchResponse","example":{"search_results":[{"highlights":["Latest sports news from around the world with in-depth analysis, features, photos and videos."],"link":"https://www.cnn.com/sport","snippet":"Latest sports news from around the world with in-depth analysis, features, photos and videos covering football, tennis, motorsport, golf, rugby, sailing, ...","title":"Latest sports news, videos, interviews and comment"},{"highlights":["Did we avoid a recession and is there still more upside for Bitcoin?"],"link":"https://www.youtube.com/watch?v=Ycq1u2zWfr8","snippet":"Did we avoid a recession and is there still more upside for Bitcoin? GET MY FREE NEWSLETTER ...","title":"Did The FED Do The Impossible? [Huge Implications For Bitcoin]"}]}},"WebSearchResultItem":{"properties":{"title":{"type":"string","title":"Title","description":"EXCLUSIVE Major coffee buyers face losses as Colombia ..."},"snippet":{"type":"string","title":"Snippet","description":"Coffee farmers in Colombia, the world's No. 2 arabica producer, have failed to deliver up to 1 million bags of beans this year or nearly 10% ..."},"link":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Link","description":"https://www.reuters.com/world/americas/exclusive-major-coffee-buyers-face-losses-colombia-farmers-fail-deliver-2021-10-11/"},"highlights":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Highlights","description":"Key excerpts from the page. Returned unless the request sets `highlights: false`."},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text","description":"Full page text. Returned only when the request sets `page_text: true`."}},"type":"object","required":["title","snippet","link"],"title":"WebSearchResultItem","example":{"link":"https://www.reuters.com/world/americas/exclusive-major-coffee-buyers-face-losses-colombia-farmers-fail-deliver-2021-10-11/","snippet":"Coffee farmers in Colombia, the world's No. 2 arabica producer, have failed to deliver up to 1 million bags of beans this year or nearly 10% ...","title":"EXCLUSIVE Major coffee buyers face losses as Colombia ..."}},"WebSearchResultsResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/WebSearchResultItem"},"type":"array","title":"Data"}},"type":"object","required":["data"],"title":"WebSearchResultsResponse"},"WebToolEnum":{"type":"string","enum":["web"],"title":"WebToolEnum"},"XLinksSearchResponse":{"properties":{"miner_tweets":{"items":{"$ref":"#/components/schemas/TwitterScraperTweet"},"type":"array","title":"Miner Tweets","description":"Miner tweets"}},"type":"object","required":["miner_tweets"],"title":"XLinksSearchResponse"},"XProfileSearchFilters":{"properties":{"min_followers":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Min Followers","description":"Minimum follower count."},"max_followers":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Max Followers","description":"Maximum follower count."},"verified_only":{"type":"boolean","title":"Verified Only","description":"Only verified or X Premium accounts.","default":false},"countries":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Countries","description":"Countries to prefer, e.g. ['US', 'GB']."},"keywords":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Keywords","description":"Words that should appear in posts or bios."},"exclude_keywords":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Exclude Keywords","description":"Leave out profiles that mention these words."}},"additionalProperties":false,"type":"object","title":"XProfileSearchFilters"},"XProfileSearchRequest":{"properties":{"query":{"type":"string","maxLength":1000,"minLength":3,"title":"Query","description":"Who you are looking for, in plain language."},"count":{"type":"integer","maximum":200.0,"minimum":5.0,"title":"Count","description":"How many qualified profiles to find. The search reserves this many at the route price and bills only the profiles it delivers (a minimum applies when it finds any; a search that finds none is free).","default":25},"min_score":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Min Score","description":"Only return profiles with at least this fit score (0-100)."},"exclude":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":1000},{"type":"null"}],"title":"Exclude","description":"Handles to leave out, for example people you already contacted. Up to 1,000 handles."},"metadata":{"anyOf":[{"additionalProperties":{"type":"string","maxLength":200},"propertyNames":{"pattern":"^[a-z0-9_.-]{1,40}$"},"type":"object","maxProperties":10},{"type":"null"}],"title":"Metadata","description":"Your own labels for this search, e.g. the workspace or campaign it belongs to. At most 10 keys; keys are 1-40 characters of a-z, 0-9, '_', '.' or '-'; values are strings of at most 200 characters. Returned as `metadata` on the task and usable as a filter on `GET /desearch/people/tasks` (`metadata.<key>=<value>`). Never used by the search itself.","examples":[{"campaign":"q4-outbound","workspace_id":"ws_42"}]},"filters":{"anyOf":[{"$ref":"#/components/schemas/XProfileSearchFilters"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["query"],"title":"XProfileSearchRequest","description":"Find X accounts by what they post and how they describe themselves.","example":{"count":25,"filters":{"min_followers":200},"min_score":60,"query":"Indie hackers building in public who share their MRR"}},"XRetweetersResponse":{"properties":{"users":{"items":{"$ref":"#/components/schemas/TwitterScraperUser"},"type":"array","title":"Users"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Opaque cursor for the next page; send it back unchanged as `cursor`. `null` on the last page, including a page with no new users."}},"type":"object","required":["users"],"title":"XRetweetersResponse"},"XTrendItem":{"properties":{"name":{"type":"string","title":"Name","description":"The name of the trending topic"},"query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query","description":"The search query associated with the trend"},"rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rank","description":"The rank of the trend"}},"type":"object","required":["name"],"title":"XTrendItem"},"XTrendsResponse":{"properties":{"trends":{"items":{"$ref":"#/components/schemas/XTrendItem"},"type":"array","title":"Trends","description":"List of trending topics"},"woeid":{"anyOf":[{"$ref":"#/components/schemas/XTrendsWoeid"},{"type":"null"}],"description":"The location for which trends were retrieved"}},"type":"object","required":["trends"],"title":"XTrendsResponse"},"XTrendsWoeid":{"properties":{"name":{"type":"string","title":"Name","description":"The name of the location"},"id":{"type":"integer","title":"Id","description":"The WOEID (Where On Earth ID) of the location"}},"type":"object","required":["name","id"],"title":"XTrendsWoeid"},"XUserPostsResponse":{"properties":{"user":{"$ref":"#/components/schemas/TwitterScraperUser"},"tweets":{"items":{"$ref":"#/components/schemas/TwitterScraperTweet"},"type":"array","title":"Tweets"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Cursor for pagination"}},"type":"object","required":["user","tweets"],"title":"XUserPostsResponse"},"YouTubeCreatorSearchFilters":{"properties":{"min_subscribers":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Min Subscribers","description":"Minimum subscriber count. A creator whose count is unknown does not pass it."},"max_subscribers":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Max Subscribers","description":"Maximum subscriber count. A creator whose count is unknown does not pass it."},"countries":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Countries","description":"Channel countries to prefer, e.g. ['US']."},"require_contact":{"type":"boolean","title":"Require Contact","description":"Only creators with a public email or contact link.","default":false},"keywords":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Keywords","description":"Words that should appear in videos or channel descriptions."},"exclude_keywords":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Exclude Keywords","description":"Leave out creators that mention these words."}},"additionalProperties":false,"type":"object","title":"YouTubeCreatorSearchFilters"},"YouTubeCreatorSearchRequest":{"properties":{"query":{"type":"string","maxLength":1000,"minLength":3,"title":"Query","description":"Who you are looking for, in plain language."},"count":{"type":"integer","maximum":200.0,"minimum":5.0,"title":"Count","description":"How many qualified profiles to find. The search reserves this many at the route price and bills only the profiles it delivers (a minimum applies when it finds any; a search that finds none is free).","default":25},"min_score":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Min Score","description":"Only return profiles with at least this fit score (0-100)."},"exclude":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":1000},{"type":"null"}],"title":"Exclude","description":"Handles to leave out, for example people you already contacted. Up to 1,000 handles."},"metadata":{"anyOf":[{"additionalProperties":{"type":"string","maxLength":200},"propertyNames":{"pattern":"^[a-z0-9_.-]{1,40}$"},"type":"object","maxProperties":10},{"type":"null"}],"title":"Metadata","description":"Your own labels for this search, e.g. the workspace or campaign it belongs to. At most 10 keys; keys are 1-40 characters of a-z, 0-9, '_', '.' or '-'; values are strings of at most 200 characters. Returned as `metadata` on the task and usable as a filter on `GET /desearch/people/tasks` (`metadata.<key>=<value>`). Never used by the search itself.","examples":[{"campaign":"q4-outbound","workspace_id":"ws_42"}]},"filters":{"anyOf":[{"$ref":"#/components/schemas/YouTubeCreatorSearchFilters"},{"type":"null"}],"description":"Narrow the results. A creator whose subscriber count is unknown (hidden, or not readable from the channel) does not pass `min_subscribers` or `max_subscribers`."}},"additionalProperties":false,"type":"object","required":["query"],"title":"YouTubeCreatorSearchRequest","description":"Find YouTube creators by what their videos are about.","example":{"count":25,"filters":{"max_subscribers":500000,"min_subscribers":10000},"query":"Fitness creators who review supplements"}},"BadRequestResponse":{"title":"BadRequestResponse","type":"object","properties":{"detail":{"type":"string","title":"Detail","example":"Invalid JSON body"}},"required":["detail"]}},"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization"}}},"security":[{"ApiKeyAuth":[]}],"servers":[{"url":"https://api.desearch.ai"}]}