Trading
Get crypto pair quote
Gets a quote for the specified account.
get/accounts/{accountId}/trading/instruments/cryptocurrencyPairs/{instrumentSymbol}/quote
Path parameters
accountIdstring uuid required
Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade.
Example:917c8734-8470-4a3e-a18f-57c3f2ee6631
instrumentSymbolstring required
Cryptocurrency pair instrument symbol
Example:BTC-USD
Query parameters
userIdstring required
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.
Example:snaptrade-user-123
userSecretstring required
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.
Example:adf2aa34-8219-40f7-a6b3-60156985cc61
Response
OK
Example response
{
"bid": "123.45",
"ask": "123.45",
"mid": "123.45",
"timestamp": "2024-01-24T15:00:00Z"
}