OriginFold Docs
Website ↗
BitcoinPlanned coverage

Daily network metrics

onchain.bitcoin.daily.metrics

Daily Bitcoin network statistics with explicit methods and provenance.

Planned plan access
Core, Research, Professional
Schema version
2.0.0
Record key
chain_id, utc_date, available_at, revision

How to request it

When this dataset appears in your account’s catalog, select its version, supported fields and exact entity identifiers. Set a short date range and an as_of time, then request a small page. The record key identifies a row; it is not necessarily the identifier accepted by the query filter.

HTTP request template

This is a template, not a currently available request. Fill each variable from the authenticated catalog and your intended query. The Explorer can generate a complete request for an available dataset.

GET /v1/data/onchain.bitcoin.daily.metricsHTTP
curl --fail-with-body --get "$ORIGINFOLD_API_URL/v1/data/onchain.bitcoin.daily.metrics" \
  --header "Authorization: Bearer $ORIGINFOLD_API_KEY" \
  --data-urlencode "dataset_version=$DATASET_VERSION" \
  --data-urlencode "fields=$FIELDS" \
  --data-urlencode "entity_id=$ENTITY_ID" \
  --data-urlencode "start=$START_DATE" \
  --data-urlencode "end=$END_DATE" \
  --data-urlencode "as_of=$AS_OF" \
  --data-urlencode "limit=25"

See a complete illustrative HTTP and Python example, including what each request parameter means.

Field dictionary

nullable fields may be empty. An empty value is not zero. Types and definitions below come from the dataset schema; the released API may expose only a qualified subset.

FieldTypeMeaning
dataset_idstringLogical dataset identifier.
version_iduuidv7Immutable origin candidate version for this row; incremental manifests may copy forward exact objects whose rows retain earlier origin versions.
schema_versionsemverRow schema version.
chain_idstringApproved network identity; fixture work permits only bitcoin-mainnet.
utc_datedateUTC aggregation period assigned by the method; never knowledge time.
start_heightint64First canonical height in the complete UTC day.
end_heightint64Last canonical height in the complete UTC day.
start_block_hashhex32Canonical first-block identity.
end_block_hashhex32Canonical last-block identity.
block_countint64Canonical blocks assigned to the day.
block_interval_mean_secondsdecimal128(38,12)
May be empty
Arithmetic mean of signed canonical header-time deltas in seconds, including the first block against the canonical predecessor; null only when no predecessor exists.
block_interval_median_secondsdecimal128(38,12)
May be empty
Median of signed canonical header-time deltas in seconds, including the first block against the canonical predecessor; null only when no predecessor exists.
empty_block_countint64Canonical blocks containing only their required coinbase transaction.
transaction_countint64Transactions in canonical blocks.
segwit_transaction_countint64
May be empty
Non-coinbase witness-bearing transactions from exact per-block swtxs statistics; null when complete statistic coverage is unavailable.
input_countint64
May be empty
Transaction inputs when supported by the approved method.
output_countint64
May be empty
Transaction outputs when supported by the approved method.
block_bytesint64
May be empty
Serialized block bytes.
block_weightint64
May be empty
Consensus block weight units.
transfer_volume_btcdecimal128(38,8)
May be empty
Raw non-coinbase output value; not economic or entity-adjusted volume.
fees_btcdecimal128(38,8)Non-coinbase input value less non-coinbase output value.
fee_rate_p10_sat_vbdecimal128(38,12)
May be empty
Nearest-rank p10 of the complete daily non-coinbase transaction fee/vsize distribution in sat/vB; null when the distribution is empty or incomplete.
fee_rate_p25_sat_vbdecimal128(38,12)
May be empty
Nearest-rank p25 of the complete daily non-coinbase transaction fee/vsize distribution in sat/vB; null when the distribution is empty or incomplete.
fee_rate_p50_sat_vbdecimal128(38,12)
May be empty
Nearest-rank p50 of the complete daily non-coinbase transaction fee/vsize distribution in sat/vB; null when the distribution is empty or incomplete.
fee_rate_p75_sat_vbdecimal128(38,12)
May be empty
Nearest-rank p75 of the complete daily non-coinbase transaction fee/vsize distribution in sat/vB; null when the distribution is empty or incomplete.
fee_rate_p90_sat_vbdecimal128(38,12)
May be empty
Nearest-rank p90 of the complete daily non-coinbase transaction fee/vsize distribution in sat/vB; null when the distribution is empty or incomplete.
issuance_btcdecimal128(38,8)Actual coinbase subsidy, bounded by the protocol schedule.
supply_btcdecimal128(38,8)Prior accepted supply plus daily issuance.
difficultydecimal128(38,15)Source-faithful Bitcoin Core difficulty at the last canonical block of the day; scale 15 preserves the maximum observed historical RPC precision without rounding.
hashrate_estimatedecimal128(38,12)
May be empty
Always null until a typed, hash-bound calculation window is registered.
utxo_countint64
May be empty
End-of-day UTXO count from predecessor-bound state.
utxo_value_btcdecimal128(38,8)
May be empty
End-of-day UTXO value from predecessor-bound state.
utxo_created_countint64
May be empty
Spendable outputs created during the complete day under the predecessor-bound UTXO policy; null outside approved historical state coverage.
utxo_spent_countint64
May be empty
Previously unspent outputs consumed during the complete day under the predecessor-bound UTXO policy; null outside approved historical state coverage.
utxo_created_value_btcdecimal128(38,8)
May be empty
Value of spendable outputs created during the complete day; null outside approved historical state coverage.
utxo_spent_value_btcdecimal128(38,8)
May be empty
Value of previously unspent outputs consumed during the complete day; null outside approved historical state coverage.
active_addressesint64
May be empty
Script/address heuristic count; never an entity count.
new_addressesint64
May be empty
Method-versioned first-seen script/address heuristic.
coin_days_destroyeddecimal128(38,12)
May be empty
Supported spent-output age measure.
age_band_valuesjson
May be empty
Method-versioned end-of-day value by approved UTXO age band; null outside supported state history.
method_versionsemverPinned daily metric method version.
canonical_range_sha256sha256Deterministic complete-day coverage, boundaries, method, and policy identity.
policy_sha256sha256Content digest of the exact period, finality, and reorg policy bundle.
source_record_idstringChain-specific bounded source record identity.
source_idstring
May be empty
Approved source identity; null for source-free fixtures.
source_refuri
May be empty
Official provider reference URL; never a mirrored source document.
source_published_attimestamp_utc
May be empty
Actually observed source or finality dissemination timestamp.
availability_basisstringEvidence basis used for available_at.
available_attimestamp_utcEarliest time allowed by the documented availability evidence; never block time.
finality_observed_attimestamp_utc
May be empty
Actual observed confirmation evidence time, not reconstructed block time.
finality_referencestring
May be empty
Confirmation policy and observed tip reference.
ingested_attimestamp_utcSuccessful bounded acquisition time.
published_attimestamp_utc
May be empty
Candidate activation time; null before publication.
revisionint32Immutable reorg/correction supersession revision.
quality_flagslist[string]Method, coverage, or quality caveats.

Understand observation time, availability and revisions · Limits and errors