/assets

Scopes

Here you can find all the scopes available in this particular namespace.

WS
prices

wss://api-v4.zerion.io/assets
Example request [ "get", { "scope": ["prices"], "payload": { "body parameter": "value" } } ]
Request
Response
Request
Body Parameters
asset_codes
optional
list
Default: []
currency
optional
enum
PriceCurrency: eth, btc, usd, eur, krw, rub, gbp, aud, cad, inr, jpy, nzd, try, zar, cny, chf. Default: usd
Response
200: OK
Successful result.
[
"received assets prices",
{
"meta": {
"status": "ok",
"request parameter1": "value1",
"request parameter2": "value2"
},
"payload": {
"prices": Dict[str, Asset]
}
}
]

WS
explore-sections

wss://api-v4.zerion.io/assets
Example request [ "get", { "scope": ["explore-sections"], "payload": { "body parameter": "value" } } ]
Request
Response
Request
Body Parameters
explore_sections
optional
list
Default: []
explore_sections_aliases
optional
list
Default: []
Response
200: OK
Successful result.
[
"received assets explore-sections",
{
"meta": {
"status": "ok",
"request parameter1": "value1",
"request parameter2": "value2"
},
"payload": {
"explore-sections": List[ExploreSection]
}
}
]

WS
info

wss://api-v4.zerion.io/assets
Example request [ "get", { "scope": ["info"], "payload": { "body parameter": "value" } } ]
Request
Response
Request
Body Parameters
asset_codes
optional
list
Default: []
currency
optional
enum
PriceCurrency: eth, btc, usd, eur, krw, rub, gbp, aud, cad, inr, jpy, nzd, try, zar, cny, chf. Default: usd
limit
optional
int
Default: 10000
offset
optional
int
Default: 0
explore_section
optional
str
Default: -
order_by
optional
dict
Default: {}
category_id
optional
str
Default: -
search_query
optional
str
Default: -
Response
200: OK
Successful result.
[
"received assets info",
{
"meta": {
"status": "ok",
"request parameter1": "value1",
"request parameter2": "value2"
},
"payload": {
"info": List[AssetInfo]
}
}
]

WS
full-info

wss://api-v4.zerion.io/assets
Example request [ "get", { "scope": ["full-info"], "payload": { "body parameter": "value" } } ]
Request
Response
Request
Body Parameters
asset_code
optional
str
Default: -
currency
optional
enum
PriceCurrency: eth, btc, usd, eur, krw, rub, gbp, aud, cad, inr, jpy, nzd, try, zar, cny, chf. Default: usd
Response
200: OK
Successful result.
[
"received assets full-info",
{
"meta": {
"status": "ok",
"request parameter1": "value1",
"request parameter2": "value2"
},
"payload": {
"full-info": Optional[zerion_api.entities.socketio.AssetFullInfo]
}
}
]

WS
charts

wss://api-v4.zerion.io/assets
Example request [ "get", { "scope": ["charts"], "payload": { "body parameter": "value" } } ]
Request
Response
Request
Body Parameters
asset_codes
optional
list
Default: []
currency
optional
enum
PriceCurrency: eth, btc, usd, eur, krw, rub, gbp, aud, cad, inr, jpy, nzd, try, zar, cny, chf. Default: usd
charts_type
optional
str
Default: d
Response
200: OK
Successful result.
[
"received assets charts",
{
"meta": {
"status": "ok",
"request parameter1": "value1",
"request parameter2": "value2"
},
"payload": {
"charts": Dict[str, List[Tuple[int, float]]]
}
}
]

WS
tags

wss://api-v4.zerion.io/assets
Example request [ "get", { "scope": ["tags"], "payload": { "body parameter": "value" } } ]
Request
Response
Request
Body Parameters
tags_group
optional
str
Default: all
Response
200: OK
Successful result.
[
"received assets tags",
{
"meta": {
"status": "ok",
"request parameter1": "value1",
"request parameter2": "value2"
},
"payload": {
"tags": List[AssetTag]
}
}
]

WS
actions

wss://api-v4.zerion.io/assets
Example request [ "get", { "scope": ["actions"], "payload": { "body parameter": "value" } } ]
Request
Response
Request
Body Parameters
address
optional
str
Default: -
asset_code
optional
str
Default: -
currency
optional
enum
PriceCurrency: eth, btc, usd, eur, krw, rub, gbp, aud, cad, inr, jpy, nzd, try, zar, cny, chf. Default: usd
Response
200: OK
Successful result.
[
"received assets actions",
{
"meta": {
"status": "ok",
"request parameter1": "value1",
"request parameter2": "value2"
},
"payload": {
"actions": List[AssetAction]
}
}
]

WS
stats

wss://api-v4.zerion.io/assets
Example request [ "get", { "scope": ["stats"], "payload": { "body parameter": "value" } } ]
Request
Response
Request
Body Parameters
address
optional
str
Default: -
addresses
optional
list
Default: []
asset_code
optional
str
Default: -
currency
optional
enum
PriceCurrency: eth, btc, usd, eur, krw, rub, gbp, aud, cad, inr, jpy, nzd, try, zar, cny, chf. Default: usd
Response
200: OK
Successful result.
[
"received assets stats",
{
"meta": {
"status": "ok",
"request parameter1": "value1",
"request parameter2": "value2"
},
"payload": {
"stats": AssetStats
}
}
]

WS
list

wss://api-v4.zerion.io/assets
Example request [ "get", { "scope": ["list"], "payload": { "body parameter": "value" } } ]
Request
Response
Request
Body Parameters
asset_codes
optional
list
Default: []
currency
optional
enum
PriceCurrency: eth, btc, usd, eur, krw, rub, gbp, aud, cad, inr, jpy, nzd, try, zar, cny, chf. Default: usd
order_by
optional
dict
Default: {}
Response
200: OK
Successful result.
[
"received assets list",
{
"meta": {
"status": "ok",
"request parameter1": "value1",
"request parameter2": "value2"
},
"payload": {
"list": List[AssetInfo]
}
}
]

WS
tokenlists

wss://api-v4.zerion.io/assets
Example request [ "get", { "scope": ["tokenlists"], "payload": { "body parameter": "value" } } ]
Request
Response
Request
Body Parameters
asset_code
optional
str
Default: -
Response
200: OK
Successful result.
[
"received assets tokenlists",
{
"meta": {
"status": "ok",
"request parameter1": "value1",
"request parameter2": "value2"
},
"payload": {
"tokenlists": List[Tokenlist]
}
}
]

WS
categories

wss://api-v4.zerion.io/assets
Example request [ "get", { "scope": ["categories"], "payload": { "body parameter": "value" } } ]
Request
Response
Request
‚Äč
Response
200: OK
Successful result.
[
"received assets categories",
{
"meta": {
"status": "ok",
"request parameter1": "value1",
"request parameter2": "value2"
},
"payload": {
"categories": List[Category]
}
}
]