HYBRID-CHAINDEVELOPERS
DOCUMENTATIONv2
GET

Price feeds

Replay signed feed evidence

/api/v2/price-feeds/{feed_uuid}/history
AUTHENTICATIONBearer token · pricing:readAUTHORITATIVE OWNERmarket-data-serviceCONTRACT AUTHORITYGenerated Rust OpenAPISTATUSSource ready · production listed

PURPOSE + BUSINESS CONTEXT

Replay subscription-entitled signed observations in feed-local sequence order with explicit cursor and retention-window diagnostics.

WHEN THIS CALL IS USEFUL

Call this to backfill or audit an entitled feed over a bounded retention window, resume from a cursor, and verify sequence continuity without treating replay as a live snapshot.

OUTCOME · Reconcile

What changes

Read-only projection; it grants no mutation, settlement, traffic, or authority change.

WHY IT MATTERS

  • Gives people and agents a contract-backed way to reconcile replay signed feed evidence.
  • Makes feed provenance, quality, delivery entitlement, replay limits, and workspace-owned composite policy explicit before price data enters valuation or decision workflows.

ISOLATION + AUTHORITY

Instrument, provider, observation, signature, hash-chain, aggregation, composite owner, subscription, delivery, billing, valuation, market, and trading boundaries remain distinct. A feed, snapshot, replay, plan, or subscription supplies data only and grants no oracle-finality, valuation approval, publisher, order, matching, settlement, or trading authority.

BEFORE YOU CALL

  • Authenticate at the documented boundary: bearer+scope.
  • Supply the required feed_uuid (path), subscription_uuid (query) exactly as defined by the live contract.
  • Resolve the canonical instrument and feed, source and aggregation policy, required freshness and quality, and any subscription entitlement or replay window.

WHAT TO DO NEXT

  • Verify sequence and hash-chain continuity across the returned page, then retain the next cursor for bounded continuation.
  • Treat replay as historical evidence and fetch the current snapshot separately when a present-time decision requires one.

AGENT GUIDANCE

  • Use replay signed feed evidence only for the purpose and lifecycle stage described by this operation; do not treat it as authority for an adjacent action.
  • Supply the required feed_uuid (path), subscription_uuid (query) exactly as defined by the live contract.
  • Preserve decimal values and observation timestamps exactly; distinguish source time, ingestion time, sequence, freshness, health, quality, aggregation, delivery entitlement, and business acceptance.
  • Use response links and canonical identifiers instead of constructing internal service URLs or scraping the website.
MACHINE CONTRACT

The exact deployed parameters, schemas, responses, security requirements, and Hybrid-Chain agent metadata are authoritative at this operation's production OpenAPI JSON Pointer. The readable tables below add integration guidance; the deployed OpenAPI controls if guidance and the machine contract ever differ.

Open the authoritative production contract

EXTENDED INTEGRATION GUIDANCE

Readable request and response reference

Examples illustrate integration intent; the referenced OpenAPI operation and component schemas define the executable shape.

PARAMETERS

Headers, path, query, and body

NAMELOCATIONPRESENCETYPE / RULES / PURPOSE
AuthorizationheaderRequired

Bearer tokenCredential containing the pricing:read scope.EXAMPLEBearer hc_live_…

feed_uuidpathRequired

identifierFeed whose signed evidence is replayed.EXAMPLE8c1490adbe524bb79b8be0618e58fe55

subscription_uuidqueryRequired

identifierActive or paused delivery subscription that entitles replay for this feed.EXAMPLE05aa9566990f42fa8e8e74624d4ec906

after_sequencequeryOptional

integer · ≥0Return observations strictly after this feed-local sequence; defaults to 0.EXAMPLE184220

limitqueryOptional

integer · 1–500Maximum observations; defaults to 100.EXAMPLE100

RESPONSES

Status and payload examples

