API

One endpoint: fetch your credentials, node list, quota and usage with a bearer token.

Authentication

Create or rotate a token in the dashboard. Send it as Authorization: Bearer <token>. Tokens are stored hashed; the full value is displayed once. Rotating immediately invalidates the previous token.

curl -H "Authorization: Bearer pxk_YOUR_TOKEN" https://proxy.xdigitex.com/api/v1/me

GET /api/v1/me

Returns account, token prefix, quota, per-day usage, credentials with connection strings, and nodes.

{
  "account": { "email": "you@example.com", "plan": "trial", "verified": true, "period_start": "2026-10-19" },
  "token_prefix": "pxk_1a2b3c4d",
  "quota": { "bytes": 1073741824, "used": 12345, "remaining": 1073729479 },
  "usage": {
    "current_period_bytes": 12345,
    "by_day": [ { "day": "2026-10-19", "bytes_in": 890, "bytes_out": 11455, "connections": 3 } ]
  },
  "credentials": [
    {
      "username": "px0123456789",
      "password": "…",
      "node": "fr-1",
      "socks5": "socks5h://px0123456789:…@proxy.xdigitex.com:1080",
      "http": "http://px0123456789:…@proxy.xdigitex.com:8080"
    }
  ],
  "nodes": [
    { "name": "fr-1", "host": "proxy.xdigitex.com", "ip": "161.97.166.44", "location": "Lauterbourg, France", "ports": { "socks5": 1080, "http": 8080 } }
  ]
}

Errors

  • 401 missing or invalid bearer token
  • 403 account disabled
  • 429 rate limit on signup/login (HTML pages, not the API)