List tiers

List the free and paid tiers with prices and benefits.

GET https://cotlet.dev/api/v1/ghost/tiers

read

Returns name, type (free or paid), monthly and yearly price, currency, benefits and visibility for each tier. Prices are in the smallest currency unit, as Ghost stores them. Members on an archived tier stay subscribed and keep renewing.

Parameters

Parameters: list_tiers
NameTypeDescription
include_archived boolean boolean Also return archived tiers. Default false.

Request

cURL
curl https://cotlet.dev/api/v1/ghost/tiers \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("ghost", "list_tiers")
Node.js
const result = await cotlet.call('ghost', 'list_tiers');
CLI
cotlet call ghost list_tiers

Example response

JSON

{
  "tiers": [
    {
      "id": "622727ad96a190e914ab6665",
      "name": "Bronze",
      "type": "paid",
      "monthly_price": 500,
      "yearly_price": 5000,
      "currency": "usd",
      "benefits": [
        "Free daily newsletter",
        "3 posts a week"
      ],
      "active": true
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.