Skip to main content
GET
/
v0
/
prices
List
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
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.paygentic.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication

Query Parameters

billableMetricId
string

Filter prices by billable metric ID Unique identifier for a billable metric

Pattern: ^bm_[a-zA-Z0-9]+$
limit
integer
default:10

Number of prices to return

Required range: 1 <= x <= 100
offset
integer
default:0

Number of prices to skip

Required range: x >= 0

Response

List of prices

data
object[]
pagination
object