anyapi_google_serp_news $0.001238 per call

Google News. Search Google News by keyword and get fresh articles (headlines, sources, links, and publish times) as clean JSON. (AnyAPI · Google Keyword Data)

For AI agents: call anyapi_google_serp_news
POST https://toll402.dev/v1/p/anyapi.google.serp.news
{
 "gl": "us",
 "hl": "en",
 "query": "openai"
}
Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server: npx -y toll402-mcp · remote https://toll402.dev/mcp.

Input schema

{
 "type": "object",
 "properties": {
  "gl": {
   "type": "string",
   "description": "Two-letter country code for result localization (e.g. us, gb, de).",
   "default": "us",
   "examples": [
    "us"
   ]
  },
  "hl": {
   "type": "string",
   "description": "Two-letter interface and results language code (e.g. en, es, de).",
   "default": "en",
   "examples": [
    "en"
   ]
  },
  "limit": {
   "type": "integer",
   "description": "Requested article count (1-20, default 20). Google News returns its latest matching articles and may return more or fewer than requested. Price is flat per request."
  },
  "location": {
   "type": "string",
   "description": "Fine-grained location for result localization, given as a canonical Google location string (e.g. 'New York, United States', 'London, United Kingdom'). More specific than the country-level gl."
  },
  "query": {
   "type": "string",
   "description": "News search query; supports operators like '-', 'OR', and 'site:' (e.g. bitcoin site:cnn.com).",
   "examples": [
    "openai"
   ]
  },
  "timeframe": {
   "type": "string",
   "description": "How far back to search, written as a count plus a unit: h hours, d days, w weeks, m months, y years. So 2h is the last two hours, 30d the last thirty days, 6m the last six months. Omit this field, or send 'all', to search without a time lim"
  }
 },
 "additionalProperties": true,
 "required": [
  "query"
 ]
}

MCP

{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}

All tools · OpenAPI