search_articles
Search for news articles by keywords, with filters for language, publisher, and date range to narrow results.
Instructions
Find articles by keywords and allows you to filter by country, language, publisher, and date to get specific result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Just type what you're looking for, like cats or weather. If you want to exclude term, just add minus (-) in front of any term (nasa -moon). | |
| language | Yes | example: en, fr, de, zh-Hant. Check out the Supported Languages endpoint to see a list of all the languages you can search for. | |
| publisher | No | A domain of the news source. Example: cnn.com | |
| from | No | Accepts human-readable formats like 1d for 1 day, 1m for 1 month, 1y for 1 year, as well as ISO 8601, RFC 2822, and Unix timestamp formats. | |
| to | No | Accepts human-readable formats like 1d for 1 day, 1m for 1 month, 1y for 1 year, as well as ISO 8601, RFC 2822, and Unix timestamp formats. | |
| limit | No | This parameter controls the maximum number of articles returned on a single page. | 0 |
| page | No | This parameter specifies the page number you want to access. For example, page=2 will return the second page of results. | 0 |