Flag of the Pakistan

Pakistan Nation News API

Get the live top nation headlines from Pakistan with our JSON API.

Get API key for the Pakistan 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 Pakistan.

GET
https://gnews.io/api/v4/top-headlines?country=pk&category=nation&apikey=API_KEY
{
    "totalArticles": 80283,
    "articles": [
        {
            "title": "'Love-sick' US woman diagnosed with bipolar disorder",
            "description": "'Love-sick' US woman diagnosed with bipolar disorder",
            "content": "Onija Andrew Robbins, a 35-year-old American woman who travelled to the metropolis driven by her love for a 19-year-old Pakistani man, has been diagnosed with bipolar disorder apart from other health issues.\nRobbins - who refuses to return to the Uni... [1193 chars]",
            "url": "https://tribune.com.pk/story/2526659/love-sick-us-woman-diagnosed-with-bipolar-disorder",
            "image": "https://i.tribune.com.pk/media/images/onijah1738675482-0/onijah1738675482-0.png",
            "publishedAt": "2025-02-05T03:55:08Z",
            "source": {
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk"
            }
        },
        {
            "title": "Police official shot dead in Quetta",
            "description": "QUETTA: Unknown armed men shot dead the assistant superintendent of Quetta district jail on Tuesday. Police said...",
            "content": "QUETTA: Unknown armed men shot dead the assistant superintendent of Quetta district jail on Tuesday.\nPolice said Muhammad Qasim Raisani was targeted on the busy jail road of the provincial capital when he was on way to district jail in his car for du... [517 chars]",
            "url": "https://www.dawn.com/news/1889841/police-official-shot-dead-in-quetta",
            "image": "https://www.dawn.com/_img/social-default.jpg",
            "publishedAt": "2025-02-05T02:22:01Z",
            "source": {
                "name": "DAWN.com",
                "url": "https://www.dawn.com"
            }
        },
        {
            "title": "President Zardari arrives in China",
            "description": "BEIJING: President Asif Ali Zardari on Tuesday arrived in China on a five-day official visit on the invitation of...",
            "content": "President Asif Ali Zardari is being welcomed by Chinese Finance Minister Lan Foan at Beijing International Airport.—APP\nBEIJING: President Asif Ali Zardari on Tuesday arrived in China on a five-day official visit on the invitation of Chinese Presiden... [1087 chars]",
            "url": "https://www.dawn.com/news/1889842/president-zardari-arrives-in-china",
            "image": "https://i.dawn.com/large/2025/02/67a29abd1bda7.jpg",
            "publishedAt": "2025-02-05T02:22:01Z",
            "source": {
                "name": "DAWN.com",
                "url": "https://www.dawn.com"
            }
        }
    ]
}

Categories