OneCart API
The OneCart API lets you manage your products, orders, listings, and sales analytics across every channel you sell on — Shopee, Lazada, Shopify, TikTok, and more — from one place.
For API clients and AI agents
- OpenAPI specification: https://developers.getonecart.com/openapi/v2.json — the complete, machine-readable definition of every endpoint, parameter, and response. Fetch this URL directly to generate a client or drive an integration.
- Plain-text index (llms.txt): https://developers.getonecart.com/llms.txt — every endpoint listed in one text file, ready to feed to an LLM.
Basics
- Base URL:
https://app.getonecart.com/api/v2 - Authentication: send your API key in the
Authorizationheader. Manage keys in Settings → API Keys. Read-only keys may callGETonly. - Rate limit: 300 requests per 60 seconds, per API key.
- Responses: JSON, wrapped in
{ data, meta, links, errors, warnings }. - Support: hello@getonecart.com
API v1 is deprecated and at end of life. It remains available without support until 31 January 2027, after which it will be shut down. New integrations should use v2 (documented here).
The interactive reference loads below and requires JavaScript.