Create Rate Card
/rate-cards
Create Rate Card
Body Parameters
name: string
The name of the rate card displayed to the customer.
description: optional string
The description of the rate card displayed to the customer.
metadata: optional map[string]
Returns
Create Rate Card
curl https://api.uselark.ai/rate-cards \
-H 'Content-Type: application/json' \
-H "X-API-Key: $LARK_API_KEY" \
-d '{
"billing_interval": "monthly",
"name": "Pro Plan"
}'
{
"id": "rc_jQK2n0wutCj6bBcAIrL6o07g",
"billing_interval": "monthly",
"created_at": "2025-11-01T00:00:00Z",
"fixed_rates": [
{
"id": "fr_04EjnYJoQLC7gtLKI6mPzZny",
"description": "description",
"name": "Base Rate",
"price": {
"amount": {
"currency_code": "usd",
"value": "2500"
},
"price_type": "flat"
}
}
],
"metadata": {},
"name": "Pro Plan",
"updated_at": "2025-11-01T00:00:00Z",
"usage_based_rates": [
{
"id": "ubr_zoXOJrDXlGGJWRNq3HqFYhbP",
"description": "description",
"included_units": 30,
"name": "Compute Hours",
"price": {
"amount": {
"currency_code": "usd",
"value": "100"
},
"price_type": "flat"
},
"pricing_metric_id": "pmtr_GlX5Tcm2HOn00CoRTFxw2Amw",
"usage_based_rate_type": "simple"
}
],
"description": "For production applications with moderate usage."
}Returns Examples
{
"id": "rc_jQK2n0wutCj6bBcAIrL6o07g",
"billing_interval": "monthly",
"created_at": "2025-11-01T00:00:00Z",
"fixed_rates": [
{
"id": "fr_04EjnYJoQLC7gtLKI6mPzZny",
"description": "description",
"name": "Base Rate",
"price": {
"amount": {
"currency_code": "usd",
"value": "2500"
},
"price_type": "flat"
}
}
],
"metadata": {},
"name": "Pro Plan",
"updated_at": "2025-11-01T00:00:00Z",
"usage_based_rates": [
{
"id": "ubr_zoXOJrDXlGGJWRNq3HqFYhbP",
"description": "description",
"included_units": 30,
"name": "Compute Hours",
"price": {
"amount": {
"currency_code": "usd",
"value": "100"
},
"price_type": "flat"
},
"pricing_metric_id": "pmtr_GlX5Tcm2HOn00CoRTFxw2Amw",
"usage_based_rate_type": "simple"
}
],
"description": "For production applications with moderate usage."
}