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": 409360,
    "articles": [
        {
            "id": "ea7d9b620ab58b38938a2c3a0209a66a",
            "title": "Belgium issues visas to Taliban delegation for E.U. meeting",
            "description": "Belgium has issued five ​visas to a Taliban delegation to attend an E.U. meeting, the first time the bloc has hosted the group since it returned to power.",
            "content": "Belgium said on Monday it had issued five ​visas to a Taliban delegation to attend an E.U. meeting on migration in Brussels, for what would be the first time the bloc has hosted the group since the Islamists returned to power five years ago.\n“These a... [2637 chars]",
            "url": "https://www.nbcnews.com/world/europe/taliban-afghanistan-european-union-visas-belgium-rcna351225",
            "image": "https://media-cldnry.s-nbcnews.com/image/upload/t_nbcnews-fp-1200-630,f_auto,q_auto:best/rockcms/2026-06/260601-afghanistan-taliban-mn-0710-182770.jpg",
            "publishedAt": "2026-06-22T18:28:13Z",
            "lang": "en",
            "source": {
                "id": "3bab6463853c054dc51d2427c1a5b69e",
                "name": "NBC News",
                "url": "https://www.nbcnews.com"
            }
        },
        {
            "id": "a8b4afa39c81c50a4435485774c0a11a",
            "title": "Confirmed Ebola cases in Congo outbreak top 1,000, with more than 250 deaths",
            "description": "Confirmed cases in the Ebola outbreak in eastern Congo have exceeded 1,000, including 254 deaths, officials said, as contact tracing remains a major challenge.",
            "content": "Confirmed cases in the Ebola outbreak in eastern Congo have reached 1,003, including 254 deaths, officials said, as tracing those who had been in contact with patients remains a major challenge.\nA total of 100 people have recovered in the outbreak co... [2509 chars]",
            "url": "https://www.nbcnews.com/health/health-news/ebola-cases-congo-outbreak-top-1000-250-deaths-rcna351192",
            "image": "https://media-cldnry.s-nbcnews.com/image/upload/t_nbcnews-fp-1200-630,f_auto,q_auto:best/rockcms/2026-06/260622-ebola-congo-deaths-bf-1251-f94d70.jpg",
            "publishedAt": "2026-06-22T17:10:10Z",
            "lang": "en",
            "source": {
                "id": "3bab6463853c054dc51d2427c1a5b69e",
                "name": "NBC News",
                "url": "https://www.nbcnews.com"
            }
        },
        {
            "id": "1fdc9ee14d9e379cdb097a4d8c78a581",
            "title": "Serena Williams could make Wimbledon history with her singles return",
            "description": "Serena Williams' comeback is in full swing, with the 23-time Grand Slam champion announced as a wild card entry for Wimbledon in women's singles. She is unranked after a four-year hiatus.",
            "content": "Serena Williams’ evolution back toward tennis continued Sunday with the announcement that the sport has been eagerly anticipating.\n“Just finished a mean game of duck duck goose,” the 23-time Grand Slam singles champion and mother of two wrote on X ho... [2596 chars]",
            "url": "https://www.latimes.com/sports/story/2026-06-22/serena-williams-could-make-wimbledon-history-with-her-singles-return",
            "image": "https://ca-times.brightspotcdn.com/dims4/default/244326b/2147483647/strip/true/crop/4583x2406+0+0/resize/1200x630!/quality/75/?url=https%3A%2F%2Fcalifornia-times-brightspot.s3.amazonaws.com%2F51%2Fa6%2Fbb377484494a99e2666cf683cd0a%2Fgermany-berlin-tennis-open-49-18.jpg",
            "publishedAt": "2026-06-22T17:10:04Z",
            "lang": "en",
            "source": {
                "id": "6c4fa75a787f2ec713503abb3f822104",
                "name": "Los Angeles Times",
                "url": "https://www.latimes.com"
            }
        }
    ]
}

Categories