
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "exa",
"path": "/search",
"method": "POST",
"body": {
"query": ""
}
}'
$0.01per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
100% success · 1,564 ms median · 30 days
About this endpoint
The search endpoint lets you intelligently search the web and extract contents from the results.By default, it automatically chooses the best search method using Exa’s embeddings-based model and other techniques to find the most relevant results for your query. You can also use Deep search for comprehensive results with query expansion and detailed context.
Body parameters
queryrequiredstringThe query string for the search.additionalQueriesstringAdditional query variations for deep search. Only works with type="deep". When provided, these queries are used alongside the main query for comprehensive results.typeenum<string>The type of search. Neural uses an embeddings-based model, auto (default) intelligently combines neural and other search methods, fast uses streamlined versions of the search models, and deep provides comprehensive search with query expansion and detailed context.categoryenum<string>A data category to focus on. The people and company categories have improved quality for finding LinkedIn profiles and company pages. Note: The company and people categories only support a limited set of filters. The following parameters are NOT supported for these categories: startPublishedDate, endPublishedDate, startCrawlDate, endCrawlDate, includeText, excludeText, excludeDomains. For people category, includeDomains only accepts LinkedIn domains. Using unsupported parameters will result in a 400 error.userLocationstringThe two-letter ISO country code of the user, e.g. US.numResultsintegerNumber of results to return. Limits vary by search type: With "neural": max 100 results With "deep": max 100 results If you want to increase the num results beyond these limits, contact sales (hello@exa.ai)includeDomainsstringList of domains to include in the search. If specified, results will only come from these domains.excludeDomainsstringList of domains to exclude from search results. If specified, no results will be returned from these domains.startCrawlDatestring<date-time>Crawl date refers to the date that Exa discovered a link. Results will include links that were crawled after this date. Must be specified in ISO 8601 format.endCrawlDatestring<date-time>Crawl date refers to the date that Exa discovered a link. Results will include links that were crawled before this date. Must be specified in ISO 8601 format.startPublishedDatestring<date-time>Only links with a published date after this will be returned. Must be specified in ISO 8601 format.endPublishedDatestring<date-time>Only links with a published date before this will be returned. Must be specified in ISO 8601 format.includeTextstringList of strings that must be present in webpage text of results. Currently, only 1 string is supported, of up to 5 words.excludeTextstringList of strings that must not be present in webpage text of results. Currently, only 1 string is supported, of up to 5 words. Checks from the first 1000 words of the webpage text.contextstringReturn page contents as a context string for LLM. When true, combines all result contents into one string. We recommend using 10000+ characters for best results, though no limit works best. Context strings often perform better than highlights for RAG applications.moderationbooleanEnable content moderation to filter unsafe content from search results.contentsobject