Google News API

Google Search / News

Google Search / News API

Query Google web search results or Google News articles by keyword, returned as structured JSON (title, link, snippet, etc.). Authenticate with your developer key (dev_key query, or Authorization: Bearer YOUR_DEV_KEY), or a logged-in web session. Both are GET; the q (query) parameter is required. Successful calls deduct credits automatically; failed or empty results are not charged.

GET /en/api/google/search

Google web search, returns results (each with title / link / snippet). Optional: hl UI language, gl region, lr result language, cr source country, tbm type (nws news / isch images...), tbs filters such as time (qdr:d past day / qdr:w past week...).

curl "https://www.myai168.com/en/api/google/search?q=Trump&hl=en&gl=us" \
  -H "Authorization: Bearer YOUR_DEV_KEY"
import requests

r = requests.get(
    "https://www.myai168.com/en/api/google/search",
    headers={"Authorization": "Bearer YOUR_DEV_KEY"},
    params={"q": "Trump", "hl": "en", "gl": "us"},
)
print(r.json())

GET /en/api/google/news

Google News, returns news articles (each with title / link / source / date; links are resolved to the original article URL when possible). Optional: hl UI language, gl region, ceid (format country:language, e.g. US:en), num number of results (1-20, default 10).

curl "https://www.myai168.com/en/api/google/news?q=Taiwan&hl=en&gl=us&num=10" \
  -H "Authorization: Bearer YOUR_DEV_KEY"
import requests

r = requests.get(
    "https://www.myai168.com/en/api/google/news",
    headers={"Authorization": "Bearer YOUR_DEV_KEY"},
    params={"q": "Taiwan", "hl": "en", "gl": "us", "num": "10"},
)
print(r.json())

Other FAQ pages

  • FAQ
  • Account
  • Features
  • Privacy
  • OpenAI ChatGPT API
  • Anthropic Claude API
  • Google Gemini API
  • OpenRouter API
  • API Pricing
  • OpenCode
  • OpenClaw
  • Hermes Agent
  • Claude Code CLI
  • Codex CLI
  • MYAI168 MCP CLI
  • MYAI168 MCP Web & App