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": 374946,
    "articles": [
        {
            "id": "3d2a78cac2d696af46db3e953e3953b2",
            "title": "Saudi Arabia, Turkiye, Egypt and Pakistan FMs meeting underway to ease Mideast tensions",
            "description": "Meeting to focus on easing tensions amid Middle East war.Islamabad mediates between Iran, US as conflict drags on.PM Shehbaz holds detailed call with Iran's president.A two-day quadrilateral meeting of foreign ministers from...",
            "content": "Meeting to focus on easing tensions amid Middle East war.\nIslamabad mediates between Iran, US as conflict drags on.\nPM Shehbaz holds detailed call with Iran’s president.\nA two-day quadrilateral meeting of foreign ministers from Saudi Arabia, Turkiye,... [5560 chars]",
            "url": "https://www.geo.tv/latest/657632-pakistan-hosts-quadrilateral-meeting-to-discuss-middle-east-tensions",
            "image": "https://www.geo.tv/assets/uploads/2026-03-29/657632_053558_updates.jpg",
            "publishedAt": "2026-03-29T12:11:02Z",
            "lang": "en",
            "source": {
                "id": "5ad70e3bec873715a6b65792194fa25b",
                "name": "geo.tv",
                "url": "https://www.geo.tv"
            }
        },
        {
            "id": "e85d6c168a994966c072466e68acdf09",
            "title": "New study shows dark spots in light waves outrunning the speed of light",
            "description": "Researchers have achieved a recent breakthrough, transforming a 50-year-old theory into experimental reality. They successfully measured vortices within light waves- locations where the...",
            "content": "Researchers have achieved a recent breakthrough, transforming a 50-year-old theory into experimental reality. They successfully measured vortices within light waves- locations where the wave’s amplitude drops to zero, essentially tiny holes of comple... [1425 chars]",
            "url": "https://www.thenews.com.pk/latest/1397067-new-study-shows-dark-spots-in-light-waves-outrunning-the-speed-of-light",
            "image": "https://www.thenews.com.pk/assets/uploads/2026-03-29/1397067_042929_updates.jpg",
            "publishedAt": "2026-03-29T11:30:00Z",
            "lang": "en",
            "source": {
                "id": "d6d8d1da5b3ea3eb10f02262522a0d6d",
                "name": "The News International",
                "url": "https://www.thenews.com.pk"
            }
        },
        {
            "id": "40c019092ff3d6fa2dc4a3d02a2ea384",
            "title": "Robert Pattinson accidentally summons Taylor Swift in Zendaya interview",
            "description": "Robert Pattinson brought up Taylor Swift's song in a new interview with Zendaya, amid the ongoing press tour for their movie, The Drama.When asked about whether Zendaya and the Twilight star, 39, have seen each other's...",
            "content": "Robert Pattinson brought up Taylor Swift's song in a new interview with Zendaya, amid the ongoing press tour for their movie, The Drama.\nWhen asked about whether Zendaya and the Twilight star, 39, have seen each other's previous works, Pattinson admi... [989 chars]",
            "url": "https://www.geo.tv/latest/657668-robert-pattinson-accidentally-summons-taylor-swift-in-zendaya-interview",
            "image": "https://www.geo.tv/assets/uploads/2026-03-29/657668_040710_updates.jpg",
            "publishedAt": "2026-03-29T11:26:00Z",
            "lang": "en",
            "source": {
                "id": "5ad70e3bec873715a6b65792194fa25b",
                "name": "geo.tv",
                "url": "https://www.geo.tv"
            }
        }
    ]
}

Categories