Flag of the United States

United States Science News API

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

Get API key for the United States Science 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=science&apikey=API_KEY
{
    "totalArticles": 7481,
    "articles": [
        {
            "title": "My husband just confirmed the grudge I suspected he held against our daughter",
            "description": "He doesn't even seem ashamed.",
            "content": "Slate Plus members get more Care and Feeding every week. Have a question about kids, parenting, or family life? Submit it here!\nDear Care and Feeding,\nMy husband admitted to me, unprompted, that he prefers our son over our daughter.\nI don’t know what... [2476 chars]",
            "url": "https://slate.com/human-interest/2024/02/husband-daughter-grudge-pregnancy-parenting-advice.html",
            "image": "https://compote.slate.com/images/e10c623c-9131-40ac-8710-9bbb90abf853.jpeg?crop=1560%2C1040%2Cx0%2Cy0&width=1560",
            "publishedAt": "2024-02-23T19:52:00Z",
            "source": {
                "name": "Slate",
                "url": "https://slate.com"
            }
        },
        {
            "title": "Physicists Have Figured Out a Way to Measure Gravity on a Quantum Scale",
            "description": "Acting on a tiny particle levitating in a magnetic trap, physicists have just measured the smallest gravitational pull ever recorded.",
            "content": "Acting on a tiny particle levitating in a magnetic trap, physicists have just measured the smallest gravitational pull ever recorded.\nThe particle weighed just 0.43 grams. And the strength of the gravitational force at play was on the scale of attone... [3195 chars]",
            "url": "https://www.sciencealert.com/physicists-have-figured-out-a-way-to-measure-gravity-on-a-quantum-scale",
            "image": "https://www.sciencealert.com/images/2024/02/quantum-gravity.jpg",
            "publishedAt": "2024-02-23T19:01:20Z",
            "source": {
                "name": "ScienceAlert",
                "url": "https://www.sciencealert.com"
            }
        },
        {
            "title": "I know how to escape my dry spell but I can't bring myself to do it",
            "description": "I need to get out of my head about this.",
            "content": "How to Do It is Slate’s sex advice column. Have a question? Send it to Jessica and Rich here. It’s anonymous!\nDear How to Do It,\nI (30s F) have very long dry spells with my boyfriend (thinks entire months at a time).\nIt’s mostly because I’m not typic... [2061 chars]",
            "url": "https://slate.com/human-interest/2024/02/dry-spell-sex-fix-advice.html",
            "image": "https://compote.slate.com/images/4a102412-18f1-4421-b2a5-b124e9f47114.gif?crop=1560%2C1040%2Cx0%2Cy0&width=1560",
            "publishedAt": "2024-02-23T17:00:00Z",
            "source": {
                "name": "Slate",
                "url": "https://slate.com"
            }
        }
    ]
}

Categories