Skip to main content
GET
/
v1
/
analytics
/
usage
curl --request GET \
  --url https://api.bookie.app/v1/analytics/usage \
  --header 'Authorization: Bearer bookie_live_abc123def456'
{
  "billingPeriod": {
    "start": "2024-03-01T00:00:00Z",
    "end": "2024-03-31T23:59:59Z"
  },
  "requests": {
    "used": 2473,
    "limit": 3600,
    "percentage": 68.7
  },
  "transactions": {
    "used": 847,
    "limit": 1000,
    "percentage": 84.7
  },
  "tier": "pro"
}

Authorization

Authorization
string
required
Bearer token. Format: Bearer bookie_live_abc123def456

Response

billingPeriod
object
Current billing period dates
requests
object
API request usageProperties:
  • used (number): Requests used this period
  • limit (number): Request limit for tier
  • percentage (number): Usage percentage
transactions
object
Transaction usageProperties:
  • used (number): Transactions executed
  • limit (number): Transaction limit for tier
  • percentage (number): Usage percentage
tier
string
Current subscription tier. Options: free, pro, enterprise
curl --request GET \
  --url https://api.bookie.app/v1/analytics/usage \
  --header 'Authorization: Bearer bookie_live_abc123def456'
{
  "billingPeriod": {
    "start": "2024-03-01T00:00:00Z",
    "end": "2024-03-31T23:59:59Z"
  },
  "requests": {
    "used": 2473,
    "limit": 3600,
    "percentage": 68.7
  },
  "transactions": {
    "used": 847,
    "limit": 1000,
    "percentage": 84.7
  },
  "tier": "pro"
}