Get a price
GET
/v1/prices/:id
curl "https://api.summerbase.com/v1/prices/:id" \ -H "Authorization: Bearer sb_..."const response = await fetch("https://api.summerbase.com/v1/prices/:id", { headers: { Authorization: "Bearer sb_...", },})const data = await response.json()Fetch one price, by Summerbase id or by any source’s id for it.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
The price’s Summerbase id, or an identity ref: a source slug and that
source’s own id for it, joined by a colon — stripe:price_123.
Example
0198f1a4-2e5f-7b80-a1c2-3d4e5f6a7b8cQuery Parameters
Section titled “Query Parameters”expand[]
Array<string>
Relationships to include in the response instead of fetching separately. A dotted path expands what an expanded record can expand in turn — at most 4 deep, 10 paths a request, and never back to a record already on the path.
Response
Section titled “Response”Returns the price object.
Media typeapplication/json
Example
{ "archived": false, "created_at": "2025-09-08T14:12:30Z", "currency_code": "USD", "id": "0198f1a4-2e5f-7b80-a1c2-3d4e5f6a7b8c", "identities": [ "stripe:price_1PqR8sT2uV4wX6yZ" ], "interval": "month", "interval_count": 1, "name": "Growth monthly", "object": "price", "owner_source_id": "0198f1a3-0b7c-7e25-9f41-6a2d8c3e5b19", "plan_id": "0198f1a4-1d2e-7a40-9b31-5c6d7e8f9a0b", "pricing_model": "fixed", "properties": { "tier": "mid" }, "properties_by_source": { "backend": { "tier": "mid" } }, "unit_amount": "50.00"}