
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "newscatcher-news-api",
"path": "/search",
"method": "GET",
"query": {
"q": "",
"effort": "",
"limit":
}
}'
{
"success": true,
"data": {
"count": 1,
"query": "Tesla",
"effort": "low",
"window": { … },
"results": [ 1 item ],
"sort_by": "relevancy",
"took_ms": 751
}
}
A real response, recorded when Orthogonal checked this endpoint.
The price changes with the values you send.
from$0.00109per call
Request-basedThe price depends on what you send. You see it before you run.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
About this endpoint
Ranked real-news articles for a request in plain words or with keywords, grouped into stories. See [Effort levels](/news/effort-levels), [Filters and sorting](/news/filters), [Writing queries](/news/writing-queries) and [Credits and pricing](/get-started/credits-and-pricing).
Query parameters
qrequiredstringWhat to look for: keywords with AND/OR/NOT or a plain-language question, in any language. An upper-case NOT (Apple NOT iPhone, NOT "model y") drops the articles whose headline, description or summary mention the term.effortstringHow much work goes into the ranking, and the price: low ranks by relevance, authority, coverage and freshness (1 NCC); medium adds a cross-encoder rerank of the top stories (5 NCC); high adds an LLM rerank and merges stories about the same event (10 NCC). Charged only when the search succeeds.limitintegerNumber of articles to return (1 to 100; a plan may allow fewer, e.g. 50 on Free: the request is refused with 403 above it).collapsestringdiverse (default) discounts repeated articles of one story, story keeps one article per story, duplicates keeps every article (copies of one article are always one result).sort_bystringThe order of the results: relevancy (default) best match first; published_at newest publication first; crawled_at newest crawl first. A date order covers the best matches of q (at least 100, or 5 times limit), not every article of the window, and collapse=diverse then keeps every article, as duplicates does. A publication date later than the crawl date counts as the crawl date.search_windowstringHow far back to search, counted from now and measured on the publication date: a number and a unit, for example 15m, 2h, 1d, 15 minutes, 2 hours, 1 day or 1w. From 1 minute up to your plan's history (30 days on the free plan; a longer request is cut to it and the response says window.clamped). Default: 7d.sourcesstringOnly search these publishers: domains, comma-separated or as an array (at most 100). Matches any copy of an article. The result then shows the requested domain: its name, and a link of that domain (with several matching domains on one article, the first of them in the article's order).languagesstringOnly articles in these languages: ISO 639-1 codes, comma-separated or as an array (at most 100). zh is searched as cn.countriesstringOnly articles from publishers in these countries: ISO 3166-1 alpha-2 codes, comma-separated or as an array (at most 100).not_sourcesstringLeave out these publishers: domains, comma-separated or as an array (at most 100). An article is dropped when any of its copies comes from one of them.not_languagesstringLeave out articles in these languages: ISO 639-1 codes, comma-separated or as an array (at most 100). zh is excluded as cn.not_countriesstringLeave out articles from publishers in these countries: ISO 3166-1 alpha-2 codes, comma-separated or as an array (at most 100).min_newsroomsintegerOnly stories carried by at least this many newsrooms.content_typestringnews (default) keeps real news articles only; all returns every article, whatever its type.includestringHeavy fields to add to every result, comma-separated or as an array: description, entities, sentiment, themes, translation, embedding. Enterprise accounts only (403 enterprise_field otherwise).Response types
queryThe query as received (control characters replaced, ends trimmed).stringeffortThe effort level that ran: low, medium or high.stringtook_msTime the search took on our side, in milliseconds.integercountNumber of results returned (at most limit).integerexcluded[]string