إنتقل إلى المحتوى الرئيسي

List Catalog Products

Returns a cursor-paginated list of ACTIVE products with authoritative server prices (priceUsdt) and live availability (availableUnits). Draft and archived products are excluded.

GET/api/v1/catalog/products
Target: https://api.example.com
curl -sS -X GET "https://api.example.com/api/v1/catalog/products?limit=10&search=Pro" \
-H "x-api-key: YOUR_API_KEY" \
-H "Accept: application/json"

Query Parameters​

ParameterTypeDefaultConstraintsDescription
limitinteger201–100Number of products per page.
cursorstring—1–64 charsPagination cursor (nextCursor from previous page).
categoryIdstring—>= 1 charFilter to a specific category ID.
searchstring—1–80 charsCase-insensitive product title search substring.

Success Response (200 OK)​

{
"items": [
{
"id": "prod_win11_pro",
"title": "Windows 11 Pro Retail Key",
"slug": "windows-11-pro-retail-key",
"shortDescription": "Instant activation key for 1 PC",
"description": "Global retail license delivered immediately after purchase.",
"price": "12.000000",
"priceUsdt": "12.000000",
"originalPriceUsdt": "19.990000",
"discountPercent": 40,
"warranty": "Lifetime activation warranty",
"deliveryTime": "Instant",
"isFeatured": true,
"iconEmoji": null,
"currency": "USDT",
"deliveryType": "LICENSE_KEY",
"availableUnits": 25,
"coverImageUrl": null,
"salesCount": 142,
"categoryId": "cat_os",
"category": {
"id": "cat_os",
"name": "Operating Systems",
"slug": "operating-systems"
}
}
],
"nextCursor": null
}

Error Responses​

HTTPerror.codeCause
400VALIDATION_ERRORlimit > 100, empty search, or invalid query parameter
401UNAUTHORIZEDInvalid, revoked, or expired key
403FORBIDDEN / FRAUD_DETECTEDDisabled key, suspended account, or security block
429RATE_LIMITEDRate limit exceeded
500INTERNAL_ERRORUnexpected server error