Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Numbers API Year API

Historical facts associated with a year.

Numbers API Year API is one of 5 APIs that Numbers API publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 4 JSON Schema definitions.

Tagged areas include Year. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, and 4 JSON Schemas.

This API exposes 2 operations across 2 paths, and defines 1 schema. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against a single base URL, http://numbersapi.com.

2 operations 2 paths 1 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
http://numbersapi.com/
Resource Areas
1

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

Year 2

Historical facts associated with a year.

GET
/random/year
Numbers API Get Random Year Fact
getRandomYearFact 6 params → 200
GET
/{year}/year
Numbers API Get Year Fact
getYearFact 7 params → 200404

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is Fact (6 properties). Each schema is shown below with its type and property counts.

Fact
object
A single Numbers API fact returned in JSON form.
6 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

numbers-year-api-openapi.yml Raw ↑

Other APIs Numbers API publishes across the network.

Numbers API Batch API
Numbers API Date API
Numbers API Math API
Numbers API Trivia API