Freeport Seller API

Keys, scopes and limits

A key is a bearer token: Authorization: Bearer fp_live_…. It belongs to your account, carries a fixed set of scopes, and can be restricted to a list of addresses and given an expiry when it is minted. Up to twenty keys may be live at once, so a farm can give each deliverer, each machine and each tool its own and revoke one without touching the rest.

Scopes

ScopeLets a key
catalog:readRead games, lanes, realms and packages. Every key has it.
listings:readRead your listings, your boost offers, your code vault counts and whether an account listing has a login stored.
listings:writeCreate and change listings, land syncs, set tiers, stock codes, store account logins, publish boost curves.
orders:readRead the order feed, one order, its timeline.
orders:writeAccept, deliver, decline, add account credentials.
disputes:readRead a dispute: both statements, the offers, who has to answer and by when.
disputes:writePut your side on the record, refund in full, propose or answer a settlement. Not part of orders:write, because these give money back.
chat:readRead the thread with the buyer.
chat:writePost in it.
account:readRead your profile, presence and balance.
account:writeHoliday mode, presence, the sandbox reset.
payouts:readRead your withdrawals (what you asked for, the fee, where it goes, masked, and what became of it) and what has moved your balance. Its own scope, because it shows where you are paid. It reads and never asks for money.
webhooks:manageEndpoints, secrets, the delivery log, replays.

The console offers three presets: stock sync (catalog, listings), fulfilment (orders and chat, and reading disputes without moving them) and full, which is the only preset that carries payouts:read. A key keeps the scopes it was minted with: one made before a scope existed does not gain it. A key without a route's scope gets a 403 whose body names the scope it lacks.

Rate limits

Budgets are per key, per minute, and slide rather than reset on the hour. Four buckets: reads, writes, bulk (syncs and code uploads) and chat. A new seller gets the base budget; standard and trusted sellers get two and three times it, so the tools that have earned trust are never the ones waiting. Every response carries RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset; a 429 carries Retry-After in seconds. Honour it: retrying inside the window only spends more of the next one.

Idempotency

Any write may carry an Idempotency-Key header, any string up to 200 characters that you will not reuse for a different request. A retry with the same key gets the first answer back with Idempotent-Replayed: true, for a day. If that first answer was too large to keep (a batch of hundreds of lines), the retry carries Idempotent-Body: omitted and a short body saying so under the original status: the write completed, so read the resource. The same key on a different body or path is refused with idempotency_key_reused, which is the API telling you a bug in your retry loop before it costs anything.

Signed requests, if you want them

A key can be switched to signed requests from Integrations. From then on each request carries Freeport-Timestamp and Freeport-Signature: v1=<hex>, an HMAC-SHA256 with the key's signing secret over the timestamp, method, request target and a hash of the body; a signature is accepted once inside a five-minute window. A stolen key is then useless without the secret, which never travels. See Signing.

What a key survives

A password change: yes. Keys are their own credential and a seller rotating a password should not lose every integration at once. A suspension: reads keep working and writes that start something new are refused, the same rule as the console. Revoking API access from the ops side ends every key at once; revoking one key ends that key within seconds everywhere.