Flag of the Spain

Spain News API

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

Get API key for the Spain 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=general&apikey=API_KEY
{
    "totalArticles": 0,
    "articles": []
}

Categories