Api reference
List prices
List all prices for the authenticated merchant. Supports filtering and cursor-based pagination.
Related endpoints
POST /prices— Create a priceGET /prices/{id}— Retrieve a pricePATCH /prices/{id}— Update a priceDELETE /prices/{id}— Archive a price
Common errors
401 unauthenticated— missing, malformed, or revoked API key.
Pagination
Offset-based with limit (default 25, max 100) and offset. The response pagination block includes total and hasMore. See the pagination guide for SDK auto-paging helpers.
x-api-key<token>
Your RevKeen API key (powered by Unkey). Get it from Dashboard > Settings > API Keys. Use rk_sandbox_* for test mode and rk_live_* for production.
In: header
Query Parameters
product_id?string
Filter by product ID
Format
uuidtype?string
Filter by price type
Value in
"one_time" | "recurring"pricing_model?string
Filter by pricing model
Value in
"fixed" | "pay_what_you_want" | "free"active?string
Filter by active status
Value in
"true" | "false"currency?string
Filter by currency
Length
3 <= length <= 3lookup_key?string
Filter by lookup key
limit?integer
Number of results (1-100)
Default
20Range
1 <= value <= 100starting_after?string
Cursor for pagination (ID to start after)
Format
uuidending_before?string
Cursor for pagination (ID to end before)
Format
uuidResponse Body
application/json
application/json
curl "https://api.revkeen.com/v2/prices" \ -H "x-api-key: $REVKEEN_API_KEY"{
"object": "list",
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"object": "price",
"product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
"active": true,
"currency": "string",
"unit_amount": 0,
"type": "one_time",
"pricing_model": "fixed",
"interval": "day",
"interval_count": 0,
"trial_period_days": 0,
"minimum_amount": 0,
"maximum_amount": 0,
"suggested_amount": 0,
"preset_amounts": [
0
],
"nickname": "string",
"lookup_key": "string",
"billing_scheme": "per_unit",
"tiers_mode": "graduated",
"tiers": [
{
"up_to": 0,
"unit_amount_minor": 0,
"flat_amount_minor": 0
}
],
"transform_quantity": {
"divide_by": 0,
"round": "up"
},
"metadata": {},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
],
"has_more": true,
"total_count": 0
}{
"error": {
"type": "string",
"code": "string",
"message": "string",
"param": "string"
}
}