Skip to main content
Base URL https://app.contenthero.ai/api/v1. All endpoints take a bearer API key.

Balance

MethodPathPurpose
GET/account/balanceYour current credit balance and plan tier.
curl https://app.contenthero.ai/api/v1/account/balance \
  -H "Authorization: Bearer $CONTENTHERO_API_KEY"

Cost preflight

There is no separate pricing endpoint. Every generation can be previewed for free by passing getCost: true (SDK and MCP) or --cost (CLI) on the generate call. The preflight takes the same parameters as the real call, so the quote matches the charge. See Account & Billing.

Usage attribution

Spends made with an API key are attributed to that key. Per-key usage is visible in the API Keys view in the app.