Get subscription
GET /v1/billing/subscriptionFreeRead-only
The organization's plan and subscription: plan, status, when the period renews or ends, whether it is set to cancel, the price, this month's use of every limit (units, described areas, API keys, rate) and what the next plan adds, with its checkout_url. Free. The same as get_account without the profile. Call it before suggesting an upgrade, and after handing a human a checkout link to see when the payment went through (plan changes from free to the plan bought, usually within seconds).
MCP tool get_subscription · CLI geocode get-subscription · RPC POST /v1/ops/get_subscription
Input
None.
Example request
curl "https://geocodeai.dev/v1/billing/subscription" \
-H "Authorization: Bearer $GEOCODE_API_KEY"Example response
See the description above for what this returns.
Errors
Failures are RFC 9457 problems. Common ones here: 400 invalid_input, 401 unauthorized, 429 rate_limited.