API reference
Base URLs, auth, errors, and a live playground.
SDKs
Typed clients for Go, Python, and TypeScript.
CLI
Send events and script billing from the terminal.
AI and agents
MCP server and Agent Skills for coding agents.
UI kit
Pricing, usage, and credits components for React.
Webhooks
Signed, retried delivery for every billing event.
API tooling
OpenAPI spec, Postman, and Swagger UI.
Open source
Contribute, or self-host the community edition.
Which tool should I use?
What every Flexprice surface shares
One API key, one environment. An API key belongs to a single environment (sandbox or production) in a single region. The SDKs, CLI, and MCP server all read the same key and never need an environment flag. Create keys in the dashboard under Developers, or with the API keys endpoint. See Manage API keys for roles and scopes. Two regional base URLs. Every client is pointed at one of these, including the/v1 suffix and no trailing slash:
Start building in five minutes
1
Create an API key
In the dashboard, open Developers, click Add, and choose Read & Write. Copy the key when it is shown; it is not displayed again.
2
Send one usage event
3
Watch it land
Open the Event Debugger in the dashboard, or run
flexprice events list --output json. Then follow Plan your integration for the full path to production.Where to follow API and SDK changes
- Changelog: product and API changes, with SDK releases called out
- Status page: Cloud API and Admin Portal uptime and incidents
- Troubleshooting hub: the first place to look when something does not line up
- Community Slack: questions, feedback, and early access

