Everything
everythingSearch the NewsAPI article archive by keyword q, source domains, date range (from/to), or language. Sortable by relevancy, popularity, or publishedAt. Returns article title, description, source, content snippet, URL, and published date.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"q": "artificial intelligence",
"sortBy": "publishedAt",
"pageSize": 20
},
"name": "everything"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | ||
| to | No | ||
| from | No | ||
| page | No | ||
| sortBy | No | ||
| domains | No | ||
| sources | No | ||
| language | No | ||
| pageSize | No | ||
| qInTitle | No | ||
| excludeDomains | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | API response status | |
| articles | No | Array of article objects | |
| totalResults | No | Total number of results available |