Flag of the United States

United States News API

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

Get API key for the United States 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=general&apikey=API_KEY
{
    "totalArticles": 94087,
    "articles": [
        {
            "title": "Princess Beatrice’s Ex-Boyfriend Found Dead in Miami Hotel Room",
            "description": "Authorities suspect 41-year-old Paolo Liuzzo may have died following a drug overdose.",
            "content": "Princess Beatrice’s former boyfriend turned up dead in a Miami hotel earlier this year from a suspected drug overdose, Florida cops confirmed to The Daily Beast on Wednesday.\nCops said they were called to a downtown hotel room on Feb. 7 at the citize... [1791 chars]",
            "url": "https://www.thedailybeast.com/princess-beatrices-ex-boyfriend-paolo-liuzzo-found-dead-in-miami-hotel-room",
            "image": "https://img.thedailybeast.com/image/upload/c_crop,d_placeholder_euli9k,h_1688,w_3000,x_0,y_0/dpr_2.0/c_limit,w_740/fl_lossy,q_auto/v1714001807/230424-paolo-liuzzo-tease_slde8k",
            "publishedAt": "2024-04-24T23:42:08Z",
            "source": {
                "name": "The Daily Beast",
                "url": "https://www.thedailybeast.com"
            }
        },
        {
            "title": "Meta loses $200 billion in value, Zuckerberg focuses on AI, metaverse",
            "description": "Meta CEO Mark Zuckerberg spooked investors on the company's quarterly earnings call Wednesday.",
            "content": "Mark Zuckerberg, CEO of Meta testifies before the Senate Judiciary Committee at the Dirksen Senate Office Building on January 31, 2024 in Washington, DC.\nMark Zuckerberg started Meta 's earnings call by talking about artificial intelligence. Then he ... [1860 chars]",
            "url": "https://www.cnbc.com/2024/04/24/meta-loses-200-billion-in-value-zuckerberg-focuses-on-ai-metaverse.html",
            "image": "https://image.cnbcfm.com/api/v1/image/107405795-1713972773743-gettyimages-1975542608-109a8827_foivv0mb.jpeg?v=1713972966&w=1920&h=1080",
            "publishedAt": "2024-04-24T23:40:20Z",
            "source": {
                "name": "CNBC",
                "url": "https://www.cnbc.com"
            }
        },
        {
            "title": "Meadows, Giuliani and other Trump allies charged in Arizona 2020 election probe",
            "description": "The indictments cap a year-long investigation by Arizona Attorney General Kris Mayes (D) into how the 2020 pro-Trump elector strategy played out in Arizona, which Biden won by 10,457 votes.",
            "content": "PHOENIX — An Arizona grand jury on Wednesday indicted seven attorneys and aides affiliated with Donald Trump’s 2020 presidential campaign as well as 11 Arizona Republicans on felony charges related to their alleged efforts to subvert Joe Biden’s 2020... [9500 chars]",
            "url": "https://www.washingtonpost.com/national-security/2024/04/24/arizona-2020-election-charges-meadows-giuliani-ellis/",
            "image": "https://www.washingtonpost.com/wp-apps/imrs.php?src=https://arc-anglerfish-washpost-prod-washpost.s3.amazonaws.com/public/YXUDIIBKUQI6XHBBHTCQDUEYD4.jpg&w=1440",
            "publishedAt": "2024-04-24T23:31:32Z",
            "source": {
                "name": "The Washington Post",
                "url": "https://www.washingtonpost.com"
            }
        }
    ]
}

Categories