Trading

Search cryptocurrency pairs instruments

get
https://api.snaptrade.com/api/v1/accounts/{accountId}/trading/instruments/cryptocurrencyPairs

Searches cryptocurrency pairs instruments accessible to the specified account.

Execute an API Request

Path
accountIdstring (format: uuid)required

Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade.

Query
userIdstringrequired

SnapTrade User ID. This is chosen by the API partner and can be any string that is a) unique to the user, and b) immutable for the user. It is recommended to NOT use email addresses for this property because they are usually not immutable.

userSecretstringrequired

SnapTrade User Secret. This is a randomly generated string and should be stored securely. If compromised, please rotate it via the rotate user secret endpoint.

basestring

The base currency of a pair (e.g., "BTC" in BTC/USD). Either fiat or cryptocurrency symbol, for fiat use ISO-4217 codes.

quotestring

The quote currency of a pair (e.g., "USD" in BTC/USD). Either fiat or cryptocurrency symbol, for fiat use ISO-4217 codes.

Authorization
Request
Installation
$
npm install snaptrade-typescript-sdk
1
Loading...

Response fields

object

The instruments

itemsarray of objects
1
{
2
"items": [
3
{
4
"symbol": "BTC-USD",
5
"base": "BTC",
6
"quote": "USD"
7
}
8
]
9
}