Skip to main content
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

Authorization
string
required
Bearer token with your API key. Requires read or read_write permission.

Path Parameters

slug
string
required
The project’s URL-friendly slug identifier.
planId
number
required
The plan’s unique ID.

Response

features
array
List of plan-feature association objects.

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

StatusDescription
401Invalid or missing API key
404Project or plan not found