API Reference
The Sendd Market API is organized around REST. It accepts JSON-encoded request bodies, returns JSON responses, and uses standard HTTP response codes.
Base URL
https://api.senddmarket.com/v1Authentication
Authenticate requests by including your API key in the Authorization header:
curl https://api.senddmarket.com/v1/listings \
-H "Authorization: Bearer sk_live_your_api_key"Endpoints
Listings
| Method | Endpoint | Description |
|---|---|---|
GET | /listings | List all listings |
POST | /listings | Create a listing |
GET | /listings/:id | Retrieve a listing |
PATCH | /listings/:id | Update a listing |
DELETE | /listings/:id | Delete a listing |
Orders
| Method | Endpoint | Description |
|---|---|---|
GET | /orders | List all orders |
POST | /orders | Create an order |
GET | /orders/:id | Retrieve an order |
PATCH | /orders/:id | Update order status |
Customers
| Method | Endpoint | Description |
|---|---|---|
GET | /customers | List all customers |
GET | /customers/:id | Retrieve a customer |
Error Handling
The API uses standard HTTP status codes:
{
"error": {
"code": "invalid_request",
"message": "The 'price' field must be a positive integer.",
"status": 400
}
}| Status | Meaning |
|---|---|
200 | Success |
400 | Bad request — check your parameters |
401 | Unauthorized — invalid API key |
404 | Not found |
429 | Rate limited — slow down |
500 | Server error — try again later |
Rate Limits
- Standard plan: 100 requests/minute
- Pro plan: 1,000 requests/minute
- Enterprise: Custom limits