border.bot
Esc
  • Loading…
↑ ↓ to move↵ to openEsc to close
Docs menu

GET https://api.border.bot/v1/pricing

Public: no authentication needed.

Credits per action, credit packs and free-tool limits. No authentication needed.

Responses#

  • 200: Current pricing. (PricingResponse)
  • 429: Rate limited (rate_limited). Retry after Retry-After seconds; RateLimit says which limit was hit (r=0, t seconds until its window ends) and RateLimit-Policy its quota. (Error)
  • 500: Unexpected error (internal). (Error)

Example request#

curl -X GET https://api.border.bot/v1/pricing

Example response (200)#

JSON
{
  "data": {
    "packages": [
      {
        "id": "string",
        "name": "string",
        "description": "string",
        "credits": 0,
        "priceCents": 0,
        "currency": "string",
        "featured": false,
        "unitPriceCents": 0
      }
    ],
    "actions": [
      {
        "action": "string",
        "label": "string",
        "description": "string",
        "credits": 0
      }
    ],
    "freeTools": {
      "limit": 0,
      "windowDays": 0
    },
    "signupBonusCredits": 0,
    "generatedAt": "string"
  }
}