$PRIVY is live -

Skip to content
Docs

API reference

Account

The account and key behind a request.

Current account

GET/api/v1/meAPI key

Returns the Privy account that owns the API key, plus metadata about the key itself. Useful for verifying a key.

Response

  • accountIdstring · uuid

    Privy account ID.

  • walletAddressstring

    Main wallet the account signed in with.

  • createdAtstring · date-time

    When the account was created.

  • apiKeyobject

    The key used for this request.

    • idstring · uuid

      Key ID.

    • namestring

      Key name.

    • prefixstring

      Non-secret display prefix.

    • scopesstring[]

      Granted scopes.

    • createdAtstring · date-time

      When the key was created.

curl "https://privy.ac/api/v1/me" \
  -H "X-API-Key: $PRIVY_API_KEY"

Try it

Sends a real request
Example response
{
  "data": {
    "accountId": "1b2c3d4e-5f60-4718-8a9b-0c1d2e3f4a5b",
    "walletAddress": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU",
    "createdAt": "2026-10-01T12:00:00.000Z",
    "apiKey": {
      "id": "0f9e8d7c-6b5a-4938-8271-605f4e3d2c1b",
      "name": "Portfolio bot",
      "prefix": "pvy_live_Ab12Cd",
      "scopes": [
        "read:public",
        "read:account"
      ],
      "createdAt": "2026-10-09T10:00:00.000Z"
    }
  },
  "requestId": "req_8f3a2c91d4e6b07f"
}