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": 173542,
    "articles": [
        {
            "title": "Trump meets with foreign leaders looking to boost their relationships with GOP leader ahead of election",
            "description": "Donald Trump no longer commands the trappings of White House state dinners to host foreign dignitaries or the flight itinerary of Air Force One to meet them abroad, but that hasn’t stopped the former president from huddling with world leaders eager to bolster their relationship with the presumptive Republican nominee amid another close presidential election campaign.",
            "content": "CNN —\nDonald Trump no longer commands the trappings of White House state dinners to host foreign dignitaries or the flight itinerary of Air Force One to meet them abroad, but that hasn’t stopped the former president from huddling with world leaders e... [8814 chars]",
            "url": "https://www.cnn.com/2024/04/24/politics/trump-meets-with-foreign-leaders/index.html",
            "image": "https://media.cnn.com/api/v1/images/stellar/prod/240423163757-01-trump-hush-money-unf.jpg?c=16x9&q=w_800,c_fill",
            "publishedAt": "2024-04-24T10:00:00Z",
            "source": {
                "name": "CNN",
                "url": "https://www.cnn.com"
            }
        },
        {
            "title": "Pro-Palestine students occupy UT Dallas’ building demanding action amid Gaza conflict",
            "description": "Protesting UT Dallas students said they want the university to pull investments from companies that “are producing the jets, the missiles and the bombs that...",
            "content": "About 100 pro-Palestine students at the University of Texas at Dallas held a sit-in along the hallway that leads to the school president’s office late into Tuesday.\nThe students’ main demand is for the university to pull investments from companies th... [4004 chars]",
            "url": "https://www.dallasnews.com/news/education/2024/04/23/pro-palestine-students-occupy-ut-dallas-building-demanding-action-amid-gaza-conflict/",
            "image": "https://dmn-dallas-news-prod.cdn.arcpublishing.com/resizer/v2/IHJUTEJHBBFVRFCYEUZFGIZSQ4.jpg?auth=788e7206bc9e15a0766b857689cef806ea52d27f1b9edef44980f657396ba497&height=467&width=830&smart=true",
            "publishedAt": "2024-04-24T04:18:45Z",
            "source": {
                "name": "The Dallas Morning News",
                "url": "https://www.dallasnews.com"
            }
        },
        {
            "title": "David Gietzen Sentenced to 6 Years in Prison for Jan. 6 Role",
            "description": "The man, David Joseph Gietzen, was found guilty of committing five felonies during the January 2021 attack on the Capitol. He failed to show up in court.",
            "content": "A North Carolina man who failed to show up in court after being found guilty last year of assaulting police officers during the Jan. 6, 2021, attack on the Capitol was sentenced on Tuesday to six years in prison, a spokeswoman for the Justice Departm... [856 chars]",
            "url": "https://www.nytimes.com/2024/04/23/us/jan-6-sentencing-david-gietzen.html",
            "image": "https://static01.nyt.com/images/2024/04/23/nyregion/23xp-capitol2/23xp-capitol2-facebookJumbo.jpg",
            "publishedAt": "2024-04-24T03:43:04Z",
            "source": {
                "name": "The New York Times",
                "url": "https://www.nytimes.com"
            }
        }
    ]
}

Categories