API · /hashids-api

Hashids API

healthy 4,914 Subscribers

Turn sequential integer IDs into short, unique, non-sequential strings — and back again. Encode one or more non-negative integers (or a hex string such as a Mongo ObjectId) into a compact YouTube-style id like "vbYCZIYD", then decode it to recover the exact original values. Add a salt so your ids are unique to your application, set a minimum length, or supply a custom alphabet. It is reversible obfuscation (not encryption): perfect for hiding row ids in public URLs, building short links, and avoiding leaking how many records you have. Pure local computation — no key, no third-party service, nothing stored. Stateless: decode with the same salt/min-length/alphabet you encoded with. Live. 5 endpoints. Distinct from UUID generation, base conversion and snowflake decoding.

api.oanor.com/hashids-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/hashids-api/openapi.json
/api/hashids-api/llms.txt

Discovery: GET /api/index.json lists every API.

Hashids API — live data on the oanor API marketplace

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
72 ms
Server probes · 24h
Subscribers
4,914
active
Total calls
95
last 7 days
status Full status page → · 10 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 1,540 calls / month
  • 2 requests / second
  • Hard cap (429 above quota, no overage)
  • 1,540 calls/month
  • 2 req/sec
  • Encode + decode (int & hex)
  • No credit card
Sign in to subscribe

Starter

€7.20 /month

  • 30,000 calls / month
  • 8 requests / second
  • Hard cap (429 above quota, no overage)
  • 30k calls/month
  • 8 req/sec
  • Custom salt / alphabet
  • Email support
Sign in to subscribe

Pro

€26.80 /month

  • 186,000 calls / month
  • 20 requests / second
  • Hard cap (429 above quota, no overage)
  • 186k calls/month
  • 20 req/sec
  • URL / short-link pipelines
  • Priority support
Sign in to subscribe

Mega

€62.80 /month

  • 950,000 calls / month
  • 50 requests / second
  • Hard cap (429 above quota, no overage)
  • 950k calls/month
  • 50 req/sec
  • Platform scale
  • Dedicated SLA
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

Morse Code API — oanor API marketplace

Morse Code API

Morse code conversion as an API, computed locally and deterministically. The encode endpoint turns text into International Morse code, mapping A–Z, the digits 0–9 and common punctuation to dots and dashes, separating letters with a space and words with a slash, and listing any unsupported characters it skipped. The decode endpoint turns Morse code back into text, accepting word separators written as a slash, a pipe or a wide gap, and marking unrecognised symbols. The timing endpoint computes the PARIS-standard timing from a words-per-minute speed — the dot duration is 1200/WPM milliseconds, a dash is three dots, and the gaps are one, three and seven dot units for intra-character, inter-character and word spacing — and, given a Morse message, the total number of units and the transmission time. The word PARIS is exactly 50 units, which defines the WPM scale. Everything is computed locally and deterministically, so it is instant and private. Ideal for amateur-radio, aviation, education, accessibility, puzzle and game app developers, signalling and CW-training tools, and learning Morse. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is Morse code; for Base64 and JWT use an encoding API and for Caesar and substitution ciphers a cipher API.

api.oanor.com/morse-api

Roman Numeral API — oanor API marketplace

Roman Numeral API

Roman numeral conversion as an API, computed locally and deterministically. The encode endpoint turns an integer from 1 to 3999 into its Roman numeral using standard subtractive notation, so 1994 becomes MCMXCIV and 2024 becomes MMXXIV. The decode endpoint turns a Roman numeral back into an integer with strict validation — it rejects malformed forms such as IIII or VV and also returns the canonical way to write the same value, accepting any letter case. The arithmetic endpoint adds, subtracts or multiplies two values given as either integers or Roman numerals and returns the result as a Roman numeral and as an integer, provided the result stays within the classic 1–3999 range. The standard subtractive pairs are IV, IX, XL, XC, CD and CM. Everything is computed locally and deterministically, so it is instant and private. Ideal for typesetting, publishing, education, clock-face, game and document-processing app developers, numbering and chapter tools, and history teaching. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is Roman numeral conversion; for binary, octal and hexadecimal number-base conversion use a base-conversion API.

api.oanor.com/roman-api

MessagePack API — oanor API marketplace

MessagePack API

Encode and decode MessagePack — the compact binary serialization format ("it's like JSON, but fast and small") used by Redis, Fluentd, many RPC systems and IoT protocols. The encode endpoint turns a JSON value into MessagePack bytes, automatically choosing the smallest representation for each integer, string, array and map; the decode endpoint parses MessagePack back into a JSON value. It implements the full spec — nil, booleans, every fixed and variable integer width, float32 and float64, str and bin, arrays and maps, and the ext family — and rejects trailing or truncated data rather than silently mangling it. Binary (bin) values and any non-UTF-8 string come back losslessly as a {"_bytes_hex":"…"} object, and ext values as {"_ext":{"type":N,"hex":"…"}}, so encode and decode round-trip exactly. Bytes are exchanged as both hex and base64 so they survive any transport. Everything is computed locally and deterministically, so it is instant and private. Ideal for debugging MessagePack payloads, bridging JSON and msgpack systems, RPC and cache tooling, IoT pipelines, and teaching the format. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is MessagePack specifically; for JSON, YAML, TOML or XML use those format APIs, for BitTorrent's Bencode use the Bencode API, and for base64, hex, URL or HTML encoding use a general encoding API.

api.oanor.com/msgpack-api

Base45 API — oanor API marketplace

Base45 API

Encode and decode Base45 (RFC 9285) — the compact binary-to-text encoding designed to pack densely into the alphanumeric mode of QR codes, best known as the carrier for the EU Digital COVID Certificate. The encode endpoint turns text (UTF-8) or raw bytes given as hex into a Base45 string; the decode endpoint turns a Base45 string back into bytes, returned as hex and — when the bytes are valid UTF-8 — as text. It uses the official 45-character alphabet (0-9, A-Z and a handful of symbols), packs two bytes into three characters (or one byte into two), and validates length and value ranges strictly so malformed input is rejected rather than silently mangled. Everything is computed locally and deterministically, so it is instant and private. Ideal for QR-code payloads, digital health and travel certificates, alphanumeric-mode encoders, and any binary data that must survive an uppercase-only channel. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is Base45 specifically; for base64, base32, hex, URL or HTML entity encoding use a general encoding API.

api.oanor.com/base45-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for Hashids API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call Hashids API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for Hashids API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does Hashids API cost?
Hashids API has a free tier with 100 calls / month. Paid plans start at €7.20 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is Hashids API GDPR-compliant?
All requests to Hashids API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

Pick an endpoint from the list on the left to see its details and try it.

Code snippets

Sign up to get an API key, then call any path under your slug.

curl https://api.oanor.com/hashids-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/hashids-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/hashids-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
    "https://api.oanor.com/hashids-api/SOME_PATH",
    headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())

Ratings

Sign in to rate.

No reviews yet.

Discussion

Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.

Sign in to start a thread or reply.

Sign in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 This thread is locked — no new replies.

  • No threads yet — start the discussion.

Support

Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.

Sign in to open a support ticket.

Sign in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.