Base URL
https://api.rexilion.comRexilion API
Rexilion API provides API-keyed Bitcoin market and on-chain metric reads, catalog discovery, UTC-bounded historical pulls, and compact t/v responses for research pipelines, dashboards, and model inputs.
https://api.rexilion.comX-API-Key: YOUR_API_KEYGET /v1/metrics/{category}/{metric}
GET /v1/metrics/mining/hash_rate_mean?a=BTC&i=10m
Host: api.rexilion.com
X-API-Key: YOUR_API_KEY
[
{ "t": 1718582400000, "v": 62.14 }
]
Rexilion API supports 53 public Bitcoin metric routes across 9 groups: market, addresses, blocks, transactions, fees, chain, mining, supply, utxo.
Coinbase spot and Binance spot premium relationships for aligned closed BTC candles.
Receiving, sending, and active address counts from standard Bitcoin script/address identities.
Block metrics summarize selected Bitcoin blocks inside each closed interval for block production, blockspace use, and block-level fee pressure.
Transaction metrics summarize Bitcoin activity in selected blocks: activity, fee-paying activity, size, input, output, and SegWit measures.
Fee metrics describe transaction-fee activity captured by selected Bitcoin blocks without exposing private source material.
Chain metrics describe timing behavior across selected Bitcoin block timestamps.
Mining metrics describe scheduled subsidy, miner revenue, fee mix, and public hash-rate samples for selected Bitcoin blocks.
Supply metrics describe scheduled Bitcoin issuance and UTXO-set amount snapshots. They do not represent circulating, liquid, exchange, or lost-coin-adjusted supply.
UTXO metrics describe selected output-set change, value flow, turnover, and spent-age indicators derived from stored Bitcoin block statistics and UTXO-set snapshots.
The metric route is GET /v1/metrics/{category}/{metric}. Public Bitcoin series use a=BTC. Market premium routes also use ex=coinbase_spot and ref_ex=binance_spot.
/v1/metrics/market/{metric}
2 metrics. Intervals: 1h. Parameters: a=BTC, i=1h, ex=coinbase_spot, ref_ex=binance_spot.
exchange_premium_gap - Absolute price difference between Coinbase spot and Binance spot for the same closed BTC candle.exchange_premium_index - Percentage premium between Coinbase spot and Binance spot for the same closed BTC candle./v1/metrics/addresses/{metric}
3 metrics. Intervals: 1h. Parameters: a=BTC, i=1h.
receiving_count - Unique standard Bitcoin script/address identities receiving at least one spendable output.sending_count - Unique standard Bitcoin script/address identities whose previous outputs are spent.active_count - Unique union of receiving and sending identities./v1/metrics/blocks/{metric}
8 metrics. Intervals: 10m, 1h. Parameters: a=BTC, i=10m, 1h.
count - Number of selected Bitcoin blocks in the closed interval.transaction_count_mean - Average number of transactions carried by selected blocks.fee_total_mean - Average transaction-fee revenue captured by selected blocks.weight_utilization_mean - Average use of the Bitcoin block weight limit.blockspace_feerate_mean - Average fee density paid for confirmed blockspace.transaction_density_mean - Transaction density relative to consumed block weight.weight_total - Combined actual block weight for selected blocks.weight_mean - Average actual block weight across selected blocks./v1/metrics/transactions/{metric}
10 metrics. Intervals: 10m, 1h. Parameters: a=BTC, i=10m, 1h.
count - All selected transactions, including coinbase transactions.fee_paying_count - Selected transactions that paid fees, excluding coinbase transactions.input_count - Total transaction inputs from selected stored block statistics.output_count - Total transaction outputs from selected stored block statistics.rate_mean - Average transaction activity pace across the closed interval.fee_paying_rate_mean - Average fee-paying transaction activity pace across the closed interval.fee_paying_share - Share of selected transactions that paid fees.size_total - Total transaction size from selected stored block statistics.size_mean - Average transaction size from selected stored block statistics.segwit_count - SegWit transaction count from selected stored block statistics./v1/metrics/fees/{metric}
6 metrics. Intervals: 10m, 1h. Parameters: a=BTC, i=10m, 1h.
total - Total paid transaction fees in selected blocks.rate_mean - Average paid fee revenue pace across the closed interval.transaction_mean - Average transaction fee across selected transactions.fee_paying_transaction_mean - Average fee across selected fee-paying transactions.feerate_mean - Transaction-count weighted mean feerate from stored block facts.high_fee_vbytes_share - Share of block virtual bytes whose transaction feerate is at least 50 sat/vB./v1/metrics/chain/{metric}
1 metric. Intervals: 10m, 1h. Parameters: a=BTC, i=10m, 1h.
block_interval_mean - Average elapsed time between selected Bitcoin block timestamps./v1/metrics/mining/{metric}
8 metrics. Intervals: 10m, 1h. Parameters: a=BTC, i=10m, 1h.
subsidy_total - Scheduled block subsidy for selected blocks.revenue_total - Combined subsidy and paid transaction-fee revenue for selected blocks.fee_revenue_share - Fee revenue share of total miner revenue.revenue_rate_mean - Average miner revenue pace across the closed interval.fee_to_subsidy_ratio - Fee revenue compared with scheduled subsidy revenue.hash_rate_mean - Estimated Bitcoin network hash rate for each closed bucket.subsidy_mean - Average scheduled subsidy across selected blocks.revenue_mean - Average miner revenue across selected blocks./v1/metrics/supply/{metric}
4 metrics. Intervals: 10m, 1h. Parameters: a=BTC, i=10m, 1h.
issuance_rate_mean - Average scheduled issuance pace across the closed interval.issued_total - Scheduled issued subsidy through the latest selected block height.utxo_total_amount - Latest UTXO-set total amount snapshot in each closed interval.unspendable_total_amount - Latest UTXO-set unspendable total amount snapshot in each closed interval./v1/metrics/utxo/{metric}
11 metrics. Intervals: 10m, 1h. Parameters: a=BTC, i=10m, 1h.
change_count_actual - Actual change in UTXO count from selected stored block statistics.size_change_bytes_actual - Actual change in UTXO set size from selected stored block statistics.set_output_count - Latest UTXO set output count snapshot in each closed interval.block_spent_value - UTXO-set aggregate spent value from selected canonical blocks.block_created_value - UTXO-set aggregate non-coinbase created output value.block_unspendable_value - Signed UTXO-set unspendable value delta from selected blocks.net_created_value - Created output value minus spent value for the interval.turnover_ratio - Spent value divided by latest UTXO-set total amount snapshot.coin_days_destroyed - Spent output value in BTC multiplied by output age in days.spent_value_total - Total spent prevout value from block verbosity 3 data.average_spent_age_days - Value-weighted average spent output age in days.GET /health
GET /openapi.json
GET /v1/assets
GET /v1/metadata/metrics
GET /v1/metrics/{category}/{metric}
a: asset symbol. Public Bitcoin series use BTC.i: interval, such as 10m or 1h, depending on the metric.s: optional lower UTC millisecond bound.u: optional upper UTC millisecond bound.limit: optional positive row cap.t and v.
Rexilion API provides real-time Bitcoin metric data. Clients should treat the latest returned
t timestamp as the source of truth for current available data and request trailing
UTC windows when polling. This public reference does not publish a fixed latency SLA.
Invalid category, metric, interval, asset, or time bounds.
Missing, expired, or invalid API key.
Valid key, but the requested access is not enabled.
Request pacing limit reached.
Upstream source is temporarily unavailable.
Unexpected server-side failure.
Rexilion Premium API is listed publicly at USD 299 per month. Premium API accounts have no monthly request cap, with requests paced at 600 API calls per minute for active access.
Teams create a Rexilion account, verify email, activate access, and manage API keys from the authenticated Rexilion profile. API keys are issued after access is active.
Payment collection is provider-hosted through Stripe. Rexilion frontend and backend do not collect raw card data.
Rexilion API does not provide custody, trade execution, investment advice, or guaranteed performance outcomes.