Flag of Pakistan

Pakistan Science News API

Get the live top science headlines from Pakistan with our JSON API.

Get API key for the Pakistan Science 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=science&apikey=API_KEY
{
    "totalArticles": 1206520,
    "articles": [
        {
            "id": "0a17204825ca3e19ba25651b32886549",
            "title": "NASA study reveals space travel accelerates aging",
            "description": "A National Aeronautics and Space Administration study found that space travel damaged blood cells, causing them to age faster. This could pose a significant problem for astronauts on long...",
            "content": "A National Aeronautics and Space Administration (NASA) study found that space travel damaged blood cells, causing them to age faster.\nThis could pose a significant problem for astronauts on long space missions.\nAccording to the study author, Dr. Catr... [1194 chars]",
            "url": "https://www.thenews.com.pk/latest/1341563-nasa-study-reveals-space-travel-accelerates-aging",
            "image": "https://www.thenews.com.pk/assets/uploads/updates/2025-09-05/1341563_055346_updates.jpg",
            "publishedAt": "2025-09-06T13:43:00Z",
            "lang": "en",
            "source": {
                "id": "d6d8d1da5b3ea3eb10f02262522a0d6d",
                "name": "The News International",
                "url": "https://www.thenews.com.pk",
                "country": "pk"
            }
        },
        {
            "id": "dd1e4ec31401f03b7dfa4c2c9902c2d6",
            "title": "Chilean telescope hints at comet nature of 3I/ATLAS in new evidence",
            "description": "The Gemini South Telescope in Chile has captured the new evidence, discovering the comet nature of the interstellar 3I/ATLAS object with a growing tail. The new images have fuelled a debate among...",
            "content": "The Gemini South Telescope in Chile has captured the new evidence, discovering the comet nature of the interstellar 3I/ATLAS object with a growing tail.\nThe new images have fuelled a debate among the scientific community about the true nature of 3I/A... [1348 chars]",
            "url": "https://www.thenews.com.pk/latest/1341463-chilean-telescope-hints-at-comet-nature-of-3iatlas-in-new-evidence",
            "image": "https://www.thenews.com.pk/assets/uploads/updates/2025-09-05/1341463_013914_updates.jpg",
            "publishedAt": "2025-09-05T08:39:00Z",
            "lang": "en",
            "source": {
                "id": "d6d8d1da5b3ea3eb10f02262522a0d6d",
                "name": "The News International",
                "url": "https://www.thenews.com.pk",
                "country": "pk"
            }
        },
        {
            "id": "2376b6845b6dd01267e63f587c73af40",
            "title": "Strange phenomenon happening deep in the Dead Sea",
            "description": "This balance shifted in the early 1980s when partial diversion of the Jordan River",
            "content": "The Dead Sea is the only location where they are actively forming\n(Web Desk) - Salt giants and other striking formations in the Dead Sea reveal how evaporation and fluid dynamics shape Earth’s geological past and present.\nThe Dead Sea represents a un... [1959 chars]",
            "url": "https://dunyanews.tv/en/Technology/904554-strange-phenomenon-happening-deep-in-the-dead-sea",
            "image": "https://img.dunyanews.tv/news/2025/September/09-04-25/news_big_images/904554_37617926.jpg",
            "publishedAt": "2025-09-04T01:38:00Z",
            "lang": "en",
            "source": {
                "id": "56b5d3b8882926e1817f100d578b6887",
                "name": "Dunya News",
                "url": "https://dunyanews.tv",
                "country": "pk"
            }
        }
    ]
}

Categories