Check the Setup
- Python 3.10 or newer
- An internet connection
- The requests Python package
Kraken XBT/USD exchange ticker fields for a private Bitcoin market comparison with explicit provider provenance and retrieval time.
Report a ProblemFrom Source to Product Signal
The Kraken public endpoint returns one current Bitcoin quote. Start with one response and record its retrieval time; a snapshot is neither a historical series nor an investment recommendation. Follow the provider usage limits above.
Install the packages, then run the notebook cell.
python -m pip install requests
import requests
url = 'https://api.kraken.com/0/public/Ticker?pair=XBTUSD'
response = requests.get(url, timeout=20)
response.raise_for_status()
feed = response.json()
assert not feed["error"], feed["error"]
quote = next(iter(feed["result"].values()))
print("XBT/USD last trade", quote["c"][0])Test a Useful Signal
Inspect a single provider quote without treating it as an investment signal.
Kraken is a company source. Last verified 2026-09-28. Temporal coverage: current BTC spot quote.