Developers
Public catalog API, checkout links and partner access.
Plans API
Returns every plan on sale: group, brand, period, price, how many installments it allows and its buy link. Public, no customer data.
| Method | Path | Auth |
|---|---|---|
GET | /api/plans | None (public) |
# Every plan with its price and buy link curl https://tivlo.dev/api/plans # 200 OK { "currency": "EUR", "plans": [{ "id": "app-samsung-year", "group": "apps", "brand": "samsung", "period": "year", "installments": 1, "buy": "…/en/buy/app-samsung-year" }] }
resp, err := http.Get("https://tivlo.dev/api/plans") if err != nil { return err } defer resp.Body.Close() var list struct { Currency string `json:"currency"` Plans []Plan `json:"plans"` } json.NewDecoder(resp.Body).Decode(&list)
const res = await fetch("https://tivlo.dev/api/plans"); const { plans } = await res.json(); plans .filter(p => p.brand === "lg") .forEach(p => console.log(p.name, p.price_cents / 100));
Fields
| Field | Meaning |
|---|---|
currency | Currency of all prices |
plans[].id | Plan id |
plans[].group | apps, brand, panel, api, web or domains |
plans[].brand | TV or device brand (apps only) |
plans[].period | once, month or year |
plans[].price_cents | Price in cents |
plans[].installments | Most parts the buyer may split it into |
plans[].features | What's included |
plans[].buy | Link to buy this plan |
Buy links
Send buyers to a plan's buy link. They enter their email, choose installments if offered, then pay by card, USDT or local methods.
/{lang}/buy/{plan-id}
Partner access
Resellers and integrators can get partner access with their own signed key.
- Connect your own systems
- Webhooks for payments and orders
- Your own branding on the customer pages
Limits & caching
The plans list is cached for 60 seconds. Please cache it on your side too.