About this query
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This query returns the buy price of the specified cryptocurrency.
- API endpoint slug
- coinbase.get_buy_price
- Runtime method
- performQuery("coinbase.get_buy_price")
Query fields
Cryptocurrency type Dropdown list
- Label
- CryptocurrencyType
- Helper text
- Note: Not all currencies are available in all markets. See Coinbase Supported Currencies for more details.
- Slug
- cryptocurrency_type
- Required
- true
- Can have default value
- true
Fiat type Dropdown list
- Label
- FiatType
- Helper text
- The buy price in fiat currency
- Slug
- fiat_type
- Required
- true
- Can have default value
- false
Ingredients
AmountThe buy price of the cryptocurrency in the given fiat
- Slug
- amount
- Filter code
- Coinbase.getBuyPrice.Amount
- Type
- String
- Example
- 1020.25
Fiat typeThe fiat currency of the buy price
- Slug
- fiat_type
- Filter code
- Coinbase.getBuyPrice.FiatType
- Type
- String
- Example
- USD