# Get Subscription `GET https://api.getprospect.com/v2/billing/subscription` The plan, billing cycle, phone add-on, pause and discount of this workspace, so a script can check its plan before it spends. Free: no credits. `plan.credits` are per unit: a subscription of `quantity` units has `quantity` times them. `data` is null (with no error entry) when the workspace has no subscription. Any member, with an API key, an OAuth token or a session. ## Authentication Pass your API key in the `x-api-key` header. ## Example request ```bash curl --request GET \ --url https://api.getprospect.com/v2/billing/subscription \ --header 'Content-Type: application/json' \ --header 'x-api-key: YOUR_API_KEY' ``` ## Response 200 The subscription, or `data: null` when the workspace has none. ```json { "success": true, "data": { "status": "active", "plan": { "id": "64b7f0c2a1e4d3b2c1a09f11", "name": "Growth 5K", "price": 99, "currency": "USD", "is_custom": false, "credits": { "email_search": 5000, "email_verification": 10000, "phone_search": 0 }, "wallet_plan_credit": true }, "quantity": 1, "billing_cycle": { "id": "5ff97ef1e0bd4c14bd314d4a", "name": "Monthly", "period": "month", "discount": 0 }, "started_at": "2026-10-01T00:00:00.000Z", "expires_at": "2026-11-01T00:00:00.000Z", "next_plan": null, "phone_addon": { "status": "active", "plan": { "id": "64b7f0c2a1e4d3b2c1a09f22", "name": "Phone Search Pro", "price": 10, "currency": "USD", "is_custom": false, "credits": { "email_search": 0, "email_verification": 0, "phone_search": 50 }, "wallet_plan_credit": true }, "quantity": 1 }, "pause": null, "discount": null, "payer": "company", "gateway": "stripe" }, "metadata": { "timestamp": "2026-10-08T09:30:00.000Z" } } ``` ## Response 401 Missing, unknown or inactive credentials (`UNAUTHORIZED`). ## Response 500 Unexpected server error.