REST API basics
We built a complete REST e-commerce API that lets you manage your data the way you need. It uses standard HTTP features — authentication, verbs, and response codes — to stay predictable and easy to use.
Essentials
| Base URL | https://app.snipcart.com/api |
| Format | JSON only — always send the Accept: application/json header on every request. |
| Authentication | HTTP Basic with a secret API key (key as username, empty password). See Authentication. |
| Errors | Standard HTTP status codes, with a JSON error body on 4xx. See Errors. |
A first request
curl -H "Accept: application/json" \
https://app.snipcart.com/api/orders \
-u {YOUR_SECRET_API_KEY}:If you're new to APIs, consider reading this introduction to integrating APIs.