get_random_article
Randomly select a news article, optionally filtered by language, topic, and output type, to find new content.
Instructions
This endpoint gives you the ability to find new and engaging content by randomly selecting an article, with the option to filter by country or language.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | example: en, fr, de, zh-Hant. Check out the Supported Languages endpoint to see a list of all the languages you can search for. | |
| topic | No | The topic of interest, example: General, Politics, Sports, or a subtopic Soccer. Check out the Supported Topics endpoint to see a list of all the topics you can search for. | |
| type | No | The article content output type can be specified as eitherhtml or plaintext. The default output type is plaintext. Note: The content is accessible only to users who have a valid subscription plan. |