Uphold
App · 7 actions
Read supported assets, exchange rates, countries, and networks from Uphold Enterprise.
Actions
| Action | What it does |
|---|---|
| Get a supported country | Get a supported country. |
| Get an asset | Get an asset. |
| Get asset rates | Get asset rates. |
| Get historical asset rates | Get historical asset rates. |
| List supported assets | List supported assets. |
| List supported blockchains | List supported blockchains. |
| List supported countries | List supported countries. |
Get a supported country
Get a supported country.
Inputs
- Country
countrytextRequired - The unique code of the country.
Outputs
dataobject- Response.
Example output
{
"data": {
"country": {
"asset": "example",
"code": "example",
"name": "example",
"restrictions": [],
"subdivisions": []
}
}
}Get an asset
Get an asset.
Inputs
- Asset
assettextRequired - The asset code.
Outputs
dataobject- Response.
Example output
{
"data": {
"asset": {
"code": "example",
"cooldowns": [],
"decimals": 1,
"delisted": false,
"delistedAt": "example",
"features": [],
"listedAt": "example",
"logo": "example",
"name": "example",
"symbol": "example",
"type": "fiat"
}
}
}Get asset rates
Get asset rates.
Inputs
- Asset
assettextRequired - The asset code.
- Denomination
denominationlist - Filter rates by specified assets.
Outputs
dataobject- Response.
Example output
{
"data": {
"rates": {}
}
}Get historical asset rates
Get historical asset rates.
Inputs
- Asset
assettextRequired - The asset code.
- Denomination
denominationtext - Specifies the asset code to use as the denomination for value conversion. If not provided, USD is used by default.
- Interval
intervaltext - The interval for the historical rates.One of:
one-hour,one-day,one-week,one-month,one-year,five-years.
Outputs
dataobject- Response.
Example output
{
"data": {
"historicalRates": {}
}
}List supported assets
List supported assets.
Inputs
- Type
typelist - Filter assets by type.One or more of:
fiat,crypto. - Features
featureslist - Filter assets by features.One or more of:
buy,sell,transfer,withdraw,deposit. - Sort
sorttext - Sort assets by a criterion.One of:
code:asc,code:desc,name:asc,name:desc,price:asc,price:desc,price-delta:asc:one-hour,price-delta:asc:one-day,price-delta:asc:one-week,price-delta:asc:one-month, and 10 more.
Outputs
dataobject- Response.
Example output
{
"data": {
"assets": []
}
}List supported blockchains
List supported blockchains.
Inputs
- Type
typelist - Filter networks by type.
Outputs
dataobject- Response.
Example output
{
"data": {
"networks": []
}
}List supported countries
List supported countries.
Inputs
None.
Outputs
dataobject- Response.
Example output
{
"data": {
"countries": []
}
}