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": 147150,
    "articles": [
        {
            "title": "Jeffrey Clark: Trump-era DOJ official can't move Georgia election charges to federal court, judge rules",
            "description": "Trump-era Justice Department official Jeffrey Clark cannot move his Georgia election subversion case from state to federal court, a judge ruled Friday.",
            "content": "CNN —\nTrump-era Justice Department official Jeffrey Clark cannot move his Georgia election subversion case from state to federal court, a judge ruled Friday.\nThe ruling from US District Judge Steve Jones is the latest blow to the Georgia defendants w... [2124 chars]",
            "url": "https://www.cnn.com/2023/09/29/politics/jeffrey-clark-fulton-county-removal/index.html",
            "image": "https://media.cnn.com/api/v1/images/stellar/prod/221216181027-jeffrey-clark-file-091420.jpg?c=16x9&q=w_800,c_fill",
            "publishedAt": "2023-09-29T18:52:00Z",
            "source": {
                "name": "CNN",
                "url": "https://www.cnn.com"
            }
        },
        {
            "title": "Pava LaPere killing: New details emerge about the slaying of Baltimore tech CEO and the suspect in her killing",
            "description": "Just moments before police believe Baltimore tech executive Pava LaPere was killed, surveillance footage captured her alleged attacker following her into the elevator of her apartment building where her body would be discovered on the roof days later, court documents say.",
            "content": "CNN —\nJust moments before police believe Baltimore tech executive Pava LaPere was killed, surveillance footage captured her alleged attacker following her into the elevator of her apartment building where her body would be discovered on the roof days... [5793 chars]",
            "url": "https://www.cnn.com/2023/09/29/us/baltimore-tech-ceo-killing-pava-lapere-friday/index.html",
            "image": "https://media.cnn.com/api/v1/images/stellar/prod/230929040228-04-pava-lapere.jpg?c=16x9&q=w_800,c_fill",
            "publishedAt": "2023-09-29T18:17:00Z",
            "source": {
                "name": "CNN",
                "url": "https://www.cnn.com"
            }
        },
        {
            "title": "Metro train derails between Potomac Yard, National Airport",
            "description": "A Metrorail train derailed late Friday morning between the Potomac Yard and National Airport stations in Northern Virginia, transit officials said. No one was...",
            "content": "A Metrorail train derailed late Friday morning between the Potomac Yard and National Airport stations in Northern Virginia, transit officials said.\nNo one was injured, they said.\nThe train was heading toward Potomac Yard when it derailed just south o... [6027 chars]",
            "url": "https://www.nbcwashington.com/news/local/transportation/metro-train-derails-between-potomac-yard-national-airport-no-injuries-reported/3433532/",
            "image": "https://media.nbcwashington.com/2023/09/image-33-6.png?resize=1200%2C675&quality=85&strip=all",
            "publishedAt": "2023-09-29T17:22:10Z",
            "source": {
                "name": "NBC4 Washington",
                "url": "https://www.nbcwashington.com"
            }
        }
    ]
}

Categories