API 2.0
Endpoints
/marketplace_listings
List all active marketplace advertisements, limited by 100
Method | GET |
---|---|
URLs |
// example 1 https://uexcorp.space/api/2.0/marketplace_listings/ // example 2 https://uexcorp.space/api/2.0/marketplace_listings?id={int} // example 3 https://uexcorp.space/api/2.0/marketplace_listings?slug={string} // example 4 https://uexcorp.space/api/2.0/marketplace_listings?username={string} |
Authorization | Bearer Token |
Cache TTL | — |
Input |
id int(11) // optional slug string(255) // optional username string(255) // advertiser ign, optional |
Output |
id int(11) id_category int(11) id_item int(11) operation string(255) // transaction type type string(255) // ad type slug string(255) title string(255) description string(255) unit string(255) price float in_stock int(11) is_sold_out int(11) user_name string(255) // advertiser full name user_username string(255) // advertiser ign user_avatar string(255) // advertiser avatar (if any) total_views int(11) // ad views counter total_negotiations int(11) // ad negotiations counter photos string(65535) // urls in array video_url string(255) // youtube video URL date_added int(11) // timestamp date_approved int(11) // date when the listing was approved by UEX staff date_expiration int(11) // timestamp of when the advertisement will stop showing |
Reference:`operation`
|
buy sell |
Reference:`type`
|
item service |
Response status |
• ok |
Update rate | Realtime |
Documentation update: | 4 months ago |
Optional