Polymarket API reference / Relayer API
GET/relayer/api/keys

Get all relayer API keys

Returns all relayer API keys for the authenticated address. Auth allowed: Gamma auth or Relayer API key auth (`RELAYER_API_KEY` + `RELAYER_API_KEY_ADDRESS`).

Base URL
https://relayer-v2.polymarket.com
Auth
Builder or Relayer API key headersRELAYER_API_KEY, RELAYER_API_KEY_ADDRESSAuth allowed: Gamma auth or Relayer API key auth (`RELAYER_API_KEY` + `RELAYER_API_KEY_ADDRESS`).
Rate limit
Not published
Limit applies to
n/a

Parameters

NameInTypeRequiredDescription
RELAYER_API_KEYheaderstringnoRelayer API key (when using relayer API key auth)
RELAYER_API_KEY_ADDRESSheaderstringnoAddress that owns the key (when using relayer API key auth). Must match the address that owns the key.

Example

curl -X GET "https://relayer-v2.polymarket.com/relayer/api/keys" \
  -H "RELAYER_API_KEY: $RELAYER_API_KEY" \
  -H "RELAYER_API_KEY_ADDRESS: $RELAYER_API_KEY_ADDRESS"

Returns a list of objects with these fields

FieldTypeDescription
apiKeystringThe relayer API key
addressstringEthereum address (0x-prefixed, 40 hex chars)
createdAtstringTimestamp when the key was created
updatedAtstringTimestamp when the key was last updated

Responses

StatusMeaning
200API keys retrieved successfully. Returns an empty array if no keys exist for the authenticated address.
401Unauthorized - Missing or invalid auth
403Forbidden - Unsupported auth mechanism
Polymarket's API serves current state only, so it cannot show what a market's book looked like after it resolved. PolyTest records Up/Down markets while they run and keeps the snapshots. Try it free, or read the full rate limit reference.

From Polymarket's published OpenAPI spec and rate-limit tables, synced 2026-10-04.