GET /v1/plans
List all active plans. Response (200):GET /v1/plans/
Get details of a specific plan. Path parameter:plan — plan ID
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Browse available plans and billing cycles. No authentication required.
{
"success": true,
"data": [
{
"id": 1,
"name": "Basic",
"description": "Great for casual users",
"bandwidth_limit_gb": 50,
"speed_limit_mbps": 10,
"trial_days": 7
},
{
"id": 2,
"name": "Premium",
"description": "Unlimited speed, 100 GB",
"bandwidth_limit_gb": 100,
"speed_limit_mbps": null,
"trial_days": 0
}
]
}
plan — plan ID
{
"success": true,
"data": [
{
"id": 1,
"name": "Monthly",
"duration_days": 30,
"price": "9.99",
"currency": "USD"
},
{
"id": 2,
"name": "Yearly",
"duration_days": 365,
"price": "79.99",
"currency": "USD"
}
]
}
{
"code": "WELCOME20",
"plan_id": 1,
"cycle_id": 2
}
{
"success": true,
"data": {
"code": "WELCOME20",
"type": "percentage",
"value": 20,
"original_price": "79.99",
"discounted_price": "63.99",
"currency": "USD"
}
}
{
"success": false,
"message": "Invalid or expired promo code."
}