
Article list by query
GET/articles
$0.00545per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
About this endpoint
Every article that matches a boolean query, newest first, for you to page through: the last 12 months, with the publisher, the date, the language, the country and a short snippet of
each. Use /search to find the best articles for a question; use /articles to get all the articles that match your query.
Query. q takes AND, OR, NOT, parentheses, "exact phrases", +must, -mustnot, wild*cards and NEAR("a", "b", 5). search_in chooses where it is searched: the headline, the
body, both (default) or the summary, in the original language or in the English translation.
Window and paging. from_date and to_date set the window (the last 7 days by default, up to 365 days back: an earlier from_date is cut to it and the response says window.clamped).
to_date defaults to the moment of the request and is returned in window.to: send it back as to_date when you page, so every page covers the same articles. A page holds up to 100
articles and a query reaches it
Query parameters
qrequiredstringThe boolean query: AND, OR, NOT, parentheses, "exact phrases", +must, -mustnot, wild*cards and NEAR("a", "b", 5) (the words within 5 of each other). Terms and phrases are searched in the fields of search_in.search_instringWhere q is searched, comma-separated or as an array (at most 2): title, body, title_body (default), summary, and the same on the English translation: title_translated, body_translated, title_body_translated, summary_translated. A match anywhere in the article counts; the response carries the fields listed in results.from_datestringStart of the window: ISO 8601 (2026-10-03, 2026-10-03T14:00:00, with or without an offset; UTC otherwise) or a phrase such as 7 days ago. Default: midnight 7 days ago. Up to 365 days back (an earlier start is cut to it and the response says window.clamped).to_datestringEnd of the window, in the same formats. Default: the moment of the request. The response returns it in window.to: send it back when paging, so every page covers the same articles.sourcesstringOnly these publishers: domains, comma-separated or as an array (at most 100). A domain with a subdomain (news.bbc.co.uk) matches that subdomain only.not_sourcesstringLeave out these publishers: domains, comma-separated or as an array (at most 100). Only bare domains (cnn.com) leave anything out; a list made of subdomains only (edition.cnn.com) excludes nothing.predefined_sourcesstringOnly the best-ranked publishers of a country or of the world: top <n> <country code> or top <n> global, for example top 100 US; combined with sources.languagesstringOnly articles in these languages: ISO 639-1 codes, comma-separated or as an array (at most 100). zh means cn and tw.not_languagesstringLeave out articles in these languages: ISO 639-1 codes, comma-separated or as an array (at most 100). zh means cn and tw.countriesstringOnly articles from publishers in these countries: ISO 3166-1 alpha-2 codes, comma-separated or as an array (at most 100). Ignored when sources is set.not_countriesstringLeave out articles from publishers in these countries: ISO 3166-1 alpha-2 codes, comma-separated or as an array (at most 100). Ignored when sources is set.sort_bystringThe order of the results: published_at (default) newest first, -published_at oldest first, relevancy best match first, rank best-ranked publisher first.pageintegerPage number, from 1. page x page_size is at most 1,000: a query returns up to its first 1,000 articles.page_sizeintegerArticles per page (1 to 100; a plan may allow fewer: the request is refused with 403 above it).ranked_onlybooleanOnly articles from publishers that have a rank.from_rankintegerOnly publishers ranked at this position or lower (a larger number): the rank is the publisher's traffic rank, 1 being the best. 1 to 999999. Combined with sources, an article that matches either passes.to_rankintegerOnly publishers ranked at this position or better (a smaller number). 1 to 999999.word_count_minintegerOnly articles of at least this many words (0 is a filter too: articles without a word count are left out); must be lower than word_count_max.word_count_maxintegerOnly articles of at most this many words.exclude_duplicatesbooleanLeave out copies of an article that another publisher published first. Off by default: the endpoint returns every match. Needs a window that starts after 2024-05-13 for English only (languages=en) and after 2025-03-17 otherwise.Response types
queryThe query as received (control characters replaced, ends trimmed).stringsearch_in[]stringsort_byThe order of the results.stringtook_msTime the search took on our side, in milliseconds.integerpageThe page of this response.integerpage_sizeThe page size of this response.integertotal_hitsHow many articles match the query in the window (an exact count). A query returns up to its first 1,000 articles, whatever this number is.integertotal_pagesPages you can read: min(total_hits, 1000) divided by page_size, rounded up.integercountNumber of articles on this page.integer