Get catalog item list
Retrieve catalog items available for order.
Retrieve catalog items available for order.
Prices in catalog items is displayed as cents (without floating point),
e.g: float 17.99 is displayed as integer 1799.
Use this endpoint to view available services and pricing before placing orders.
Authorizations
AuthorizationstringRequired
API Token authentication
Query parameters
categorystring · enumOptionalExample:
Filter catalog items by category
VPSPossible values: namestringOptionalExample:
Filter catalog items by name. Use * for wildcard search, e.g. .COM* to find .com domain
.COM*Responses
200
Success response
application/json
idstringOptionalExample:
Catalog item ID
hostingercom-vps-kvm2namestringOptionalExample:
KVM 2categorystringOptionalExample:
VPSmetadataobject · nullableOptionalExample:
Flexible key-value storage containing category-specific metadata for the catalog item. The structure and available fields vary depending on the item category.
{"field":"value"}401
Unauthenticated response
application/json
500
Error response
application/json
get/api/billing/v1/catalog
GET /api/billing/v1/catalog HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": "hostingercom-vps-kvm2",
"name": "KVM 2",
"category": "VPS",
"metadata": {
"field": "value"
},
"prices": [
{
"id": "hostingercom-vps-kvm2-usd-1m",
"name": "KVM 2 (billed every month)",
"currency": "USD",
"price": 1799,
"first_period_price": 899,
"period": 1,
"period_unit": "day"
}
]
}
]Last updated
Was this helpful?