200Entitled signed evidence in feed-local sequence order with cursor and retention diagnostics.Read completed · JSON RESPONSE+
{
  "items": [
    {
      "evidence_id": "6f8d6b1165bb47ca9746897e38c31bd2",
      "feed_id": "8c1490adbe524bb79b8be0618e58fe55",
      "instrument": "BTC-USD",
      "evidence_type": "PRICE_OBSERVATION",
      "provider": "hybrid-composite",
      "sequence": 184221,
      "emitted_at": "2026-08-31T22:45:01.125Z",
      "provider_timestamp": "2026-08-31T22:45:01.100Z",
      "prices": {
        "bid": "108421.10",
        "ask": "108421.30",
        "mid": "108421.20",
        "last": "108420.90"
      },
      "quote_asset": "USD",
      "source_count": 2,
      "quality_state": "HEALTHY",
      "chain_state": "CONTIGUOUS",
      "payload": {
        "schema": "price-evidence-v1",
        "feed_id": "8c1490adbe524bb79b8be0618e58fe55",
        "sequence": 184221,
        "mid": "108421.20"
      },
      "payload_hash": "sha256:7777777777777777777777777777777777777777777777777777777777777777",
      "previous_evidence_hash": "sha256:6666666666666666666666666666666666666666666666666666666666666666",
      "signature_algorithm": "Ed25519",
      "signature_key_id": "price-evidence-2026-08",
      "signature": "base64url-signature"
    }
  ],
  "page": {
    "subscription_uuid": "05aa9566990f42fa8e8e74624d4ec906",
    "feed_id": "8c1490adbe524bb79b8be0618e58fe55",
    "after_sequence": 184220,
    "limit": 100,
    "returned": 1,
    "has_more": false,
    "next_after_sequence": 184221,
    "cursor_found": true,
    "window_exceeded": false,
    "oldest_available_sequence": 176000,
    "latest_available_sequence": 184221,
    "replay_window_minutes": 1440
  }
}
INTEGRATION DECISION
CALLER ACTION
Accept the returned representation or receipt, then verify sequence and hash-chain continuity across the returned page, then retain the next cursor for bounded continuation.
RETRY SAFETY
Repeat only when the integration needs a fresher authoritative projection.
STATE RECONCILIATION
Use returned identifiers and versions as the comparison point for later reads. Refresh the feed, source mapping, observation timestamp, quality and staleness state, policy version, and delivery or command receipt.
401The bearer credential is missing, expired, or invalid.Authentication required · JSON RESPONSE+
{
  "code": "invalid_credentials",
  "message": "The bearer credential is missing, expired, or invalid."
}
INTEGRATION DECISIONinvalid_credentials
CALLER ACTION
Discard the rejected credential, complete the documented authentication or reassertion flow, and rebuild any request signature with fresh timestamps and nonces.
RETRY SAFETY
Retry only with a newly valid credential and fresh replay-protection values. Do not replay an expired signature.
STATE RECONCILIATION
Authentication failed before an authoritative read was returned for workspace price-feed definitions, source mappings, observations, quality status, subscriptions, and delivery receipts.
ESCALATE WHEN
Escalate when source identity, observation time, confidence, staleness, entitlement, or delivery evidence cannot be reconciled.
403The credential lacks pricing:read or the subscription does not entitle this replay.Authority or policy denied · JSON RESPONSE+
{
  "code": "insufficient_scope",
  "message": "The credential lacks pricing:read or the subscription does not entitle this replay."
}
INTEGRATION DECISIONinsufficient_scope
CALLER ACTION
Verify the exact scope, tenant or workspace membership, owner boundary, step-up purpose, feature policy, and resource eligibility. Never broaden authority automatically.
RETRY SAFETY
Do not retry until the missing authority or policy condition has been deliberately resolved with least privilege.
STATE RECONCILIATION
Confirm the caller and resource resolve to the same authority boundary for workspace price-feed definitions, source mappings, observations, quality status, subscriptions, and delivery receipts.
ESCALATE WHEN
Escalate when source identity, observation time, confidence, staleness, entitlement, or delivery evidence cannot be reconciled.
503The authoritative Core pricing projection is unavailable.Dependency unavailable or outcome uncertain · JSON RESPONSE+
{
  "code": "price_feeds_unavailable",
  "message": "The authoritative Core pricing projection is unavailable."
}
INTEGRATION DECISIONprice_feeds_unavailable
CALLER ACTION
Treat the failure as transient and preserve the last known good representation without presenting it as fresh.
RETRY SAFETY
Retry with bounded exponential backoff and jitter; stop after the integration's failure budget is exhausted.
STATE RECONCILIATION
Refresh the feed, source mapping, observation timestamp, quality and staleness state, policy version, and delivery or command receipt.
ESCALATE WHEN
Escalate when source identity, observation time, confidence, staleness, entitlement, or delivery evidence cannot be reconciled.

OPERATIONAL NOTES

Security and lifecycle guarantees

  • Advance using next_after_sequence only with the same feed and subscription. Feed-local sequences are not portable across feeds.
  • An empty items array with window_exceeded=true means the requested evidence fell outside the entitlement's replay window; record the gap instead of silently treating it as no market data.
  • When has_more is true, continue until false using the returned next_after_sequence. Preserve ordering and integrity fields for audit use.
  • Responses are no-store. Replay access does not grant live delivery, publisher, trading, or settlement authority.
DOCUMENTATION STATUS

This route is implemented in canonical gateway source and appears in the production OpenAPI snapshot observed 2026-09-11T06:35:11.572Z. Authentication, tenant, feature, venue, and market policy still apply.

Verify the exact production OpenAPI operation Return to the V2 directory