curl -X DELETE "https://api.liquid.tf/api/dev/listings" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_SITE_API_KEY" \
-d '{ "active_only": true }'
const response = await fetch('https://api.liquid.tf/api/dev/listings', {
method: 'DELETE',
headers: {
'Content-Type': 'application/json',
'X-API-Key': 'YOUR_SITE_API_KEY'
},
body: JSON.stringify({
active_only: true
})
});
const data = await response.json();
import requests
response = requests.delete(
'https://api.liquid.tf/api/dev/listings',
headers={'X-API-Key': 'YOUR_SITE_API_KEY'},
json={'active_only': True}
)
data = response.json()
{
"success": true
}
Listing Management
Delete All Listings
Remove all your marketplace listings at once
DELETE
/
api
/
dev
/
listings
curl -X DELETE "https://api.liquid.tf/api/dev/listings" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_SITE_API_KEY" \
-d '{ "active_only": true }'
const response = await fetch('https://api.liquid.tf/api/dev/listings', {
method: 'DELETE',
headers: {
'Content-Type': 'application/json',
'X-API-Key': 'YOUR_SITE_API_KEY'
},
body: JSON.stringify({
active_only: true
})
});
const data = await response.json();
import requests
response = requests.delete(
'https://api.liquid.tf/api/dev/listings',
headers={'X-API-Key': 'YOUR_SITE_API_KEY'},
json={'active_only': True}
)
data = response.json()
{
"success": true
}
Overview
Deletes all of your marketplace listings in a single operation. Useful when shutting down a bot or clearing your inventory.This action cannot be undone! All your listings will be permanently removed.
Authentication
string
required
Your site API key
Rate Limit
1 request per minuteRequest Body
boolean
required
Set to
true to delete only active listings, or false to delete all listings including inactive ones.Response
boolean
Returns
true if all listings were successfully deletedcurl -X DELETE "https://api.liquid.tf/api/dev/listings" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_SITE_API_KEY" \
-d '{ "active_only": true }'
const response = await fetch('https://api.liquid.tf/api/dev/listings', {
method: 'DELETE',
headers: {
'Content-Type': 'application/json',
'X-API-Key': 'YOUR_SITE_API_KEY'
},
body: JSON.stringify({
active_only: true
})
});
const data = await response.json();
import requests
response = requests.delete(
'https://api.liquid.tf/api/dev/listings',
headers={'X-API-Key': 'YOUR_SITE_API_KEY'},
json={'active_only': True}
)
data = response.json()
{
"success": true
}
Active vs All Listings
Active Listings (active_only: true)
Active Listings (active_only: true)
Deletes only listings that are currently visible on the marketplace. Excludes sold, cancelled, or inactive listings.Use case: Clearing your current inventory while preserving historical data.
All Listings (active_only: false)
All Listings (active_only: false)
Deletes all listings including inactive ones. This completely removes your listing history.Use case: Complete account cleanup or data removal.
Most bots should use
active_only: true to avoid deleting historical listing data.Safety Tips
Before calling this endpoint:- Confirm intent - Make sure you really want to delete all listings
- Backup data - Export your listings if you need them later
- Test first - Try deleting individual listings to ensure your API key works
- Use active_only - Unless you need to delete everything, use
active_only: true
