Skip to main content
Returns all public data about a project — name, plans, features, prices, and theme settings.
This is the same data the embed widget uses internally.

Endpoint

GET /api/share/{shareId}

Parameters

shareId
string
required
The project’s Share ID

Response

id
number
Project ID
name
string
Project display name
description
string
Short description
pricingPageDescription
string
Longer description for the pricing page header
currency
string
Currency code (e.g. “USD”)
annualDiscount
number
Discount for annual billing (e.g. 0.2 = 20% off)
plans
array
List of pricing plans with features
features
array
All features in the project
themeSettings
object
Colors, fonts, CSS, layout settings

Example

curl https://cuprice.io/api/share/nTZ7axXQHU
{
  "id": 203,
  "name": "My SaaS",
  "currency": "USD",
  "annualDiscount": 0.2,
  "plans": [
    {
      "id": 100,
      "name": "Pro",
      "isPopular": true,
      "features": [
        { "name": "AI Prompt", "included": true, "limit": null },
        { "name": "API Calls", "included": true, "limit": 1000 }
      ]
    }
  ],
  "features": [
    { "name": "AI Prompt", "featureType": "Standart", "basePrice": 10 },
    { "name": "API Calls", "featureType": "Limits", "basePrice": 5 }
  ]
}