Returns all features currently assigned to a specific pricing plan, including full feature details and multipliers.
Endpoint
GET /api/v1/projects/{slug}/plans/{planId}/features
Authentication
Bearer token with your API key. Requires read or read_write permission.
Path Parameters
The project’s URL-friendly slug identifier.
Response
List of plan-feature association objects.
Plan-feature association ID
Feature multiplier for this plan (e.g. 5 means 5x the base limit)
Base price of the feature
One of "Standart", "Limits", or "Usage Based"
Whether this feature has countable data
Example
curl https://cuprice.io/api/v1/projects/my-saas-app/plans/201/features \
-H "Authorization: Bearer cpk_your_key_here"
{
"features": [
{
"id": 301,
"multiplier": 5,
"feature": {
"id": 101,
"name": "AI Prompts",
"description": "Monthly AI prompt allowance",
"basePrice": 10,
"featureType": "Limits",
"isCountable": true
}
},
{
"id": 302,
"multiplier": 1,
"feature": {
"id": 102,
"name": "Team Members",
"description": "Number of team seats included",
"basePrice": 5,
"featureType": "Standart",
"isCountable": false
}
},
{
"id": 303,
"multiplier": 1,
"feature": {
"id": 104,
"name": "Priority Support",
"description": "24/7 priority email and chat support",
"basePrice": 20,
"featureType": "Standart",
"isCountable": false
}
}
]
}
Errors
| Status | Description |
|---|
401 | Invalid or missing API key |
404 | Project or plan not found |