code is a stable machine-readable string — switch on it in your code. message is human-readable and may change wording over time, do not parse it.
HTTP status code mapping
Error codes
Authentication & rate-limiting
Product / slug
Position / address
Yield calc / fee stats
Webhooks (inbound — partner → Barker)
Server-side
Retry policy
Idempotency: all
GET endpoints are idempotent and safe to retry. The inbound webhook endpoint is idempotent via the Idempotency-Key header.
What’s next
- Rate limits — per-key budgets and
Retry-Aftersemantics - Webhooks — inbound and outbound event handling