curl --request GET \
--url https://api.newscatcherapi.com/news-api/search \
--header 'x-api-key: <api-key>'import requests
url = "https://api.newscatcherapi.com/news-api/search"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.newscatcherapi.com/news-api/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.newscatcherapi.com/news-api/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.newscatcherapi.com/news-api/search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.newscatcherapi.com/news-api/search")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.newscatcherapi.com/news-api/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"query": "hurricane recovery florida",
"effort": "medium",
"took_ms": 3664,
"window": {
"search_window": "7d",
"hours": 168,
"from": "2026-10-21T14:12:35.408254+00:00",
"to": "2026-10-28T14:12:35.408254+00:00"
},
"count": 1,
"results": [
{
"id": "876a97d2bc58f3c2437ad7b03a06ebfe",
"title": "Major disaster declared in Florida following Hurricane Isaias; federal aid approved",
"language": "en",
"url": "https://www.fox10tv.com/2026/10/28/major-disaster-declared-florida-following-hurricane-isaias-federal-aid-approved",
"source": {
"domain": "fox10tv.com",
"name": "FOX10News"
},
"published_at": "2026-10-28T01:05:37+00:00",
"crawled_at": "2026-10-28T01:06:57+00:00",
"content_type": "news_report",
"story": {
"id": "6f1c2b0e-2f0f-4d52-9a0b-5d0e8a5f9d11",
"newsrooms": 40
},
"score": 36.1871,
"country": "US",
"snippet": "President Donald J. Trump approved a Major Disaster Declaration for Florida on Tuesday, releasing federal funding to assist with recovery…",
"summary": "Trump approved a major disaster declaration for Florida after Hurricane Isaias, unlocking federal recovery funds."
}
]
}Search news
Ranked real-news articles for a request in plain words or with keywords, grouped into stories.
See Effort levels, Filters and sorting, Writing queries and Credits and pricing.
curl --request GET \
--url https://api.newscatcherapi.com/news-api/search \
--header 'x-api-key: <api-key>'import requests
url = "https://api.newscatcherapi.com/news-api/search"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.newscatcherapi.com/news-api/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.newscatcherapi.com/news-api/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.newscatcherapi.com/news-api/search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.newscatcherapi.com/news-api/search")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.newscatcherapi.com/news-api/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"query": "hurricane recovery florida",
"effort": "medium",
"took_ms": 3664,
"window": {
"search_window": "7d",
"hours": 168,
"from": "2026-10-21T14:12:35.408254+00:00",
"to": "2026-10-28T14:12:35.408254+00:00"
},
"count": 1,
"results": [
{
"id": "876a97d2bc58f3c2437ad7b03a06ebfe",
"title": "Major disaster declared in Florida following Hurricane Isaias; federal aid approved",
"language": "en",
"url": "https://www.fox10tv.com/2026/10/28/major-disaster-declared-florida-following-hurricane-isaias-federal-aid-approved",
"source": {
"domain": "fox10tv.com",
"name": "FOX10News"
},
"published_at": "2026-10-28T01:05:37+00:00",
"crawled_at": "2026-10-28T01:06:57+00:00",
"content_type": "news_report",
"story": {
"id": "6f1c2b0e-2f0f-4d52-9a0b-5d0e8a5f9d11",
"newsrooms": 40
},
"score": 36.1871,
"country": "US",
"snippet": "President Donald J. Trump approved a Major Disaster Declaration for Florida on Tuesday, releasing federal funding to assist with recovery…",
"summary": "Trump approved a major disaster declaration for Florida after Hurricane Isaias, unlocking federal recovery funds."
}
]
}Authorizations
Query Parameters
What 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.
1 - 500"Tesla recall NOT Cybertruck"
How 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.
low, medium, high "medium"
The 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.
relevancy, published_at, crawled_at "relevancy"
How 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.
A number and a unit: minutes (m, min, minute, minutes), hours (h, hr, hour, hours), days (d, day, days) or weeks (w, week, weeks).
^\s*\d+(\.\d+)?\s*[a-zA-Z]+\s*$"7d"
"2h"
"15m"
"1 day"
"2 hours"
"15 minutes"
Only 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). Comma-separated values.
"reuters.com,bbc.co.uk"
Response
The articles, best first. count is 0 and results empty when nothing matched.
The articles that match a search, with the window that was searched.
Was this page helpful?

