Google News API
curl --request POST \
--url https://api.socq.ai/v1/seo/google-news \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>",
"callback_url": "<string>",
"language": "<string>",
"language_code": "<string>",
"location_code": 2,
"location_name": "<string>",
"results_limit": 10
}
'import requests
url = "https://api.socq.ai/v1/seo/google-news"
payload = {
"query": "<string>",
"callback_url": "<string>",
"language": "<string>",
"language_code": "<string>",
"location_code": 2,
"location_name": "<string>",
"results_limit": 10
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
query: '<string>',
callback_url: '<string>',
language: '<string>',
language_code: '<string>',
location_code: 2,
location_name: '<string>',
results_limit: 10
})
};
fetch('https://api.socq.ai/v1/seo/google-news', 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.socq.ai/v1/seo/google-news",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => '<string>',
'callback_url' => '<string>',
'language' => '<string>',
'language_code' => '<string>',
'location_code' => 2,
'location_name' => '<string>',
'results_limit' => 10
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.socq.ai/v1/seo/google-news"
payload := strings.NewReader("{\n \"query\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"language\": \"<string>\",\n \"language_code\": \"<string>\",\n \"location_code\": 2,\n \"location_name\": \"<string>\",\n \"results_limit\": 10\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.socq.ai/v1/seo/google-news")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"language\": \"<string>\",\n \"language_code\": \"<string>\",\n \"location_code\": 2,\n \"location_name\": \"<string>\",\n \"results_limit\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.socq.ai/v1/seo/google-news")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"language\": \"<string>\",\n \"language_code\": \"<string>\",\n \"location_code\": 2,\n \"location_name\": \"<string>\",\n \"results_limit\": 10\n}"
response = http.request(request)
puts response.read_body{
"code": 200,
"data": {
"task_id": "<string>",
"status": "<string>",
"created_time": "<string>"
}
}{
"code": 422,
"error": {
"message": "<string>",
"type": "<string>",
"details": {}
}
}SEO
Google News
Collect Google News articles for any query with publisher, direct link, snippet and publish time.
POST
/
v1
/
seo
/
google-news
Google News API
curl --request POST \
--url https://api.socq.ai/v1/seo/google-news \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>",
"callback_url": "<string>",
"language": "<string>",
"language_code": "<string>",
"location_code": 2,
"location_name": "<string>",
"results_limit": 10
}
'import requests
url = "https://api.socq.ai/v1/seo/google-news"
payload = {
"query": "<string>",
"callback_url": "<string>",
"language": "<string>",
"language_code": "<string>",
"location_code": 2,
"location_name": "<string>",
"results_limit": 10
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
query: '<string>',
callback_url: '<string>',
language: '<string>',
language_code: '<string>',
location_code: 2,
location_name: '<string>',
results_limit: 10
})
};
fetch('https://api.socq.ai/v1/seo/google-news', 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.socq.ai/v1/seo/google-news",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => '<string>',
'callback_url' => '<string>',
'language' => '<string>',
'language_code' => '<string>',
'location_code' => 2,
'location_name' => '<string>',
'results_limit' => 10
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.socq.ai/v1/seo/google-news"
payload := strings.NewReader("{\n \"query\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"language\": \"<string>\",\n \"language_code\": \"<string>\",\n \"location_code\": 2,\n \"location_name\": \"<string>\",\n \"results_limit\": 10\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.socq.ai/v1/seo/google-news")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"language\": \"<string>\",\n \"language_code\": \"<string>\",\n \"location_code\": 2,\n \"location_name\": \"<string>\",\n \"results_limit\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.socq.ai/v1/seo/google-news")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"language\": \"<string>\",\n \"language_code\": \"<string>\",\n \"location_code\": 2,\n \"location_name\": \"<string>\",\n \"results_limit\": 10\n}"
response = http.request(request)
puts response.read_body{
"code": 200,
"data": {
"task_id": "<string>",
"status": "<string>",
"created_time": "<string>"
}
}{
"code": 422,
"error": {
"message": "<string>",
"type": "<string>",
"details": {}
}
}Google News
Monitor the press for a company, a product or a topic in any market Google News covers. Results keep Google’s order with the top stories carousel first, and every article comes with its headline, snippet, publisher, publish time and a direct link to the publisher’s own page rather than a Google redirect. Feed it into media monitoring, competitor alerts or a daily news digest.{
"query": "nvidia",
"location_code": 2840,
"language_code": "en",
"results_limit": 10
}
Standard Result Fields
Task results use the stable SocQ fields below. Source-specific field names and formats are normalized without inferring or enriching values that the source did not provide. To request a smaller field set, usefields for MCP queries, _result_fields for typed tools, or --result-fields in the CLI. Declared fields remain present when their value is null.
| Field | Type | Nullable | Description |
|---|---|---|---|
id | string | Yes | URL of the article, used as the identifier. |
platform | string | No | Platform the result belongs to, such as instagram or linkedin. |
resource | string | No | SocQ resource represented by the result, such as videos or comments. |
type | string | No | Category of the result item, such as video, post, or comment. |
url | string | Yes | URL of the article on the publisher’s site. |
published_at | string | Yes | Time the article was published, in ISO 8601 format. |
collected_at | string | No | Time SocQ collected or processed this result, in ISO 8601 format. |
title | string | Yes | Headline of the article. |
text | string | Yes | Snippet shown under the headline. |
source | string | Yes | Publisher of the article, such as Reuters. |
domain | string | Yes | Domain of the publisher’s site. |
image_url | string | Yes | URL of the article’s thumbnail image, when public. |
section | string | Yes | Where the article was shown: top_stories or news. |
rank | integer | Yes | Position of the article in the results, top stories first, starting at 1. |
query | string | Yes | Search query the results are for. |
Completed Task Response
{
"code": 200,
"data": {
"task_id": "example-seo-google-news",
"status": "succeeded",
"public_id": "seo/google-news",
"result_count": 1,
"credits_amount": 0.1,
"results": {
"limit": 50,
"next_cursor": null,
"has_more": false,
"schema_id": "news-article",
"schema_version": "1.0",
"items": [
{
"id": "https://finance.yahoo.com/technology/live/nvidia-earnings-live-nvidia-posts-q3-beat-board-says-it-will-not-reinstate-jensen-huang-as-ceo-221428433.html",
"platform": "seo",
"resource": "google-news",
"type": "news-article",
"url": "https://finance.yahoo.com/technology/live/nvidia-earnings-live-nvidia-posts-q3-beat-board-says-it-will-not-reinstate-jensen-huang-as-ceo-221428433.html",
"published_at": "2026-11-17T23:30:16Z",
"collected_at": "2026-11-17T23:54:18.299431Z",
"title": "Nvidia earnings live: Nvidia posts Q3 beat as revenue rose 103% YOY to $115.8B, board says it will not reinstate Jensen Huang as CEO",
"text": "Nvidia (NVDA) reported its Q3 results after the bell Tuesday, beating Wall Street's expectations on the top and bottom lines and offering a...",
"source": "finance.yahoo.com",
"domain": "finance.yahoo.com",
"image_url": null,
"section": "news",
"rank": 1,
"query": "nvidia"
}
]
}
}
}
Authorizations
bearerAuthapiKeyAuth
Body
application/json
Provide a search query in query. Each row is one article from Google News, top stories first, with its publisher, link, snippet and publish time. results_limit defaults to 10 and accepts integers from 1 to 200.

