Data source: Curated dataset (Wikipedia, academic sources)
https://context.gnist.ai/rest/historical-events/
AuthenticationAll requests require a Gnist-API-Key header (or api_key query parameter).
Free tier: 100 calls/day. Get your API key.
Tools (6)
get_historical_eventsearch_historical_eventslist_events_by_eralist_events_by_categorylist_events_by_year_rangereport_feedback
get_historical_eventGet a single historical event by its ID.
Returns detailed information including title, date, era, category, region,
description, and significance.
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id | string | required | Event slug ID (e.g. 'moon-landing-1969', 'magna-carta'). |
{
"event_id": "example"
}search_historical_eventsSearch historical events by keyword.
Searches across event titles and descriptions. Case-insensitive. Results are
sorted chronologically.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | required | Search keyword — matches event title and description. |
limit | any | optional | Maximum number of results (default: 20, max: 100). |
{
"query": "example"
}list_events_by_eraList historical events filtered by era.
Valid eras: Ancient, Medieval, Early Modern, Modern, Contemporary.
Results are sorted chronologically.
| Parameter | Type | Required | Description |
|---|---|---|---|
era | string | required | Era name: Ancient, Medieval, Early Modern, Modern, or Contemporary. |
limit | any | optional | Maximum number of results (default: 50, max: 100). |
{
"era": "example"
}list_events_by_categoryList historical events filtered by category.
Valid categories: War & Conflict, Science & Technology, Politics, Exploration,
Culture, Economics, Religion, Natural Disaster. Results sorted chronologically.
| Parameter | Type | Required | Description |
|---|---|---|---|
category | string | required | Category: War & Conflict, Science & Technology, Politics, Exploration, Culture, Economics, Religion, or Natural Disaster. |
limit | any | optional | Maximum number of results (default: 50, max: 100). |
{
"category": "example"
}list_events_by_year_rangeList historical events within a year range (inclusive).
Use negative years for BCE dates. Results sorted chronologically.
| Parameter | Type | Required | Description |
|---|---|---|---|
start_year | integer | required | Start year (use negative values for BCE, e.g. -500). |
end_year | integer | required | End year (use negative values for BCE, e.g. -100). |
limit | any | optional | Maximum number of results (default: 50, max: 100). |
{
"start_year": 1,
"end_year": 1
}report_feedbackReport a bug, feature request, or general feedback for this data source.
Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.
Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |
{
"feedback": "example"
}Quick Start
curl -X POST "https://context.gnist.ai/rest/historical-events/get_historical_event" \
-H "Content-Type: application/json" \
-H "Gnist-API-Key: YOUR_API_KEY" \
-d '{"event_id": "example"}'
import httpx
resp = httpx.post(
"https://context.gnist.ai/rest/historical-events/get_historical_event",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
json={
"event_id": "example"
},
)
print(resp.json())