Skip to main content
GET
/
subscription
Current subscription status
curl --request GET \
  --url https://api.dexploit.dev/subscription \
  --header 'X-API-Key: <api-key>'
{
  "subscription_id": "<string>",
  "status": "active",
  "current_period_end": 123,
  "cancel_at_period_end": true
}

Authorizations

X-API-Key
string
header
required

Preferred for swaps-api endpoints (/swaps/*, /stats/*, /trending, /pool-events).

Response

200 - application/json

Subscription status

Subscription status mirroring /api/v1/billing/subscription. JWT-authenticated.

subscription_id
string | null
status
string
Example:

"active"

tier
enum<string>
Available options:
free,
developer,
pro,
enterprise
current_period_end
integer | null

Unix epoch seconds.

cancel_at_period_end
boolean