DEVELOPERS

Build with the Zelora catalogue

We expose a small, read-only HTTP API to query categories, prices and individual plans alongside every configurable option. We use JSON.

Create an API keyLast updated 16 November 2026

The API is designed for Discord bots, price comparison tools, dashboards and internal provisioning helpers. It returns the same catalogue the storefront sells from, including localized category and plan copy, plan specs, option groups, extras and the live trial offer. We use it ourselves for the server's Discord bot.

01

Quick start

You need a customer account to issue a valid key. Every request must present it; anonymous requests are rejected before any catalogue data is read.

01

Create a key

Open My account → API keys, give the key a name and press Create key. Copy the full key immediately: only its hash is stored and it is never shown again.

02

Send it as a bearer token

Use Authorization: Bearer <key>. X-API-Key: <key> is also accepted for clients that cannot set an Authorization header.

03

Call the catalogue

Start with GET /api/v1/plans. Add ?product=minecraft-java (for example) to narrow the response to one category.

Keys are personal. Do not ship one in a public client, mobile app bundle or GitHub repository.

02

Authentication

Every request must be authenticated with a key issued in My account.

Authentication
Authorization: Bearer zlr_live_xxxxxxxxxxxxxxxx

Alternative header: X-API-Key: zlr_live_xxxxxxxxxxxxxxxx

How to keep your key safe

  • Store the key in an environment variable or secret manager, never in the repository.
  • Use one key per integration so a leak can be revoked without breaking everything else.
  • Treat the key like a password. Zelora staff will never ask you to send it.
  • Revoke a key from My account as soon as it is exposed; a replacement can be created in seconds.
03

Endpoints

Both endpoints are GET-only and return JSON. There are no write operations and no provisioning calls.

GET/api/v1/plans

The full API catalogue: enabled game categories, their descriptions, artwork and emoji, every plan published to the API, prices by interval, specs, option groups, extras and the current trial policy.

GET/api/v1/plans/{product}/{key}

One plan by product id and plan key. The key is case-insensitive. The response also includes the category object so a client does not need a second call.

Filtering

GET /api/v1/plans?product=minecraft-java restricts the list to one category. An unknown or disabled product returns 404.

04

What comes back

We may add new fields over time, so your client should be prepared to ignore any it doesn't recognise. We don't remove or rename fields that already exist.

products[]

Game categories with id, localized name, localized description, image path and emoji.

plans[]

Plans with product, key, type, localized name, description, emoji, specs, badge, currency, availability, prices, setup fee, trial days and offer window. Emoji is a Discord custom emoji such as <:slime:1572289000667090954>, returned verbatim.

plans[].prices[]

One row per interval sold: amountCents for the whole interval, monthlyCents for display and discountPercent. Amounts are integer euro cents.

plans[].optionGroups[]

The authoritative configuration tree: group kind, selection bounds, options, localized descriptions, taxability, monthly deltas and per-unit quantity limits.

plans[].extras[]

A flattened convenience view of the addons group only. Use optionGroups for sizing, software, backups and final pricing.

05

Example request

Request
curl --request GET \
  --url 'https://zelora.es/api/v1/plans?product=minecraft-java' \
  --header 'Authorization: Bearer zlr_live_your_key_here' \
  --header 'Accept: application/json'
Response
{
  "version": "v1",
  "generatedAt": "2026-11-16T10:00:00.000Z",
  "trial": { "enabled": true, "maxDays": 7 },
  "products": [
    {
      "id": "minecraft-java",
      "name": { "es": "Minecraft Java", "en": "Minecraft Java" },
      "description": { "es": "...", "en": "..." },
      "image": "/background/menu/minecraft.webp",
      "emoji": "⛏️"
    }
  ],
  "plans": [
    {
      "product": "minecraft-java",
      "key": "Z12",
      "emoji": "⚙️",
      "specs": [ { "icon": "Cpu", "label": { "es": "1 vCPU", "en": "1 vCPU" } } ],
      "prices": [ { "interval": "monthly", "amountCents": 499 } ],
      "optionGroups": [],
      "extras": []
    }
  ]
}

