Skip to main content
GET
/
v1
/
swap-route-statuses
/
to-deposit-customer
/
{token}
Get swap route statuses for a deposit customer
curl --request GET \
  --url https://api.hel.io/v1/swap-route-statuses/to-deposit-customer/{token}
{
  "data": [
    {
      "id": "67acdb5ee316ca7a58b7e7dc",
      "fromCurrency": {
        "id": "6340313846e4f91b8abc519b",
        "symbol": "USDC",
        "name": "USD Coin",
        "decimals": 6,
        "blockchain": {
          "id": "6340313846e4f91b8abc515c",
          "name": "SOL",
          "symbol": "SOL"
        }
      },
      "toCurrency": {
        "id": "63430c8348c610068bcdc482",
        "symbol": "USDC",
        "name": "USD Coin",
        "decimals": 6,
        "blockchain": {
          "id": "63430c8348c610068bcdc43c",
          "name": "SOL",
          "symbol": "SOL"
        }
      },
      "available": true
    },
    {
      "id": "67acdb5ee316ca7a58b7e7dd",
      "fromCurrency": {
        "id": "623423423423423423423423",
        "symbol": "ETH",
        "name": "Ethereum",
        "decimals": 18,
        "blockchain": {
          "id": "63b6b1200cfb4b3f6131f2b2",
          "name": "ETH",
          "symbol": "ETH"
        }
      },
      "toCurrency": {
        "id": "63430c8348c610068bcdc482",
        "symbol": "USDC",
        "name": "USD Coin",
        "decimals": 6,
        "blockchain": {
          "id": "63430c8348c610068bcdc43c",
          "name": "SOL",
          "symbol": "SOL"
        }
      },
      "available": false
    }
  ]
}
Note: When using the production environment at moonpay.hel.io, set your API endpoint to api.hel.io/v1 and generate API keys there. For the development environment, use api.dev.hel.io/v1 and generate API keys from moonpay.dev.hel.io.

Filtering by availability

The response data array includes every tracked route; each object has an available boolean. To show only currencies that currently have a usable swap path into the deposit’s payout asset, omit entries where available is false (for example in JavaScript: data.filter((item) => item.available)). available reflects the latest route checks on the server; the endpoint may be cached for a short window (~30 seconds).

Path Parameters

token
string
required

The deposit customer token (same identifier used elsewhere for deposit customer APIs).

Response

Swap route statuses for routes into the deposit’s payout currency.

data
object[]
required

Swap routes into the deposit’s configured payout currency.