API ReferenceAuthentication

Current session

GET/api/v1/auth/meBearer

Trading APIprice E4 · size E2 · amount E6 (integers)YES | NO

Call this once after restoring a token from local storage, to confirm the token is valid, which address it belongs to, and when it expires. expiresAt is computed from the idle window, not from the 7d absolute cap — do not read it as "guaranteed valid until this moment".

Send Authorization: Bearer <token>. The token is issued by POST /api/v1/auth/verify, and expires after 24h idle or 7d after issuance.

Response

200Session is valid
  • addressstring

    Session address

    Example"0x3f1a9c2e7b4…a7b8c9d0e1f"

  • countrystring

    Jurisdiction derived from the session (ISO country code)

  • expiresAtint64

    Idle-window expiry (epoch milliseconds)

    Example1758240000000

Switch status codes in the response example to view errors. For all codes, see the Errors page.