Version: 0.0.1
Introduction
The Chimera API allows you to programmatically access our exchange.
Assets
Fetch all available assets
Request
curl -L -X GET https://app.chimera.trade/v1/assets/ \
-H 'Accept: application/json'
Response
[
{
"name": "Euro",
"symbol": "EUR",
"precision": 2,
"asset_type": "fiat",
"hash": "",
"cg_id": "eur",
"network": null
},
{
"name": "Bitcoin",
"symbol": "BTC",
"precision": 8,
"asset_type": "crypto",
"hash": "",
"cg_id": "bitcoin",
"network": "bitcoin"
}
]
Fetch limits for a specific trade
Request
curl -L -X GET 'https://app.chimera.trade/v1/order/limits/:from_asset/:to_asset/' \
-H 'Accept: application/json'
Response
{
"min": 50,
"max": 150000
}
Orders
Place an order
Request
curl -L -X POST 'https://app.chimera.trade/v1/order/' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"email": "user@example.com",
"from_amount": 0.021,
"from_asset": "BTC",
"to_asset": "USD",
"refund_crypto_address": "bc1q7zp7qycuf0ukcgjs5nw8398cf3az64wn52lx2d",
"destination_type": "crypto",
"destination_crypto_address": "0x74f306D64244319F642BF405054743A5A8400302",
}'
Response
{
"order": {
"id": "498c5827-7ba9-449a-9215-21e3d88ec987",
"status": "DEPOSIT_CONFIRMED",
"email": "user@example.com",
"refund_crypto_address": "bc1q7zp7qycuf0ukcgjs5nw8398cf3az64wn52lx2d",
"created_at": "2023-12-28T16:06:53.532063Z",
"expires_at": "2023-12-29T16:06:53.532063Z",
"confirmed_at": "2023-12-28T17:06:53.532063Z",
"deposit_crypto_address": "bc1q8u2y8r5r8a9p6vx3s3wz835zh6nxhdmd55lhhq",
"from_amount": 0.021,
"from_asset": "BTC",
"to_asset": "USD",
"destination_type": "crypto",
"destination_crypto_address": "0x74f306D64244319F642BF405054743A5A8400302"
},
"trade": {
"from_amount": 0.021,
"from_asset": "BTC",
"to_amount": 0.39,
"to_asset": "USD",
"fee_amount": 0.01,
"price": 19.34,
"timestamp": "2023-12-28T17:06:53.532063Z"
}
}
Check order info
Request
curl -L -X GET 'https://app.chimera.trade/v1/order/info/:id/' \
-H 'Accept: application/json'
Check order status
Request
curl -L -X GET 'https://app.chimera.trade/v1/order/check/:id/' \
-H 'Accept: application/json'
Response
{
"status": "COMPLETED"
}
Trading
If an order is rejected, an email will be sent to the address given when placing the order.
Orders are executed on business hours and prices are assigned once the order is APPROVED