Endpoint
Authentication
Path Parameters
Response
Public share identifier
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Retrieve a single project with all its details
GET /api/v1/projects/{slug}
curl https://app.cuprice.io/api/v1/projects/my-saas-app \
-H "Authorization: Bearer cpk_your_key_here"
{
"id": 42,
"name": "My SaaS App",
"slug": "my-saas-app",
"description": "AI-powered project management tool",
"pricingPageDescription": "Simple, transparent pricing for teams of all sizes.",
"shareId": "YOUR_SHARE_ID",
"currency": "USD",
"annualDiscount": 0.2,
"annualDiscountEnabled": true,
"isActive": true,
"themeSettings": {
"fontFamily": "Inter",
"primaryColor": "var(--color-emerald-600)",
"hoverColor": "#1E6B44",
"buttonTextColor": "#FFFFFF",
"borderRadius": "8px",
"pricingBackgroundColor": "#FFFFFF",
"pricingBorderColor": "#E5E7EB",
"customCSS": ""
},
"features": [
{
"id": 101,
"name": "AI Prompts",
"description": "Monthly AI prompt allowance",
"basePrice": 10,
"featureType": "Limits",
"isCountable": true,
"countableData": {
"usageCount": 500,
"condition": "Up to",
"countPrice": 0.02,
"eventAggregationMethod": "count"
}
},
{
"id": 102,
"name": "Team Members",
"description": "Number of team seats",
"basePrice": 5,
"featureType": "Standart",
"isCountable": false,
"countableData": null
}
],
"pricingPlans": [
{
"id": 200,
"name": "Pro",
"description": "For growing teams",
"basePrice": 29,
"isPopular": true,
"isVisible": true,
"isFree": false,
"planFeatures": [
{
"id": 301,
"multiplier": 1,
"feature": {
"id": 101,
"name": "AI Prompts",
"featureType": "Limits",
"basePrice": 10
}
},
{
"id": 302,
"multiplier": 5,
"feature": {
"id": 102,
"name": "Team Members",
"featureType": "Standart",
"basePrice": 5
}
}
]
}
]
}
| Status | Description |
|---|---|
401 | Invalid or missing API key |
404 | Project with the given slug not found |
