Skip to main content

GET /trending/orders

List the end user's trending, reactions and other-services orders, newest first.

Use case​

Order history screen.

Headers​

HeaderRequiredDescription
AuthorizationyesBearer <accessToken>
x-user-idyesEnd-user id, 1–256 chars [A-Za-z0-9_-].

Query params​

FieldTypeRequiredDescription
servicestringnoFilter by service. Validated by the trending service.
statusstringnoFilter by order status. Validated by the trending service.
limitintegerno1–100.

Response 200​

{
"orders": [
{ "orderId": "…", "providerOrderId": "…" }
]
}

Each entry has the same shape as order in POST /trending/orders.

Errors​

StatusMeaning
400limit out of range, or an unknown service / status (message says why).
401 / 403Token missing, invalid, expired or revoked / API inactive.
429Per-client rate limit hit.
503Trending disabled or unavailable.

Example​

curl -H "Authorization: Bearer $ACCESS" -H "x-user-id: $USER_ID" \
"$BASE_URL/trending/orders?limit=20"