Parameters
page
number
Description
Page number for pagination, starting from 1.
per_page
number
Description
Number of records per page. Default is 30, maximum is 100.
price_from
number
Description
Minimum price filter.
price_to
number
Description
Maximum price filter.
search_key
string
Description
Search keyword to match listing title or description.
sort
string
Description
Sort order. Supported values: relevance, price_high_to_low, price_low_to_high, newest_first, oldest_first.
category_id
number
Description
Category ID to filter listings.
account_id
number
Description
Account ID to filter listings by owner.
attribute_value_id
string
Description
Comma-separated attribute value IDs to filter by attribute selection.
GET/products/v1/listings
bash
curl https://api.tradly.app/products/v1/listings \
-H "Authorization: Bearer YOUR_PUBLISHABLE_OR_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{}'RESPONSE
json
{
"status": true,
"data": {
"listings": [],
"page": 1,
"total_pages": 1,
"total_records": 0
}
}