Flag of Pakistan

Pakistan News API

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

Get API key for the Pakistan 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=general&apikey=API_KEY
{
    "totalArticles": 286860,
    "articles": [
        {
            "id": "b968904aa81421dea2a01c9dd4a03533",
            "title": "TTAP warns army against political role, calls for nationwide protest on Feb 8",
            "description": "Says no country can function without army and intelligence, but their mandate is limited to the Constitution",
            "content": "Tehreek Tahaffuz-e-Ain Pakistan (TTAP) Chairman Mahmood Khan Achakzai on Saturday said the military must remain within its constitutional framework, warning that if it wished to engage in politics, it should relinquish its security role and seek powe... [5537 chars]",
            "url": "https://tribune.com.pk/story/2586449/ttap-warns-army-against-political-role-calls-for-nationwide-protest-on-feb-8",
            "image": "https://i.tribune.com.pk/media/images/ttap-leaders1768066962-0/ttap-leaders1768066962-0-640x480.webp",
            "publishedAt": "2026-01-10T17:55:24Z",
            "lang": "en",
            "source": {
                "id": "dcb907b246e9416f896f3c66fedfc7cd",
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk"
            }
        },
        {
            "id": "d568352d9f3bee0304a6e0d3a86de05d",
            "title": "Idris Elba opens up about his next chapter post recent honour",
            "description": "Idris Elba has opened up about his plans for the future after being awarded a knighthood in the New Year Honours list for his work with young people.The 53-year-old actor was recognised “for...",
            "content": "Idris Elba has opened up about his plans for the future after being awarded a knighthood in the New Year Honours list for his work with young people.\nThe 53-year-old actor was recognised “for services to young people” following his campaign against k... [1032 chars]",
            "url": "https://www.thenews.com.pk/latest/1387943-idris-elba-opens-up-about-his-next-chapter-post-recent-honour",
            "image": "https://www.thenews.com.pk/assets/uploads/2026-01-10/1387943_103919_updates.jpg",
            "publishedAt": "2026-01-10T17:36:08Z",
            "lang": "en",
            "source": {
                "id": "d6d8d1da5b3ea3eb10f02262522a0d6d",
                "name": "The News International",
                "url": "https://www.thenews.com.pk"
            }
        },
        {
            "id": "94ee5ade863ea7ffb5f2425aa54168b3",
            "title": "PSL Sialkot franchise owner Hamza Majeed unveils vision, infrastructure plans and player strategy",
            "description": "Hamza Majid, owner of the newly awarded Pakistan Super League (PSL) franchise based in Sialkot, on Wednesday outlined his ambitious vision",
            "content": "Hamza Majid, owner of the newly awarded Pakistan Super League (PSL) franchise based in Sialkot, on Wednesday outlined his ambitious vision for the team, stressing long-term development, infrastructure investment, merit-based selection, and internatio... [3366 chars]",
            "url": "https://minutemirror.com.pk/psl-sialkot-franchise-owner-hamza-majeed-unveils-vision-infrastructure-plans-and-player-strategy-489116/",
            "image": "https://minutemirror.com.pk//wp-content/uploads/og-cache/29530565c0b3695aaedf35ae20ab8b77.jpg",
            "publishedAt": "2026-01-10T13:23:16Z",
            "lang": "en",
            "source": {
                "id": "3e8c71c8b8f6ffaec3a4b06ce73f1d25",
                "name": "Minute Mirror",
                "url": "https://minutemirror.com.pk"
            }
        }
    ]
}

Categories