Numbers API
Returns interesting facts about numbers — trivia, mathematical properties, date-based facts, and year facts. Simple text or JSON responses make it easy to embed fun number trivia in any app.
🔴 Offline · 117 ms
0%
Unlimited, no key, HTTP only
No key required
Free alternatives (live ranking)
- PokéAPI — 🟢 Online · Unlimited, no key, no credit card
- Rick and Morty API — 🟢 Online · 10,000 req/day, no key, no credit card
- JokeAPI — 🟢 Online · 120 req/min, no key, no credit card
Compare Numbers API with…
- Numbers API vs PokéAPI — Unlimited, no key, no credit card
- Numbers API vs Rick and Morty API — 10,000 req/day, no key, no credit card
- Numbers API vs JokeAPI — 120 req/min, no key, no credit card
Frequently Asked Questions
Does Numbers API require an API key?
No, Numbers API is freely accessible without registration or an API key.
What is Numbers API's free tier?
Unlimited, no key, HTTP only
Is Numbers API currently online?
We check Numbers API every hour. The current status is shown at the top of this page. You can also see the 30-day uptime history in the chart above.
Implementation notes
When to use Numbers API
Numbers API returns a plain-text or JSON fact about any integer — trivia, mathematical properties, date-based historical events (month/day), or year-based facts. It is unlimited and requires no key. Use it for daily-fact widgets, calendar apps, or classroom tools where a single sentence about a number adds educational value.
Common pitfalls
- The API only supports HTTP, not HTTPS. The `http://numbersapi.com` endpoint will trigger mixed-content warnings in browsers when loaded from HTTPS pages. You must proxy requests through your own HTTPS server for any browser-side use.
- The default response is plain text, not JSON. Pass `?json` to get a structured JSON response with `text`, `number`, `type`, and `found` fields. Many developers miss this and get confused when trying to parse the plain-text response as JSON.
- The `found` field in JSON responses can be `false` for numbers that have no trivia entry. The API returns a generated fallback statement rather than an error in these cases — the text will be generic and not factually verified.
- Date-type queries use month/day format (`/4/1/date`), not ISO 8601. There is no time zone handling — the API interprets dates as-is regardless of locale.
Quick start (bash)
curl "http://numbersapi.com/42/trivia?json" Embed this badge
Add a live status badge to your README, docs, or website.
Markdown
[](https://freeapi.watch/numbers-api) HTML
<a href="https://freeapi.watch/numbers-api"><img src="https://freeapi-builder.a10ayassine.workers.dev/badge/numbers-api.svg" alt="Numbers API Status"/></a>