topic_news_by_section
Retrieve news articles from a specified section of a topic or publication using section IDs. Filter by country, language, and limit for targeted coverage.
Instructions
Get news article in a specific section of a topic (World, Sports, Technology, etc) or publication (CNN, BBC, etc).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | Topic or publication for which to get news headlines. Available topics: WORLD NATIONAL BUSINESS TECHNOLOGY ENTERTAINMENT SPORTS SCIENCE HEALTH In addition, topic / publication IDs are also accepted and can be taken from a News topic URL as it appears after the topics/ or publications/ path part (e.g. Football Topic - /topics/CAAqJQgKIh9DQkFTRVFvSUwyMHZNREoyZURRU0JXVnVMVWRDS0FBUAE) | |
| section | Yes | Example value: CAQiSkNCQVNNUW9JTDIwdk1EZGpNWFlTQldWdUxVZENHZ0pKVENJT0NBUWFDZ29JTDIwdk1ETnliSFFxQ2hJSUwyMHZNRE55YkhRb0FBKi4IACoqCAoiJENCQVNGUW9JTDIwdk1EZGpNWFlTQldWdUxVZENHZ0pKVENnQVABUAE | |
| limit | No | Maximum number of news articles to return. Default: 500 Allowed values: 1-500 | 500 |
| 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 |