GET /trending/orders
List the end user's trending, reactions and other-services orders, newest first.
Use case
Order history screen.
Headers
| Header | Required | Description |
|---|---|---|
Authorization | yes | Bearer <accessToken> |
x-user-id | yes | End-user id, 1–256 chars [A-Za-z0-9_-]. |
Query params
| Field | Type | Required | Description |
|---|---|---|---|
service | string | no | Filter by service. Validated by the trending service. |
status | string | no | Filter by order status. Validated by the trending service. |
limit | integer | no | 1–100. |
Response 200
{
"orders": [
{ "orderId": "…", "providerOrderId": "…" }
]
}
Each entry has the same shape as order in
POST /trending/orders.
Errors
| Status | Meaning |
|---|---|
400 | limit out of range, or an unknown service / status (message says why). |
401 / 403 | Token missing, invalid, expired or revoked / API inactive. |
429 | Per-client rate limit hit. |
503 | Trending disabled or unavailable. |
Example
curl -H "Authorization: Bearer $ACCESS" -H "x-user-id: $USER_ID" \
"$BASE_URL/trending/orders?limit=20"