GET /api/tally/cost
Quote the cost of an operator sequence in tokens.
Auth
None.
Query
| Param | Type | Required | Notes |
|---|---|---|---|
operators | comma-list | yes | e.g. KO42,NM21 |
domain | string | optional | Inferred if omitted |
cross_domain | bool | optional | Default false |
Response — 200
{
"ok": true,
"tokens": 3,
"operators": ["KO42","NM21"],
"cross_domain": false,
"tier_modifier": 1.0
}
Cost depends on operator-chain length (more operators → more substeps), cross-domain flag (×1.5), and tier modifier (paid tiers ≤ 1.0).
Curl
curl -sS "https://zeqapi.com/api/tally/cost?operators=KO42,NM21,GR37&domain=orbital-mechanics"