API Endpoints

Our API service is hosted at https://api.currentsapi.services and includes the following endpoints:

  • /latest-news: Provides a stream of the latest news worldwide.
  • /search: Enables news search with queries like language, category, keywords, and publication date.

Swagger Demo

Use Swagger to explore and understand API endpoint usage. Before using the endpoints, remember to authorize by entering your API key.
Swagger Documentation

About Swagger

Swagger (now known as OpenAPI) is a language-agnostic specification for describing REST APIs. It enables developers and systems to understand the service capabilities without requiring access to the implementation. OpenAPI allows seamless integration with tools like Postman for better API exploration and testing.

Note:

Due to potential slow response times when rendering large JSON results on the Swagger page, we recommend importing the raw Swagger JSON into Postman for a smoother experience.

Check out this Stack Overflow guide for instructions on importing Swagger APIs into Postman.