TimechainIndex.com REST API Documentation

BTC/USD Price

Endpoints:

Connect Using Python:

import requests url = "https://timechainindex.com/api/btcusd-per-minute/btcusd-per-minute" response = requests.get(url) data = response.json() for entry in data: print(entry)

Sample JSON Response:

[ {"timestamp":1739203920,"coinbase":97371.62,"kraken":97352.6,"averageprice":97378.47}, {"timestamp":1739203860,"coinbase":97300.21,"kraken":97262.5,"averageprice":97313.33} ]

Historical Price Per Block

Endpoints:

Connect Using Python:

import requests url = "https://timechainindex.com/api/btcusd-per-block/btcusd-per-block-2025" response = requests.get(url) data = response.json() for entry in data: print(entry)

Sample JSON Response:

[ {"blockheight":883187,"timestamp":1739203645,"usdprice":97254.98}, {"blockheight":883186,"timestamp":1739202621,"usdprice":97030.92} ]

Return To TimechainIndex.com