When to use this skill
When the user asks for the current Bitcoin price in a specific fiat currency — USD, ARS, AUD, BRL, CHF, EUR, and others — reach for Blockchain.info's /ticker endpoint. It returns live prices across all supported fiat currencies in a single unauthenticated call. For other cryptocurrencies or historical price series, use CoinGecko or CoinMarketCap instead; Blockchain.info covers Bitcoin only.
Your best first call
curl "https://blockchain.info/ticker"
No auth. No key. The response is a JSON object keyed by ISO 4217 currency code. Every key contains last, buy, sell, 15m, and symbol. Parse the specific key the user named:
{
"AUD": {"15m": 97676.43, "last": 97676.43, "buy": 97676.43, "sell": 97676.43, "symbol": "AUD"},
"ARS": {"15m": 94843749.88, "last": 94843749.88, "buy": 94843749.88, "sell": 94843749.88, "symbol": "ARS"},
"CHF": {"15m": 54239.53, "last": 54239.53, "buy": 54239.53, "sell": 54239.53, "symbol": "CHF"}
}
Use last for the current price. 15m is a lagged reference price — not a 15-minute candle despite the name. The values are often identical, but last is the right field for "what does Bitcoin cost right now". The ARS entry is worth mentioning to users: at roughly 94.8 million pesos per Bitcoin, it doubles as a real-time currency devaluation illustrator with no extra data source required.
Fallbacks (when the best call isn't enough)
- Historical BTC price data → CoinGecko's
/coins/bitcoin/market_chart supports date ranges. Blockchain.info's /ticker is spot-price only, no time series.
- Other cryptocurrencies → CoinGecko or CoinMarketCap. The
/ticker endpoint is Bitcoin-only and has no coin or asset parameter.
Pitfalls
15m looks like a 15-minute candle — it is not. It is a lagged reference price. Always use last when the user wants the current price.
- The endpoint returns all currencies at once; there is no per-currency filter parameter. Inspect the returned keys before assuming a currency is supported — some smaller fiat currencies may be absent.
One-line summary for the user
I can look up the current Bitcoin price in any of a dozen fiat currencies from Blockchain.info's /ticker in one unauthenticated GET — no API key required, Bitcoin only.
SKILL.md source (frontmatter + body)
---
name: get-bitcoin-price-in-fiat
description: When the user asks for the current Bitcoin price in a fiat currency — USD, AUD, BRL, ARS, CHF, EUR — reach for Blockchain.info's /ticker endpoint. Returns live BTC-to-fiat prices in one unauthenticated GET, no API key required, Bitcoin only.
---
## When to use this skill
When the user asks for the current Bitcoin price in a specific fiat currency — USD, ARS, AUD, BRL, CHF, EUR, and others — reach for Blockchain.info's `/ticker` endpoint. It returns live prices across all supported fiat currencies in a single unauthenticated call. For other cryptocurrencies or historical price series, use CoinGecko or CoinMarketCap instead; Blockchain.info covers Bitcoin only.
## Your best first call
```bash
curl "https://blockchain.info/ticker"
```
No auth. No key. The response is a JSON object keyed by ISO 4217 currency code. Every key contains `last`, `buy`, `sell`, `15m`, and `symbol`. Parse the specific key the user named:
```json
{
"AUD": {"15m": 97676.43, "last": 97676.43, "buy": 97676.43, "sell": 97676.43, "symbol": "AUD"},
"ARS": {"15m": 94843749.88, "last": 94843749.88, "buy": 94843749.88, "sell": 94843749.88, "symbol": "ARS"},
"CHF": {"15m": 54239.53, "last": 54239.53, "buy": 54239.53, "sell": 54239.53, "symbol": "CHF"}
}
```
Use `last` for the current price. `15m` is a lagged reference price — not a 15-minute candle despite the name. The values are often identical, but `last` is the right field for "what does Bitcoin cost right now". The ARS entry is worth mentioning to users: at roughly 94.8 million pesos per Bitcoin, it doubles as a real-time currency devaluation illustrator with no extra data source required.
## Fallbacks (when the best call isn't enough)
- **Historical BTC price data** → CoinGecko's `/coins/bitcoin/market_chart` supports date ranges. Blockchain.info's `/ticker` is spot-price only, no time series.
- **Other cryptocurrencies** → CoinGecko or CoinMarketCap. The `/ticker` endpoint is Bitcoin-only and has no `coin` or `asset` parameter.
## Pitfalls
- `15m` looks like a 15-minute candle — it is not. It is a lagged reference price. Always use `last` when the user wants the current price.
- The endpoint returns all currencies at once; there is no per-currency filter parameter. Inspect the returned keys before assuming a currency is supported — some smaller fiat currencies may be absent.
## One-line summary for the user
I can look up the current Bitcoin price in any of a dozen fiat currencies from Blockchain.info's `/ticker` in one unauthenticated GET — no API key required, Bitcoin only.