Flag of the 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": 6656688,
    "articles": [
        {
            "title": "US to revoke Chinese students; visas: How it could disrupt the global talent flow",
            "description": "News News: The US may revoke visas for Chinese students, potentially disrupting global talent flow and impacting over 277,000 students currently enrolled. This p",
            "content": "Visa policy shift could harm US STEM innovation and international education. (AI Image)\nChinese Students in the US\nImmediate Impacts on Chinese Students\nEffects on US Universities\nBroader Implications for Global Talent Flow\nReactions and Perspectives... [4282 chars]",
            "url": "https://timesofindia.indiatimes.com/education/news/us-to-revoke-chinese-students-visas-how-it-could-disrupt-the-global-talent-flow/articleshow/121483973.cms",
            "image": "https://static.toiimg.com/thumb/msid-121484039,width-1070,height-580,imgsize-170163,resizemode-75,overlay-toi_sw,pt-32,y_pad-40/photo.jpg",
            "publishedAt": "2025-05-29T12:00:00Z",
            "source": {
                "name": "Times of India",
                "url": "https://timesofindia.indiatimes.com"
            }
        },
        {
            "title": "Imran says no to give-and-take deal: PTI leader",
            "description": "RAWALPINDI: PTI founding chairman Imran Khan has dismissed the possibility of any personal deal or “give-and-take” arrangement, emphasising that he is only willing to engage in dialogue...",
            "content": "PTI founder speaks during a news conference on November 19, 2020. — Reuters\nRAWALPINDI: PTI founding chairman Imran Khan has dismissed the possibility of any personal deal or “give-and-take” arrangement, emphasising that he is only willing to engage ... [1665 chars]",
            "url": "https://www.thenews.com.pk/latest/1316432-imran-says-no-to-give-and-take-deal-pti-leader",
            "image": "https://www.thenews.com.pk/assets/uploads/updates/2025-05-29/l_1316432_024441_updates.jpg",
            "publishedAt": "2025-05-29T09:44:00Z",
            "source": {
                "name": "The News International",
                "url": "https://www.thenews.com.pk"
            }
        },
        {
            "title": "Quantum imaging breakthrough by Brown students enables 3D holograms",
            "description": "Two Brown University undergraduates develop a quantum imaging system that creates 3D holograms without using infrared cameras, solving a major depth issue.",
            "content": "In a remarkable leap for microscopic imaging, two Brown University undergraduates have developed a novel quantum technique that generates high-resolution 3D holograms without the need for infrared cameras.\nTheir work, published on Brown University's ... [3288 chars]",
            "url": "https://tribune.com.pk/story/2548411/quantum-imaging-breakthrough-by-brown-students-enables-3d-holograms",
            "image": "https://i.tribune.com.pk/media/images/news-story-640-x-480-px-2025-05-29t140715-8501748509738-0/news-story-640-x-480-px-2025-05-29t140715-8501748509738-0.png",
            "publishedAt": "2025-05-29T09:18:27Z",
            "source": {
                "name": "The Express Tribune",
                "url": "https://tribune.com.pk"
            }
        }
    ]
}

Categories