API key format

Authentication

All requests to the Emigro On-Chain API must be authenticated using an API key. Each key identifies a partner or integration and is tied to individual usage quotas and permissions. Keys are provided by Emigro and must be included in the request headers.


API Key Format

An Emigro API key follows this structure:

esk_<environment>.<secret>

Example:

esk_live.ABCdefge1234567890

Parts:

  • esk_live → prefix identifying the environment (e.g. esk_live, esk_test)

  • The portion after the dot (.) → a randomly generated secret

Keys are validated via a SHA-256 hash server-side, so the full secret is never stored in plaintext.

Last updated