search
Find news articles by search query with optional filters for time, source, country, and language to get relevant results.
Instructions
Search news articles by query with an option to limit the results to a specific time range.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query for which to get news. | |
| limit | No | Maximum number of news articles to return. Default: 500 Allowed values: 1-500 | 10 |
| time_published | No | Find news articles published in a specific time range. Default: anytime | |
| source | No | Domain of the source from which to return news articles. Example: cnn.com | |
| country | No | Country code. See all available country codes. Default: US | |
| lang | No | The language to use for the results, specified as a 2-letter language code - see ISO 639-1 alpha-2. Default: en |