Endpoints — Pro
Get product orders
Endpoints — Pro
Get product orders
Get weekly orders and ranking for a product
GET
/
api
/
v2
/
products
/
{id}
/
orders
curl --request GET \
--url https://api.sneakersapi.dev/api/v2/products/{id}/orders \
--header 'Authorization: <api-key>'
{
"status": "success",
"error": "",
"message": "",
"query": {},
"data": [
{
"position": 1,
"orders": 2483,
"aov": 229,
"gmv": 569798,
"inserted_at": "2024-11-18T00:00:00Z"
},
{
"position": 1,
"orders": 3639,
"aov": 243,
"gmv": 884075,
"inserted_at": "2024-11-11T00:00:00Z"
},
{
"position": 49,
"orders": 310,
"aov": 323,
"gmv": 100118,
"inserted_at": "2024-11-04T00:00:00Z"
},
{
"position": 248,
"orders": 81,
"aov": 474,
"gmv": 38388,
"inserted_at": "2024-10-28T00:00:00Z"
},
{
"position": 979,
"orders": 24,
"aov": 532,
"gmv": 12765,
"inserted_at": "2024-10-21T00:00:00Z"
},
{
"position": 612,
"orders": 37,
"aov": 461,
"gmv": 17040,
"inserted_at": "2024-10-14T00:00:00Z"
}
],
"meta": null
}
The ID of the product (slug is not accepted).
There is no date range filter for this endpoint at this moment. The response is limited to 52 weeks of data.
{
"status": "success",
"error": "",
"message": "",
"query": {},
"data": [
{
"position": 1,
"orders": 2483,
"aov": 229,
"gmv": 569798,
"inserted_at": "2024-11-18T00:00:00Z"
},
{
"position": 1,
"orders": 3639,
"aov": 243,
"gmv": 884075,
"inserted_at": "2024-11-11T00:00:00Z"
},
{
"position": 49,
"orders": 310,
"aov": 323,
"gmv": 100118,
"inserted_at": "2024-11-04T00:00:00Z"
},
{
"position": 248,
"orders": 81,
"aov": 474,
"gmv": 38388,
"inserted_at": "2024-10-28T00:00:00Z"
},
{
"position": 979,
"orders": 24,
"aov": 532,
"gmv": 12765,
"inserted_at": "2024-10-21T00:00:00Z"
},
{
"position": 612,
"orders": 37,
"aov": 461,
"gmv": 17040,
"inserted_at": "2024-10-14T00:00:00Z"
}
],
"meta": null
}
curl --request GET \
--url https://api.sneakersapi.dev/api/v2/products/{id}/orders \
--header 'Authorization: <api-key>'
{
"status": "success",
"error": "",
"message": "",
"query": {},
"data": [
{
"position": 1,
"orders": 2483,
"aov": 229,
"gmv": 569798,
"inserted_at": "2024-11-18T00:00:00Z"
},
{
"position": 1,
"orders": 3639,
"aov": 243,
"gmv": 884075,
"inserted_at": "2024-11-11T00:00:00Z"
},
{
"position": 49,
"orders": 310,
"aov": 323,
"gmv": 100118,
"inserted_at": "2024-11-04T00:00:00Z"
},
{
"position": 248,
"orders": 81,
"aov": 474,
"gmv": 38388,
"inserted_at": "2024-10-28T00:00:00Z"
},
{
"position": 979,
"orders": 24,
"aov": 532,
"gmv": 12765,
"inserted_at": "2024-10-21T00:00:00Z"
},
{
"position": 612,
"orders": 37,
"aov": 461,
"gmv": 17040,
"inserted_at": "2024-10-14T00:00:00Z"
}
],
"meta": null
}