Authorizations
API key authentication
Query Parameters
Filter prices by billable metric ID
Number of prices to return
Required range:
1 <= x <= 100Number of prices to skip
Required range:
x >= 0curl --request GET \
--url https://api.paygentic.io/v0/prices \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "price_l5m6n7o8p9q0r1s2",
"object": "price",
"billableMetricId": "bm_t3u4v5w6x7y8z9a0",
"createdAt": "2024-01-18T11:20:00Z",
"currency": "USD",
"description": "Per-token pricing for Claude API",
"invoiceDisplayName": "Claude Token Consumption",
"model": "standard",
"paymentTerm": "instant",
"properties": {
"unitPrice": "0.00002"
},
"unitAmount": "20000000",
"updatedAt": "2024-01-18T11:20:00Z"
},
{
"id": "price_b1c2d3e4f5g6h7i8",
"object": "price",
"billableMetricId": "bm_j9k0l1m2n3o4p5q6",
"createdAt": "2024-02-10T13:45:00Z",
"currency": "USD",
"description": "Tiered pricing for storage capacity",
"invoiceDisplayName": "Storage Usage (GB)",
"model": "volume",
"paymentTerm": "in_arrears",
"properties": {
"maxPrice": "0.25",
"minPrice": "0.05"
},
"unitAmount": "50000000000",
"updatedAt": "2024-02-25T09:30:00Z"
}
],
"pagination": {
"limit": 10,
"offset": 0,
"total": 2
}
}curl --request GET \
--url https://api.paygentic.io/v0/prices \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "price_l5m6n7o8p9q0r1s2",
"object": "price",
"billableMetricId": "bm_t3u4v5w6x7y8z9a0",
"createdAt": "2024-01-18T11:20:00Z",
"currency": "USD",
"description": "Per-token pricing for Claude API",
"invoiceDisplayName": "Claude Token Consumption",
"model": "standard",
"paymentTerm": "instant",
"properties": {
"unitPrice": "0.00002"
},
"unitAmount": "20000000",
"updatedAt": "2024-01-18T11:20:00Z"
},
{
"id": "price_b1c2d3e4f5g6h7i8",
"object": "price",
"billableMetricId": "bm_j9k0l1m2n3o4p5q6",
"createdAt": "2024-02-10T13:45:00Z",
"currency": "USD",
"description": "Tiered pricing for storage capacity",
"invoiceDisplayName": "Storage Usage (GB)",
"model": "volume",
"paymentTerm": "in_arrears",
"properties": {
"maxPrice": "0.25",
"minPrice": "0.05"
},
"unitAmount": "50000000000",
"updatedAt": "2024-02-25T09:30:00Z"
}
],
"pagination": {
"limit": 10,
"offset": 0,
"total": 2
}
}API key authentication
Filter prices by billable metric ID
Number of prices to return
1 <= x <= 100Number of prices to skip
x >= 0