Uphold

App · 7 actions

Read supported assets, exchange rates, countries, and networks from Uphold Enterprise.

Actions

ActionWhat it does
Get a supported countryGet a supported country.
Get an assetGet an asset.
Get asset ratesGet asset rates.
Get historical asset ratesGet historical asset rates.
List supported assetsList supported assets.
List supported blockchainsList supported blockchains.
List supported countriesList supported countries.

Get a supported country

Get a supported country.

Inputs

CountrycountrytextRequired
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

AssetassettextRequired
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

AssetassettextRequired
The asset code.
Denominationdenominationlist
Filter rates by specified assets.

Outputs

dataobject
Response.
Example output
{
  "data": {
    "rates": {}
  }
}

Get historical asset rates

Get historical asset rates.

Inputs

AssetassettextRequired
The asset code.
Denominationdenominationtext
Specifies the asset code to use as the denomination for value conversion. If not provided, USD is used by default.
Intervalintervaltext
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

Typetypelist
Filter assets by type.One or more of: fiat, crypto.
Featuresfeatureslist
Filter assets by features.One or more of: buy, sell, transfer, withdraw, deposit.
Sortsorttext
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

Typetypelist
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": []
  }
}

On this page