The sample is shortened. Real plan objects include every field described above.

06

Limits and fair use

Each key has two independent fixed-window limits: requests per minute and requests per day. Both are enforced before catalogue data is read. The defaults are 60 requests per minute and 10,000 per day; operators can adjust them per key if necessary.

  • If the limit is 0, there is effectively no limit. Use this only for a trusted integration after discussing it with us.
  • Windows are fixed, not sliding: a minute starts at :00 and a day starts at 00:00 UTC.
  • When a limit is exhausted the API returns 429 and Retry-After: 60. Back off; creating a new key to bypass a limit is not allowed.
  • Cache catalogue responses on your side for at least 60 seconds. Prices change rarely and polling more often wastes your quota.
  • Do not run parallel bursts that deliberately drain the quota or distribute one workload across many keys.
07

Errors

Errors are JSON with an error code. Authentication failures happen before any database work; catalogue failures never return stale prices.

401
missing-api-key

No Authorization or X-API-Key header was sent.

401
invalid-api-key

The key is unknown, malformed or revoked.

404
product-not-found

The product id does not exist or is disabled.

404
plan-not-found

The product exists but no published plan has that key.

429
rate-limited

The key has exhausted its per-minute or per-day limit.

503
catalogue-unavailable

The catalogue database could not be read. Retry later; do not quote cached prices as current.

Effective 16 November 2026

API usage policy

This policy applies to every key issued for the Zelora catalogue API. By creating or using a key you agree to it, to our Terms of Service and to the limits configured on the key.

1. Authorised use

The API is provided for legitimate integrations with Zelora's catalogue: displaying plans and prices to your own users, powering a Discord bot, comparing products or preparing a purchase. You may not represent the data as your own catalogue or imply that Zelora endorses your product without written permission.

2. Keys and account security

Keys are personal to the account that created them and may not be sold, shared publicly or embedded in a distributed client. You are responsible for every request made with your key. If you suspect exposure, revoke the key in My account and create a replacement; operators may also revoke any key that appears compromised.

3. Limits and fair use

Respect the configured per-minute and per-day limits. Do not attempt to bypass them with multiple keys, rotating accounts, spoofed headers or concurrent floods. Cache responses where sensible and use conditional backoff when you receive 429. We may lower a limit or suspend a key that degrades service for others.

4. Data accuracy and caching

Catalogue data is provided as-is and may change without notice. Prices and availability are only authoritative at the moment of a successful response. You must not present stale cached prices as current after a material change, and you must not use the API to calculate a final charge without re-checking the live plan and its options. Zelora is not liable for decisions made from stale data.

5. Availability and changes

The API is offered on a best-effort basis and is not covered by the SLA unless a separate written agreement says so. We may add fields, change rate limits, deprecate behaviour with reasonable notice or take the API offline for maintenance. Changes that break the current specification are released under a new version path; clients must tolerate unknown fields within v1.

6. Prohibited use

You may not use the API to scrape at scale, overload our infrastructure, probe for vulnerabilities, access another customer's data, resell raw catalogue data as a competing feed, or build a service that misleads users about Zelora's prices, availability or identity. Automated requests must identify themselves with a truthful User-Agent where possible.

7. Enforcement

We may throttle, revoke or refuse keys that violate this policy or create security, legal or operational risk. Where practical we will contact the account owner first, but immediate action is allowed for attacks, credential leaks or unlawful use. Revocation does not entitle you to a refund; paid services are governed by the Terms of Service.

8. Contact

Questions about an integration, a higher limit or this policy can go through the support area of My account. Include the key name and a short description of your use case; never include the full key.

Ready to create?

Create a key in My account and make your first request. If you need a higher limit, tell us what you are building.

Open My account