For Agents
Look up sourced historical events by year, date, century, decade, country, or subject, search subject timelines, and read year fact sheets with population, U.S. prices, and Billboard No. 1s.
Use for: Get the historical events for the year 1969, Find all events that happened on July 20 across history, Search for subjects matching Apollo between 1960 and 1975, Retrieve the U.S. CPI and average prices for 1950
Not supported: Does not provide live news, full Wikipedia article text, or editable data. Use for reading sourced historical entries, year facts, and timelines only.
The slashyear API publishes sourced world history as static JSON, organised by year, calendar date, century, decade, country, and subject. Each dated entry carries the Wikipedia revision id it was quoted from, and subject timelines carry a Wikidata id. Year fact sheets from 1800 to 2025 add outside series such as world population, U.S. prices and CPI, who led every state, and Billboard Hot 100 No. 1s, each with its source, and full gzipped NDJSON dumps of events, years, and subject timelines are available for bulk use. Years use astronomical numbering, so -43 is 44 BCE.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the slashyear, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fslashyear.com%2Fslashyear" | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fslashyear.com%2Fslashyear" | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with slashyear API.
Fetch every dated entry for one year, using astronomical numbering where -43 is 44 BCE
Read what happened on one calendar day across every year, such as 07-20
Follow one subject's timeline across centuries, with its Wikidata id and each entry's Wikipedia revision id
Search subjects by free text and narrow their dated entries with from, to, and limit
Pull a year fact sheet from 1800 to 2025 with world population, U.S. CPI and prices, state leaders, and Billboard Hot 100 No. 1s
Download gzipped NDJSON dumps of all events, years, and subject timelines for offline analysis
Patterns agents use slashyear API for, with concrete tasks.
★ Sourced answers to history questions
An AI assistant asked what happened in a given year should cite sources rather than recall. Through Jentic the agent searches for 'get historical events for a year', loads the slashyear year operation, and calls it with the year. Each entry it returns carries the Wikipedia revision id it was quoted from, so the agent can cite the exact revision in its answer.
Call GET /api/year/{year}.json with year=1969 and list the leading entries with their Wikipedia revision ids
On this day features
Newsletters and apps that run an 'on this day' feature need events for one calendar date across all years. The dates endpoint returns one calendar day across every year, and the dates index lists all 366 dates, so a scheduled job can fetch today's entry each morning.
Call GET /api/date/{month-day}.json for today's month-day and pick three entries from different centuries
Price and inflation context for a year
Writers explaining what money was worth in the past need sourced figures. The year fact sheet covers 1800 to 2025 with U.S. prices and CPI and world population, and the prices endpoint returns U.S. CPI and average prices by year from BLS, Census, and DOL via FRED, each figure with its source.
Fetch GET /api/facts/{year}.json for year=1950 and report the U.S. CPI and world population with their sources
Bulk history dataset
Researchers building timelines or training retrieval indexes can skip page-by-page fetching. The dump endpoints serve every dated entry, one record per year, and one record per subject timeline as gzipped newline-delimited JSON, described by a Frictionless data package.
Read GET /dump/datapackage.json, then download GET /dump/events.ndjson.gz and count entries per century
22 endpoints — the slashyear api publishes sourced world history as static json, organised by year, calendar date, century, decade, country, and subject.
METHOD
PATH
DESCRIPTION
/api/year/{year}.json
One year's dated entries
/api/date/{month-day}.json
One calendar day across every year
/api/search
Search subjects and their entries
/api/entity/{slug}.json
One subject's timeline
/api/facts/{year}.json
Year fact sheet with sources
/api/prices.json
U.S. CPI and average prices by year
/dump/events.ndjson.gz
Bulk dump of every dated entry
/api/year/{year}.json
One year's dated entries
/api/date/{month-day}.json
One calendar day across every year
/api/search
Search subjects and their entries
/api/entity/{slug}.json
One subject's timeline
/api/facts/{year}.json
Year fact sheet with sources
/api/prices.json
U.S. CPI and average prices by year
/dump/events.ndjson.gz
Bulk dump of every dated entry
This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.
Base layer of spec validity and structural soundness.
Aggregated quality score from linter diagnostics, weighted by severity.
Percentage of `$ref` references that resolve successfully.
Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).
Structural correctness score based on schema issues using logarithmic dampening.
Clarity, completeness, and ingestion readiness for developers and tooling.
How richly the API is illustrated with examples.
Percentage of examples that conform to their schemas.
Percentage of operations with complete response definitions (success, client error, server error).
Health of API ingestion, bundling, and resolution within Jentic pipelines.
Semantic breadth, depth, and agent comprehension for AI systems.
Coverage of descriptions across API elements.
Coverage of RFC 9457 Problem Details for error responses.
Coverage, uniqueness, and casing consistency of operationIds for AI inference.
Coverage of summaries across operations/tags/info.
Functional utility, complexity comfort, and AI orchestration readiness.
Agent comfort level based on API operational and structural complexity.
Trust, risk posture, and security compliance.
Average quality of security schemes based on authentication method strength (weakest link for OAuth2).
Findability, semantic richness, and reasoning readiness.
Clarity and depth of descriptions across API elements.
Score it yourself
Every API in the directory is allowlisted, so you can re-score it with no key required.
npx @jentic/api-scorecard-cli score <openapi-url>What agents get from Jentic-routed access to this vendor.
Setup
Wiring slashyear by hand means learning its astronomical numbering, where -43 is 44 BCE, its calendar-date and slug path formats such as 07-20, and when to use the NDJSON dumps instead of individual pages. Through Jentic you install once, import slashyear from the API Directory, and your agent calls it with no key to manage.
Permission scoping
slashyear puts the year, date, country, and subject slug in the URL path (/api/year/{year}.json, /api/topic/{slug}.json), so a rule can pin your agent to the paths it needs, such as one subject's timeline. You choose the operations it may call, so the large dump downloads are not included unless you add them.
Credential isolation
The spec declares no authentication, so the agent holds no secret for slashyear. Calls run from your own Jentic One instance on your machine, alongside your other imported APIs.
Intent-based discovery
Agents search Jentic by intent such as 'get historical events for a year' or 'what happened on this day', and Jentic returns the matching slashyear operation with its input schema, so the agent fills in the year or month-day path correctly.
Alternatives and complements available in the Jentic catalogue.
Specific to using slashyear API through Jentic.
What authentication does the slashyear API use?
None. The OpenAPI spec declares no security scheme, and its description states that the API needs no key and has CORS open. Every endpoint is a plain GET on https://slashyear.com, so through Jentic you import it and your agent can call it straight away.
How does slashyear number years before the common era?
slashyear uses astronomical numbering, so year 0 is 1 BCE and -43 is 44 BCE. Pass that number to GET /api/year/{year}.json, and use the same numbering for the from parameter on GET /api/search.
What are the rate limits for the slashyear API?
The spec's own description states there is no rate limit. Because the data is static JSON, bulk users can also download the gzipped dumps under /dump instead of paging through year endpoints. See https://slashyear.com/api for current terms.
Is there a slashyear MCP server?
You don't need an MCP server to give your agent slashyear. Jentic connects it directly from the API Directory: import it and your agent finds the year, date, subject, or facts operation it needs on demand without loading every tool definition into its context.
How do I search a subject's history through Jentic?
Search Jentic for 'search historical subjects by name', load the GET /api/search operation, and execute it with q set to a subject such as Apollo and optional from, to, and limit values. The response returns matching subjects and their dated entries. To run it on your own infrastructure, install Jentic One from its GitHub repo.
Can I limit what my agent is allowed to do with the slashyear API?
Yes. Write a rule that allows only GET /api/search and GET /api/year/{year}.json, and the agent can search subjects and read year pages but cannot pull the large dump files. Every call it makes is logged.
GET STARTED