{"uid":"cap_yLcsspDcuNCm__PWp-Eeq","slug":"news-search-api-recent-headlines-by-topic-company-person-or-token-5170cca6","name":"News Search API (Recent Headlines by Topic, Company, Person, or Token)","description":"Search recent news about any topic, company, person or token: headline, source, link, publish time. Filter by language, country and age (when=1h, 1d, 7d).","url":"https://api.agent-data.workers.dev/api/v1/news/search?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string"},"lang":{"type":"string"},"when":{"type":"string"},"limit":{"type":"integer","maximum":100,"minimum":1},"country":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"count":1,"items":[{"link":"https://news.google.com/...","title":"Solana ETF sees record inflows","source":"Reuters","published":"Tue, 03 Nov 2026 12:00:00 GMT"}],"query":"solana ETF","source":"google_news"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IU6Fj1pLcZQR0Sh7aPnEl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search recent news articles by keyword query with optional filters for language, country, and time window, returning headline, source, link, and publish time.","exampleAgentPrompt":"Can you find me the latest news about Solana ETFs from the past 24 hours — give me up to 10 results in English?","exampleUseCases":[{"title":"Token due diligence news check","prompt":"Search for recent news about the token PEPE from the last 7 days — I want to see any headlines about rug pulls, partnerships, or exchange listings, up to 20 results in English."},{"title":"Competitor press monitoring","prompt":"Find me the latest news articles about Coinbase published in the last day — I want headlines, sources, and links so I can see what's being said about them right now."},{"title":"Macro crypto market briefing","prompt":"Pull the top 10 English-language news stories about Bitcoin ETF inflows from the past 24 hours so I can get a quick read on today's market sentiment."}],"resultDescription":"A JSON object containing the original query string, the data source (google_news), a count of returned items, and an array of news items each with a title, source name, article link, and RFC-formatted publish timestamp.","failureModes":["Missing required 'q' parameter returns a 400 error","Invalid 'when' format (not 1h/1d/7d) may return no results or an error","Unsupported language or country code may yield empty results","Limit values outside 1–100 range are rejected by schema validation","Queries about very niche or obscure topics may return zero results","Rate limiting or payment failure (x402) may block the request"],"whenToPreferThis":"Choose this endpoint when you need fast, recent news search across any topic, company, person, or crypto token with flexible time filtering (last hour, day, or week). It is ideal for agents doing real-time research, due diligence, or market monitoring without needing a dedicated news API key. Prefer it over scraping or general web search when you want structured, pre-parsed headline data with source attribution and publish times.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-14T18:35:41.541Z","isFirstParty":false,"canonicalSlug":"news-search-api-recent-headlines-by-topic-company-person-or-token-5170cca6"}