When to use it
A daily summary that quotes ETH beside the treasury's balance, or a message that puts a gas cost in dollars.
At a glance
| Integration | CoinGecko |
|---|---|
| Credits | 1 |
| Connection | CoinGecko, by pasting a key |
Settings
coinRequired- Coin. Pick from the largest coins, type a coin's id as CoinGecko writes it on the coin's page, or use the id a Find coin step above found. Picked from your account's own list, or typed.
What it hands on
Actions run in order, and each one can read what the actions above it produced. This one writes the fields below; a later action reaches them as {{ actions.coingecko_coin_price_1.price_usd }} — the action’s key, then which one it is if you use more than one of the same kind.
price_usd- The price in US dollars.
change_24h_pct- How much the price moved in the last 24 hours, in percent. Negative when it fell.
market_cap_usd- Market capitalisation in US dollars.
volume_24h_usd- Traded volume over the last 24 hours, in US dollars.
updated_at- When CoinGecko last updated the price, as an ISO date.
Good to know
- The list offers the largest coins. Any other coin can be typed by its id, the last part of its page's address on CoinGecko.
- When all you have is a symbol, such as the token of the event, put a Find coin step above this one and use its id here.
- A coin id CoinGecko does not know fails the step. When it was typed into the form the flow stops, because every event would fail the same way.
- Each lookup uses your own CoinGecko key and counts against its monthly allowance. When the allowance is used up the step fails with a sentence that says so.
- The same lookup asked again within ten seconds is answered from the first one, so a burst of events does not spend the allowance one call at a time.
- Prices are as CoinGecko last updated them, which can be a minute or more behind.