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": 402338,
    "articles": [
        {
            "id": "8279b4df655d737c2a3bfc03acffa71a",
            "title": "French fries linked to higher type 2 diabetes risk but other potatoes were not",
            "description": "A large study found that three servings of French fries per week…",
            "content": "A large study found that three servings of French fries per week were linked with a 20% higher risk of type 2 diabetes.\nBoiled, baked and mashed potatoes were not linked with the same significant increase in risk.\nReplacing potatoes with whole grains... [2022 chars]",
            "url": "https://www.diabetes.co.uk/news/2026/jun/french-fries-linked-to-higher-type-2-diabetes-risk-but-other-potatoes-were-not.html",
            "image": "https://www.diabetes.co.uk/wp-content/uploads/2024/06/chipsandburgeronlaptop.jpg",
            "publishedAt": "2026-06-19T02:18:59Z",
            "lang": "en",
            "source": {
                "id": "508fbd7355795c3a8e8e99465c085b64",
                "name": "diabetes.co.uk",
                "url": "https://www.diabetes.co.uk"
            }
        },
        {
            "id": "6e359da3005c0ce068df1e5d1ba7f6da",
            "title": "Mauricio Pochettino impressed by Messi, Argentina World Cup play",
            "description": "USMNT coach Mauricio Pochettino was born in Argentina and coached Lionel Messi at Paris Saint-Germain. He remains a big fan.",
            "content": "SEATTLE — Mauricio Pochettino's loyalties are to the U.S. men's national team. His heart will always be with Argentina.\nAsked about Lionel Messi and Argentina's performance so far at this World Cup, a grin broke across Pochettino's face. Messi had th... [1116 chars]",
            "url": "https://www.usatoday.com/story/sports/soccer/worldcup/2026/06/18/mauricio-pochettino-comments-messi-argentina-world-cup-play/90615445007/",
            "image": "https://www.usatoday.com/gcdn/authoring/authoring-images/2026/06/19/USAT/90615807007-usatsi-29216845.jpg?crop=6374,3586,x0,y210&width=3200&height=1801&format=pjpg&auto=webp",
            "publishedAt": "2026-06-19T00:56:00Z",
            "lang": "en",
            "source": {
                "id": "8eec8fc7a9ec8be488bc7411d0801c60",
                "name": "USA Today",
                "url": "https://www.usatoday.com"
            }
        },
        {
            "id": "c375e05954ae12560a6e1a3ce018648a",
            "title": "'Everyone on Earth is exposed': Scientists map microplastics deep inside living tissue",
            "description": "It does show that researchers are developing better tools to study exposure.",
            "content": "A new study from Kingston University in London highlights how microplastics can be detected in living tissue.\nUsing a noninvasive imaging approach, the researchers mapped these particles in mice in fine detail, offering scientists another tool for ex... [1907 chars]",
            "url": "https://www.yahoo.com/news/science/articles/everyone-earth-exposed-scientists-map-233600022.html",
            "image": "https://s.yimg.com/lo/mysterio/api/963ac5caa7fdb3d241037ead7828be59dc6e4d479bdfae3007f5858290e8ac9e/lightyear_networkapi/resizefill_w1200;quality_80;format_webp/https:%2F%2Fmedia.zenfs.com%2Fen%2Fthe_cool_down_737%2F1cf27e84aa6e0e2b23a7f59b66087b34",
            "publishedAt": "2026-06-18T23:36:00Z",
            "lang": "en",
            "source": {
                "id": "99e8a2cb4638bb798cf9167e5af5b83b",
                "name": "Yahoo",
                "url": "https://www.yahoo.com"
            }
        }
    ]
}

Categories