SERP
Google News
Google News results — headlines, publication sources, timestamps, and article URLs.
POST
$0.01/call/v1/serp/google-newsUsage
const res = await fetch('https://api.yepapi.com/v1/serp/google-news', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({ query: 'artificial intelligence startups', depth: 10 }),
});
const { data } = await res.json();
console.log(data);curl -X POST https://api.yepapi.com/v1/serp/google-news \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "artificial intelligence startups", "depth": 10}'Request Body
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
query | string | Yes | News search query to look up on Google News | — |
depth | number | No | Number of results to return | 10 |
location_code | number | No | Target country code (e.g., 2840 for US). See Location Codes. | 2840 |
language | string | No | ISO language code (e.g., en, es) | "en" |
Response
{
"ok": true,
"data": {
"query": "artificial intelligence startups",
"totalResults": 38000,
"results": [
{
"position": 1,
"type": "newsSearch",
"title": "Exclusive | Startup Targets New Frontier for AI: Construction Drawings",
"url": "https://www.wsj.com/pro/venture-capital/startup-targets-new-frontier-for-ai-construction-drawings-cbf5b51c",
"description": "",
"domain": "www.wsj.com"
},
{
"position": 2,
"type": "newsSearch",
"title": "Venture firm TSVC seeks $120M for targeting physical AI",
"url": "https://www.bizjournals.com/sanjose/news/2026/04/13/tsvc-fund-filing-120-million.html",
"description": "",
"domain": "www.bizjournals.com"
},
{
"position": 3,
"type": "newsSearch",
"title": "Chinese AI startup StepFun to unwind offshore structure to pave way for IPO, sources say",
"url": "https://www.reuters.com/world/china/chinese-ai-startup-stepfun-unwind-offshore-structure-pave-way-ipo-sources-say-2026-04-13/",
"description": "",
"domain": "www.reuters.com"
}
]
}
}Response Fields
| Field | Type | Description |
|---|---|---|
ok | boolean | Whether the request succeeded |
data.query | string | The news search query that was executed |
data.totalResults | number | Estimated total number of news results for the query |
data.results | object[] | Array of news search result items |
data.results[].position | number | Position in news results (1-indexed) |
data.results[].type | string | Result type (typically newsSearch) |
data.results[].title | string | Headline of the news article |
data.results[].url | string | URL of the news article |
data.results[].description | string | Article excerpt or summary (may be empty) |
data.results[].domain | string | Publisher domain (e.g., www.wsj.com, techcrunch.com) |
Under the Hood
Under the hood, this queries our SERP engine. We normalize the response format and flatten nested structures for consistency.