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": 6847600,
    "articles": [
        {
            "title": "One way or another: Netanyahu vows to eliminate Hamas if ceasefire talks collapse",
            "description": "Speaking from Washington in a video message at the end of what he called a 'historic visit' following war against Iran, Netanyahu outlined the balance between diplomacy and military resolve as Israel seeks to dismantle Hamas’s military structure.",
            "content": "Israeli Prime Minister Benjamin Netanyahu said that Israel is prepared to resume military operations in Gaza if negotiations under a proposed 60-day ceasefire fail to produce a deal that meets Israel's conditions for a permanent end to the war with H... [2769 chars]",
            "url": "https://www.indiatoday.in/amp/world/story/one-way-or-another-netanyahu-vows-to-eliminate-hamas-if-ceasefire-talks-collapse-glbs-2754051-2025-07-11",
            "image": "https://akm-img-a-in.tosshub.com/indiatoday/images/story/202507/benjamin-netanyahu-102315225-16x9_0.jpg?VersionId=5mLJ_1EVqx0yWc_v1KJFHWUAyMCKFz4R",
            "publishedAt": "2025-07-10T22:33:13Z",
            "source": {
                "name": "India Today",
                "url": "https://www.indiatoday.in"
            }
        },
        {
            "title": "Jemima slams Pakistan for blocking sons access to Imran Khan",
            "description": "Pakistan News: Jemima Goldsmith has accused the Pakistani government of threatening to arrest her sons, Sulaiman and Qasim, if they visit the country to see their fa",
            "content": "Imran Khan (File photo)\nISLAMABAD: Pakistan’s political temperature spiked on Thursday after Jemima Goldsmith, ex-wife of jailed former prime minister Imran Khan , accused the govt of denying their sons the right to speak with their father and threat... [2258 chars]",
            "url": "https://timesofindia.indiatimes.com/world/pakistan/jemima-slams-pakistan-for-blocking-sons-access-to-imran-khan/articleshow/122373420.cms",
            "image": "https://static.toiimg.com/thumb/msid-122373423,width-1070,height-580,imgsize-611197,resizemode-75,overlay-toi_sw,pt-32,y_pad-40/photo.jpg",
            "publishedAt": "2025-07-10T20:19:00Z",
            "source": {
                "name": "Times of India",
                "url": "https://timesofindia.indiatimes.com"
            }
        },
        {
            "title": "NASA Readies For International Space Station Crew Exchange",
            "description": "NASA is planning for the launch of its four-person SpaceX Crew 11 Dragon mission to the International Space Station (ISS) from the Kennedy Space Center in Florida.",
            "content": "Subscription Required\nNASA Readies For International Space Station Crew Exchange is published in Aerospace Daily & Defense Report, an Aviation Week Intelligence Network (AWIN) Market Briefing and is included with your AWIN membership.\nAlready a membe... [282 chars]",
            "url": "https://aviationweek.com/space/space-exploration/nasa-readies-international-space-station-crew-exchange",
            "image": "https://aviationweek.com/sites/default/files/AWN_favicon_06122019.png",
            "publishedAt": "2025-07-10T20:08:00Z",
            "source": {
                "name": "Aviation Week Network",
                "url": "https://aviationweek.com"
            }
        }
    ]
}                        

Categories