Introduction
AssetPay Rust Pricing API provides a simple yet powerful REST API that can be integrated to your business or application.
To use this API, you need an API key. If your API key is no longer working, please contact Rushed
Get Rust skin prices
To get a list of our prices for Rust skins, make a GET call to the following url :
http://assetpay.store/prices
Rate-limiting
Our endpoint is rate-limited to: 5 requests per minute.
Contact us if you need more.
Query parameters
Field | Type | Description |
---|---|---|
X-API-Key | String | Your API key. |
Example request
import requests
API_ENDPOINT = 'http://assetpay.store/prices'
API_KEY = 'YOUR API KEY STRING HERE'
headers = {
'X-API-Key': API_KEY
}
response = requests.get(API_ENDPOINT, headers=headers)
print(response.status_code)
print(response.text)
Example response
[{"deposit_price": 815.72,"market_hash_name": "Big Grin","overstock_limit": 15,"withdraw_price": 833.9},{"deposit_price": 0.63,"market_hash_name": "Rainbow Pony Boots","overstock_limit": 15,"withdraw_price": 0.66},{"deposit_price": 0.62,"market_hash_name": "Zombie SAR","overstock_limit": 7,"withdraw_price": 0.7}]
Explanation of response
Market Hash Name | Deposit Price | Withdraw Price | Overstock Limit |
---|---|---|---|
Big Grin | $815.72 | $833.9 | 15 |
Rainbow Pony Boots | $0.63 | $0.66 | 15 |
Zombie SAR | $0.62 | $0.7 | 7 |
Errors
In the unlikely event of an error, we use the following custom error codes and responses. All other errors are reported using standard HTTP error codes.
Error Code | Meaning |
---|---|
429 |
{"response":"You have been rate limited. Rate-limit: 5 per 1 min", "success": False}
|
401 |
{"response":"Invalid API key","success":False}
|
500 |
{"response":"Apologies, internal issue with the API. We are currently investigating. Please contact Ruushedd on Discord!", "success": False}
|