Users
GET/users/:username/listings
Active listings
Active listings.
Headers
- Name
Content-Type
- Type
- string
- Description
application/json
- Name
Authorization
- Type
- string
- Description
Beare <token>
Attributes
- Name
page
- Type
- integer
- Description
Page number
Request
GET
/users/:username/listingscurl -X GET https://api.olx.ba/users/:username/listings \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {token}" \
Response
{
"data": [
{
"category_id": 2373,
"score": null,
"id": 50,
"type": "single",
"title": "audi a3",
"price": 15.5,
"display_price": "15,50 KM",
"price_max": 0,
"date": 1678109326,
"image": null,
"sponsored": 0,
"available": false,
"visible": true,
"shipping": 1,
"user_type": "shop",
"user_id": 5948,
"state": "used",
"status": "active",
"location": {
"lat": 43.1973791,
"lon": 17.5461833
},
"labels": [],
"listing_type": "sell",
"special_labels": null,
"refresh_available": true
}
],
"meta": {
"total": 1,
"last_page": 1,
"current_page": 1,
"per_page": 20,
"selected_category": 0
}
}
GET/users/:id/listings/finished
Finished listings
Finished listings.
Headers
- Name
Content-Type
- Type
- string
- Description
application/json
- Name
Authorization
- Type
- string
- Description
Beare <token>
Attributes
- Name
page
- Type
- integer
- Description
Page number
Request
GET
/users/:id/listings/finishedcurl -X GET https://api.olx.ba/users/:id/listings/finished \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {token}" \
Response
{
"data": [
{
"category_id": 2373,
"score": null,
"id": 50,
"type": "single",
"title": "audi a3",
"price": 15.5,
"display_price": "15,50 KM",
"price_max": 0,
"date": 1678109326,
"image": null,
"sponsored": 0,
"available": false,
"visible": true,
"shipping": 1,
"user_type": "shop",
"user_id": 5948,
"state": "used",
"status": "active",
"location": {
"lat": 43.1973791,
"lon": 17.5461833
},
"labels": [],
"listing_type": "sell",
"special_labels": null,
"refresh_available": true
}
],
"meta": {
"total": 1,
"last_page": 1,
"current_page": 1,
"per_page": 20,
"selected_category": 0
}
}
GET/users/:id/listings/inactive
Inactive listings
Inactive listings.
Headers
- Name
Content-Type
- Type
- string
- Description
application/json
- Name
Authorization
- Type
- string
- Description
Beare <token>
Attributes
- Name
page
- Type
- integer
- Description
Page number
Request
GET
/users/:id/listings/inactivecurl -X GET https://api.olx.ba/users/:id/listings/inactive \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {token}" \
Response
{
"data": [
{
"category_id": 2373,
"score": null,
"id": 50,
"type": "single",
"title": "audi a3",
"price": 15.5,
"display_price": "15,50 KM",
"price_max": 0,
"date": 1678109326,
"image": null,
"sponsored": 0,
"available": false,
"visible": true,
"shipping": 1,
"user_type": "shop",
"user_id": 5948,
"state": "used",
"status": "active",
"location": {
"lat": 43.1973791,
"lon": 17.5461833
},
"labels": [],
"listing_type": "sell",
"special_labels": null,
"refresh_available": true
}
],
"meta": {
"total": 1,
"last_page": 1,
"current_page": 1,
"per_page": 20,
"selected_category": 0
}
}
GET/users/:id/listings/expired
Expired listings
Expired listings.
Headers
- Name
Content-Type
- Type
- string
- Description
application/json
- Name
Authorization
- Type
- string
- Description
Beare <token>
Attributes
- Name
page
- Type
- integer
- Description
Page number
Request
GET
/users/:id/listings/expiredcurl -X GET https://api.olx.ba/users/:id/listings/expired \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {token}" \
Response
{
"data": [
{
"category_id": 2373,
"score": null,
"id": 50,
"type": "single",
"title": "audi a3",
"price": 15.5,
"display_price": "15,50 KM",
"price_max": 0,
"date": 1678109326,
"image": null,
"sponsored": 0,
"available": false,
"visible": true,
"shipping": 1,
"user_type": "shop",
"user_id": 5948,
"state": "used",
"status": "active",
"location": {
"lat": 43.1973791,
"lon": 17.5461833
},
"labels": [],
"listing_type": "sell",
"special_labels": null,
"refresh_available": true
}
],
"meta": {
"total": 1,
"last_page": 1,
"current_page": 1,
"per_page": 20,
"selected_category": 0
}
}
GET/users/:id/listings/hidden
Hidden listings
Hidden listings.
Headers
- Name
Content-Type
- Type
- string
- Description
application/json
- Name
Authorization
- Type
- string
- Description
Beare <token>
Attributes
- Name
page
- Type
- integer
- Description
Page number
Request
GET
/users/:id/listings/hiddencurl -X GET https://api.olx.ba/users/:id/listings/hidden \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {token}" \
Response
{
"data": [
{
"category_id": 2373,
"score": null,
"id": 50,
"type": "single",
"title": "audi a3",
"price": 15.5,
"display_price": "15,50 KM",
"price_max": 0,
"date": 1678109326,
"image": null,
"sponsored": 0,
"available": false,
"visible": true,
"shipping": 1,
"user_type": "shop",
"user_id": 5948,
"state": "used",
"status": "active",
"location": {
"lat": 43.1973791,
"lon": 17.5461833
},
"labels": [],
"listing_type": "sell",
"special_labels": null,
"refresh_available": true
}
],
"meta": {
"total": 1,
"last_page": 1,
"current_page": 1,
"per_page": 20,
"selected_category": 0
}
}