Flag of the United States

United States Nation News API

Get the live top nation headlines from United States with our JSON API.

Get API key for the United States Nation 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 United States.

GET
https://gnews.io/api/v4/top-headlines?country=us&category=nation&apikey=API_KEY
{
    "totalArticles": 189301,
    "articles": [
        {
            "title": "Georgia Supreme Court maintains block on controversial election rules from Trump allies",
            "description": "The Georgia Supreme Court won’t let the state election board enforce a slate of controversial new election rules that were passed by allies of Donald Trump, ruling Tuesday against Republicans who asked for them to be revived as early voting got underway in the critical battleground state.",
            "content": "CNN —\nThe Georgia Supreme Court won’t let the state election board enforce a slate of controversial new election rules that were passed by allies of Donald Trump, ruling Tuesday against Republicans who asked for them to be revived as early voting got... [4356 chars]",
            "url": "https://www.cnn.com/2024/10/22/politics/georgia-supreme-court-maintains-block-on-controversial-new-election-rules/index.html",
            "image": "https://media.cnn.com/api/v1/images/stellar/prod/c-ap24121610846153.jpg?c=16x9&q=w_800,c_fill",
            "publishedAt": "2024-10-22T21:24:00Z",
            "source": {
                "name": "CNN",
                "url": "https://www.cnn.com"
            }
        },
        {
            "title": "Harris says ‘of course’ her team is prepared if Trump declares victory before votes are counted",
            "description": "In an interview with NBC News’ Hallie Jackson on Tuesday, Vice President Kamala Harris said she's preparing for the possibility that former President Donald Trump declares victory before the votes are counted next month.",
            "content": "In an interview with NBC News’ Hallie Jackson on Tuesday, Vice President Kamala Harris said she's preparing for the possibility that former President Donald Trump declares victory before the votes are counted next month.\nSitting down at her official ... [2152 chars]",
            "url": "https://www.nbcnews.com/politics/2024-election/harris-says-course-team-prepared-trump-declares-victory-votes-are-coun-rcna176674",
            "image": "https://media-cldnry.s-nbcnews.com/image/upload/t_nbcnews-fp-1200-630,f_auto,q_auto:best/rockcms/2024-10/241022-hallie-jackson-kamala-harris-1-ew-453p-afbc2c.jpg",
            "publishedAt": "2024-10-22T21:14:40Z",
            "source": {
                "name": "NBC News",
                "url": "https://www.nbcnews.com"
            }
        },
        {
            "title": "Donald Trump files legal complaint against UK Labour Party over help for Kamala Harris",
            "description": "Almost 100 Labour Party aides have traveled across the Atlantic to campaign for the US Democrats.",
            "content": "But the Trump campaign questioned those sums in its formal letter to the Federal Election Commission, arguing the LinkedIn post suggested Labour could be stumping up costs for the activists.\n“Those searching for foreign interference in our elections ... [1246 chars]",
            "url": "https://www.politico.eu/article/donald-trump-legal-complaint-uk-labour-party-kamala-harris-us-election/",
            "image": "https://www.politico.eu/cdn-cgi/image/width=1200,height=630,fit=crop,quality=80,onerror=redirect/wp-content/uploads/2024/10/22/GettyImages-2180104912-scaled.jpg",
            "publishedAt": "2024-10-22T20:50:44Z",
            "source": {
                "name": "POLITICO Europe",
                "url": "https://www.politico.eu"
            }
        }
    ]
}

Categories