# Historical Events API

> Historical Events is a world history API that searches historical records by keyword to find matching events and their detailed descriptions. Paid plans add exact calendar dates and queries by year or date.

**Endpoint:** `GET https://api.apiverve.com/v1/historicalevents`  
**Category:** Entertainment  
**Cost:** 2 credits per call  
**Canonical page:** https://apiverve.com/marketplace/historicalevents

## Overview

Historical Events works by retrieving historical events from various reliable sources and curated lists of events. It returns them in a structured format. On paid plans you can also look up everything that happened on an exact date, such as 1969-07-20.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/historicalevents?text=moon%20landing" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `text` | string | Yes | The keyword for which you want to get the historical events (e.g., moon landing). length 0-200 |

## Response fields

- `count` — number · Total number of historical events returned in results
- `filteredOn` — array · Array of filter criteria applied to generate results · (premium)
  - `events.0.year` — string · Calendar year when the historical event occurred · (premium)
  - `events.0.month` — string · Month number (01-12) when the event occurred · (premium)
  - `events.0.day` — string · Day of month when the historical event occurred · (premium)
  - `events.0.date` — string · Full date in YYYY/MM/DD format for the event · (premium)
  - `events.0.event` — string · Detailed description and text of the historical event
  - `events.0.range` — string · Named month range or period when the event occurred · (premium)
  - `events.0.granularity` — string · Precision level of date (year, month, or specific day) · (premium)

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "count": 6,
    "filteredOn": [
      "text"
    ],
    "events": [
      {
        "year": "1969",
        "month": "05",
        "day": "18",
        "date": "1969/05/18",
        "event": " Apollo program: ''Apollo 10'' (Tom Stafford, Gene Cernan, John Young) is launched, on the full dress-rehearsal for the Moon landing.",
        "range": "May",
        "granularity": "year"
      },
      {
        "year": "1969",
        "month": "05",
        "day": "25",
        "date": "1969/05/25",
        "event": "Apollo program: ''Apollo 10'' returns to Earth, after a successful 8-day test of all the components needed for the upcoming first manned Moon landing.",
        "range": "May",
        "granularity": "year"
      },
      {
        "year": "1969",
        "month": "07",
        "day": "20",
        "date": "1969/07/20",
        "event": " Apollo program: The lunar module ''Eagle'' lands on the lunar surface. An estimated 500 million people worldwide watch in awe as Neil Armstrong takes his historic first steps on the Moon at 02:56 UTC, the largest television audience for a live broadcast at that time.cite web|title=Manned Space Chronology: Apollo_11|url=<a href=\"http://www.spaceline.org/flightchron/apollo11.html|publisher=spaceline.org|accessdate=2008-02-06|\">http://www.spaceline.org/flightchron/apollo11.html|publisher=spaceline.org|accessdate=2008-02-06|</a> archiveurl= <a href=\"http://web.archive.org/web/20080214213826/http://www.spaceline.org/flightchron/apollo11.html|\">http://web.archive.org/web/20080214213826/http://www.spaceline.org/flightchron/apollo11.html|</a> archivedate= 14 February 2008 !--DASHBot--| deadurl= no}}cite web|title= Apollo Anniversary: Moon Landing quotInspired Worldquot|url=<a href=\"http://news.nationalgeographic.com/news/2004/07/0714_040714_moonlanding.html|publisher=nationalgeographic.com|accessdate=2008-02-06|\">http://news.nationalgeographic.com/news/2004/07/0714_040714_moonlanding.html|publisher=nationalgeographic.com|accessdate=2008-02-06|</a> archiveurl= <a href=\"http://web.archive.org/web/20080209140059/http://news.nationalgeographic.com/news/2004/07/0714_040714_moonlanding.html|\">http://web.archive.org/web/20080209140059/http://news.nationalgeographic.com/news/2004/07/0714_040714_moonlanding.html|</a> archivedate= 9 February 2008 !--DASHBot--| deadurl= no}}",
        "range": "July",
        "granularity": "year"
      },
      {
        "year": "1969",
        "month": "07",
        "day": "20",
        "date": "1969/07/20",
        "event": "The ''Apollo 11'' astronauts return from the first successful Moon landing, and are placed in biological isolation for several days, on the chance they may have brought back lunar germs. The airless lunar environment is later determined to preclude microscopic life.",
        "range": "July",
        "granularity": "year"
      },
      {
        "year": "1971",
        "month": "02",
        "day": "08",
        "date": "1971/02/08",
        "event": "Apollo program: ''Apollo 14'' returns to Earth after the third manned Moon landing.",
        "range": "February",
        "granularity": "year"
      },
      {
        "year": "1973",
        "month": "01",
        "day": "07",
        "date": "1973/01/07",
        "event": "Elvis Presley's concert in Hawaii. The first worldwide telecast by an entertainer watched by more people than watched the Apollo moon landings.",
        "range": "January",
        "granularity": "year"
      }
    ]
  }
}
```

## Use cases

- **Trivia Game Generation** — Populate quiz rounds by looking up terms like space exploration or revolutions to source factual event descriptions for player prompts.
- **Daily Newsletter Factoids** — Newsletter writers query topics to extract intriguing event snippets and furnish daily historical trivia sections for readers.
- **Educational Course Builders** — To build lesson modules, curriculum designers search subject keywords to gather historical event accounts for classroom reading material.
- **Museum Display Panels** — When visitors inspect physical exhibits, interactive museum kiosk displays present matching historical event narratives based on topic searches.

## SDKs

- **npm** — `npm install @apiverve/historicalevents` (https://www.npmjs.com/package/@apiverve/historicalevents)
- **PyPI** — `pip install apiverve-historicalevents` (https://pypi.org/project/apiverve-historicalevents/)
- **NuGet** — `dotnet add package APIVerve.API.HistoricalEvents` (https://www.nuget.org/packages/APIVerve.API.HistoricalEvents)
- **Source** — https://github.com/apiverve/historicalevents-api

## More

- Full reference: https://docs.apiverve.com/ref/historicalevents
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
