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": 181943,
    "articles": [
        {
            "title": "D.C.’s worst heat wave in its hottest summer is near its peak",
            "description": "Triple-digit highs are possible through Wednesday, and most of the region will be under an excessive-heat warning on Monday and Tuesday with heat indexes of 105-110.",
            "content": "The D.C. region is now in the midst of what could be its hottest, most dangerous heat wave of a summer that is the hottest on record to date. Skip to end of carousel How bad is heat risk near you? We’re tracking dangerous heat waves across the United... [4634 chars]",
            "url": "https://www.washingtonpost.com/weather/2024/07/15/dc-heat-wave-hottest-summer-record/",
            "image": "https://www.washingtonpost.com/wp-apps/imrs.php?src=https://arc-anglerfish-washpost-prod-washpost.s3.amazonaws.com/public/ZP47LDPHGRSW2R2PUHGCA2THTU.jpg&w=1440",
            "publishedAt": "2024-07-15T19:00:20Z",
            "source": {
                "name": "The Washington Post",
                "url": "https://www.washingtonpost.com"
            }
        },
        {
            "title": "Rifle used by Trump rally shooter came from now-closed gun business",
            "description": "The FBI continues to search for a motive and clues in the attempted assassination of Donald Trump by Thomas Matthew Crooks, 20, of Bethel Park, Pa.",
            "content": "Trump rally shooting\nAuthorities say they are seeking clues to why Thomas Matthew Crooks decided to open fire at former president Donald Trump’s rally. Follow live updates and catch up on what we know about the shooting.\nSuspected shooter: The FBI na... [1264 chars]",
            "url": "https://www.washingtonpost.com/nation/2024/07/15/thomas-crooks-trump-assassination-investigation/",
            "image": "https://www.washingtonpost.com/wp-apps/imrs.php?src=https://arc-anglerfish-washpost-prod-washpost.s3.amazonaws.com/public/G7HJA63DPB3MUABE25QTQEHM6A_size-normalized.JPG&w=1440",
            "publishedAt": "2024-07-15T18:11:25Z",
            "source": {
                "name": "The Washington Post",
                "url": "https://www.washingtonpost.com"
            }
        },
        {
            "title": "What Project 2025 could mean for your wallet in a Trump presidency",
            "description": "Project 2025, a blueprint for the next Republican administration, proposes sweeping policy changes that would affect Americans' wallets.",
            "content": "Republican presidential candidate former President Donald Trump speaks at a campaign rally, June 22, 2024, in Philadelphia. Trump is seeking to distance himself from a plan for a massive overhaul of the federal government drafted by some of his admin... [2903 chars]",
            "url": "https://www.cnbc.com/2024/07/15/what-project-2025-could-mean-for-your-wallet-in-a-trump-presidency.html",
            "image": "https://image.cnbcfm.com/api/v1/image/108003347-1720547964837-AP24187628676720.jpg?v=1720548014&w=1920&h=1080",
            "publishedAt": "2024-07-15T16:47:03Z",
            "source": {
                "name": "CNBC",
                "url": "https://www.cnbc.com"
            }
        }
    ]
}

Categories