World News API

World News API

Development

Get worldwide news data with the World News API.

Visit API
Status: UP

πŸ“š Documentation & Examples

Everything you need to integrate with World News API

πŸš€ Quick Start Examples

World News API Javascript Examplejavascript
// World News API API Example
const response = await fetch('https://worldnewsapi.com/', {
    method: 'GET',
    headers: {
        'Content-Type': 'application/json'
    }
});

const data = await response.json();
console.log(data);

World News API

Access worldwide news data programmatically with the World News API. Get breaking news, search articles, and stay updated with global events.

Key Features:

  1. Global News Coverage - Access news from sources worldwide
  2. Search & Filter - Find articles by keywords, categories, and sources
  3. Real-time Updates - Get the latest breaking news as it happens
  4. Multi-language Support - News in various languages
  5. Structured Data - Clean, structured JSON responses

Example Usage:

const axios = require('axios');

async function getWorldNews(query) {
  try {
    const response = await axios.get('https://api.worldnewsapi.com/search-news', {
      params: {
        text: query,
        language: 'en',
        number: 10
      },
      headers: {
        'X-API-KEY': 'YOUR_API_KEY'
      }
    });
    
    return response.data.news;
  } catch (error) {
    console.error('Failed to fetch news:', error);
  }
}

// Usage
getWorldNews('technology');

πŸ”— Explore the API

⚑

Performance & Stats

A+
100%
Uptime
204ms
Avg Response
🟒
Status

πŸ“Š 30-Day Uptime History

Daily uptime tracking showing online vs offline minutes

Jun 4Jun 6Jun 8Jun 10Jun 12Jun 14Jun 16Jun 18Jun 20Jun 22Jun 24Jun 26Jun 28Jun 30Jul 304008001440Minutes
Online
Offline

Related APIs in Development