Latest News Endpoint
The Latest News Endpoint of the Currents News API provides a real-time stream of international news articles from diverse sources. Use this endpoint to fetch the most recent news and stay updated on global events.
https://api.currentsapi.services/v1/latest-news
Request Parameters
-
language: Filter news by language.
- Valid Values: Supported language codes are available at /v1/available/languages.
- Default: en (English)
Response Object
- status: Indicates whether the request was successful (ok) or failed (error).
-
news: A list of news articles. Each article contains the following attributes:
- title: The headline of the news article.
- image: URL of the associated image, if available.
- published: The publication date and time.
- description: A brief summary of the article.
- category: The category or genre of the news.
- author: The author of the news article, if available.
The Currents News API also provides endpoints for retrieving lists of supported languages, regions, and categories for filtering news:
- /v1/available/categories: Get a list of news categories.
- /v1/available/regions: Get a list of supported country codes for regional filtering.
- /v1/available/languages: Get a list of valid language codes.