Flag of the Spain

Spain World News API

Get the live top world headlines from Spain with our JSON API.

Get API key for the Spain World News API

API Demonstration

This example demonstrates the HTTP request to make and the JSON response you will receive when you use the news api to get the top headlines from Spain.

GET
https://gnews.io/api/v4/top-headlines?country=es&category=world&apikey=API_KEY
{
    "totalArticles": 0,
    "articles": []
}

Categories