Skip to main content
GET
/
fetch-prices
Current Plan
curl --request GET \
  --url https://app.closerx.ai/api/fetch-prices/ \
  --header 'api_key: <api-key>'
{
  "success": true,
  "errors": [],
  "response": {
    "has_subscription": true,
    "active_subscription": {
      "plan": null,
      "status": "active",
      "next_billing": "2025-09-14T18:45:46Z",
      "amount": 97,
      "features": "",
      "price_id": "<string>",
      "payment_gateway": "stripe"
    },
    "prices": [
      {
        "price_id": "<string>",
        "amount": 297,
        "currency": "usd",
        "product_name": "<string>",
        "description": null,
        "interval": "month"
      }
    ]
  },
  "message": "All Prices"
}

Authorizations

api_key
string
header
required

Response

Successfully retrieved pricing and subscription information

success
boolean
Example:

true

errors
string[]
Example:
[]
response
object
message
string
Example:

"All Prices"