
Day In History API
Historical events, notable births and deaths, holidays and Wikipedia's editor-selected highlights for any day of the year, live from Wikipedia's "On this day" feed (CC BY-SA 4.0) with 24-hour caching. Every item carries the year, the event text, the linked article's title, short description, Wikipedia URL and thumbnail; pick a type, newest-first or oldest-first ordering, and a limit, and see totals per type. Accepts MM-DD or full dates and rejects impossible days.
Available Endpoints
Request Parameters
API URL
Please subscribe to see the API URL
Headers
X-Api-Key
Please subscribe to see the actual API URL
import axios from 'axios';
const url = '{API_URL}';
const { data } = await axios.get(url, {
headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});