Access tiers
The split-bucket design lets cache-friendly reads (chains, balances) be high-volume without burning the heavy budget that hits paid upstreams.
Anonymous access
No authentication is required. Just call the API:apiKey:
Partner access
To use a partner key, send it in theX-API-Key header on every request:
pk_live_ followed by a random ID — e.g. pk_live_a1b2c3d4e5f6g7h8. Treat the full value as a secret.
Getting a partner key
1
Request access
Apply at partner.hypermid.io. Partner accounts are reviewed and provisioned by the Hypermid team — typical turnaround is 1–2 business days. You’ll receive a magic-link email once approved.
2
Log in
Use the magic link, then log in any time at partner.hypermid.io/login.
3
Copy your API key
Go to API Keys in the partner portal. Your Primary key is shown there — copy the full
pk_live_... value once and store it securely (env var or secret manager).4
Use it
Include the key in the
X-API-Key header on every API call, or pass it to the SDK constructor.Rate limits
Every response includes rate-limit headers inmeta.rateLimit. Use these to back off proactively before you hit a 429:
The
limit field reflects whichever bucket your call landed in — heavy or read — so the same key may show different limits on different endpoints in the same minute.
Hitting a 429
When you exceed the limit, you get HTTP429 with a RATE_LIMIT error:
Security best practices
- Server-side only — Never include your API key in frontend JavaScript, mobile apps, or any client-side code. Use the anonymous tier for client-side calls; route partner-authenticated traffic through your backend.
- Environment variables — Store keys in env vars or a secret manager (1Password / Vault / AWS Secrets Manager), never in source code or config files committed to git.
- Key rotation — Rotate periodically and immediately if you suspect compromise. Rotation is one click in the partner portal’s API Keys page.
- Monitor usage — Check the partner dashboard for unexpected request patterns or geographic anomalies. Anything that doesn’t match your traffic profile is worth investigating.