Welcome to Exchange APIs
Sample of usage:
import requests
session = requests.session()
session.headers.update({"API_KEY": YOUR API KEY)
response = session.get(
url="https://richamster.com/public/v1/exchange/order-book/",
params={
"pair": "BTC/UAH",
"side": "buying"
}
)
response.raise_for_status()
print(response.json())
Success response schema
{
"success": true,
"data": [{}, {}]
}
Error response schema
{
"type": "client_error",
"errors": [
{
"code": "",
"detail": "",
"attr": null
}
]
}
Full API docs you can find HERE