services / news-search
weboperational · 286 ms
News Search
Search recent news articles by keyword. Returns articles with title, url, source, published_at, and snippet. Sources: HackerNews Algolia (tech) + BBC RSS (general/world). Optional category filter: general/tech/business/science/health/politics. Limit max 30. Use for current events, topic monitoring, or market sentiment.
Run free trial ↗3 free calls per day with the example input. Paid: $0.003 USDC, no limit.
Call it
Input
| Field | Type | Description |
|---|---|---|
| query * | string | Search query (e.g. 'artificial intelligence', 'climate change 2026', 'Apple earnings') |
| limit | integer = 10 | Number of articles to return (default: 10, max: 30) |
| category | general | tech | business | science | health | politics = "general" | News category filter. 'tech' searches HackerNews for developer/tech news. Others search BBC + general news feeds. |
Output
| Field | Type | Description |
|---|---|---|
| query | string | The search query |
| articles | array | |
| total_found | integer | Total number of matching articles found (before limit) |
| sources_queried | array | News sources that were searched |
Example response (data)
{
"query": "artificial intelligence",
"articles": [
{
"title": "OpenCode – Open source AI coding agent",
"url": "https://github.com/opencode-ai/opencode",
"source": "Hacker News",
"published_at": "2026-04-10T08:32:00Z",
"snippet": "",
"score": 1274
},
{
"title": "AI breakthroughs in 2026: what's next",
"url": "https://www.bbc.co.uk/news/technology-67890123",
"source": "BBC News",
"published_at": "2026-04-10T06:15:00Z",
"snippet": "Scientists and engineers are pushing the boundaries..."
}
],
"total_found": 48,
"sources_queried": [
"Hacker News",
"BBC News"
]
}