API
Returns details of a specific issuance
Path parameters
idstringRequired
Issuance ID
Responses
200
OK
application/json
get
GET /api/issuances/{id} HTTP/1.1
Host: api.ifalabs.com
Accept: */*
200
OK
{
"created_at": "text",
"issuance_id": "text",
"issuance_state": 0,
"issuer_address": "text",
"metadata": null,
"price": {
"assetID": "text",
"connected_price_ids": [
"text"
],
"expo": 1,
"id": "text",
"is_aggr": true,
"price_changes": [
{
"change": 1,
"change_pct": 1,
"from_price": 1,
"from_time": "text",
"period": "text",
"to_price": 1,
"to_time": "text"
}
],
"req_hash": "text",
"req_url": "text",
"source": "text",
"timestamp": "text",
"value": 1
},
"price_asset_id": "text",
"price_source": "text",
"price_timestamp": "text",
"price_value": 1,
"round_id": 1,
"updated_at": "text"
}
Returns the last known price for a specific asset or all assets
Query parameters
assetstringOptional
Asset ID to get price for
changesstringOptional
Comma-separated list of price change periods (e.g. '7d,3d,24h'). Default is '7d'
Responses
200
OK
application/json
get
GET /api/prices/last HTTP/1.1
Host: api.ifalabs.com
Accept: */*
200
OK
{
"ANY_ADDITIONAL_PROPERTY": {
"assetID": "text",
"connected_price_ids": [
"text"
],
"expo": 1,
"id": "text",
"is_aggr": true,
"price_changes": [
{
"change": 1,
"change_pct": 1,
"from_price": 1,
"from_time": "text",
"period": "text",
"to_price": 1,
"to_time": "text"
}
],
"req_hash": "text",
"req_url": "text",
"source": "text",
"timestamp": "text",
"value": 1
}
}
Returns audit information for a specific price
Path parameters
idstringRequired
Price ID
Responses
200
OK
application/json
get
GET /api/prices/{id}/audit HTTP/1.1
Host: api.ifalabs.com
Accept: */*
200
OK
{
"aggregated_price": {
"assetID": "text",
"connected_price_ids": [
"text"
],
"expo": 1,
"id": "text",
"is_aggr": true,
"price_changes": [
{
"change": 1,
"change_pct": 1,
"from_price": 1,
"from_time": "text",
"period": "text",
"to_price": 1,
"to_time": "text"
}
],
"req_hash": "text",
"req_url": "text",
"source": "text",
"timestamp": "text",
"value": 1
},
"asset_id": "text",
"created_at": "text",
"price_id": "text",
"raw_prices": [
{
"asset": "text",
"expo": 1,
"id": "text",
"internal_asset_identity": "text",
"req_url": "text",
"source": "text",
"timestamp": "text",
"value": 1
}
],
"updated_at": "text"
}
Last updated