Skip to content

The Nexus API authenticates every request with a publisher API key, sent in the X-SHARED-SECRET request header. A request with a missing, inactive, or wrong-type key is rejected with 401 Unauthorized.

GET /v1/attributions/creators HTTP/1.1
Host: api.nexus.gg
X-SHARED-SECRET: nexus_pk_your_key_here

A publisher admin mints keys in the Nexus Dashboard. There are two types, distinguished by prefix:

TypePrefixUse it for
Publicnexus_pk_…Read endpoints (for example, listing creators).
Privatenexus_sk_…Writes and sensitive reads (recording and updating attribution transactions).

Endpoints are gated by key type: a public-key request to a private endpoint returns 401, and a private key works wherever a public key does.

Point non-production testing at the sandbox host and keep production keys for production traffic.

EnvironmentBase URL
Productionhttps://api.nexus.gg
Sandboxhttps://api.nexus-dev.gg