Authentication

Bearer keys, where to keep them, and how to roll one.

Send your key in the Authorization header on every request:

http
GET /api/v1/mastersets/eevee HTTP/1.1
Host: masterset.io
Authorization: Bearer ms_live_…
  • Keys start with ms_live_. A key is shown once, when you create it. We store only a hash of it, so we cannot show it again.
  • Never put a key in a URL. Requests with ?api_key= are refused.
  • Keep keys on your server. A key in browser or app code can be copied by anyone who looks. If one leaks, revoke it in the dashboard and create another.
  • You can hold up to 5 active keys. Limits and quotas apply to your account, not to each key.

Endpoints that need no key

GET /meta and everything under /sample/ work without a key, at up to 30 requests a minute per address.

This page as Markdown · all docs in one file · OpenAPI