HYBRID-CHAINDEVELOPERS
DOCUMENTATIONv2
GET

Price feeds

Get latest signed snapshot

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

PURPOSE + BUSINESS CONTEXT

Return the latest signed observation together with health, age, cadence, quality, and hash-chain evidence.

WHEN THIS CALL IS USEFUL

Call this when a valuation or monitoring decision needs the newest signed observation together with its age, health, cadence, quality, and hash-chain context.

OUTCOME · Evaluate readiness

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 evaluate latest signed snapshot.
  • 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) 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 the observation signature or commitment, sequence, timestamp, age, quality flags, and feed policy before accepting the value.
  • Apply a documented stale, degraded, or unavailable-feed fallback; do not silently promote the snapshot into trading or settlement authority.

AGENT GUIDANCE

  • Use latest signed snapshot 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) 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

identifierWorkspace-visible feed whose latest evidence is requested.EXAMPLE8c1490adbe524bb79b8be0618e58fe55

RESPONSES

Status and payload examples

200Latest signed observation with current health, age, and expected cadence.Read completed · JSON RESPONSE+
{
  "feed_id": "8c1490adbe524bb79b8be0618e58fe55",
  "health": "HEALTHY",
  "age_ms": 125,
  "cadence_ms": 1000,
  "observation": {
    "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"
  }
}
INTEGRATION DECISION
CALLER ACTION
Accept the returned representation or receipt, then verify the observation signature or commitment, sequence, timestamp, age, quality flags, and feed policy before accepting the value.
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.
404No visible feed or signed snapshot exists.Resource not visible · JSON RESPONSE+
{
  "code": "price_feed_not_found",
  "message": "No visible feed or signed snapshot exists."
}
INTEGRATION DECISIONprice_feed_not_found
CALLER ACTION
Verify the canonical identifier and authenticated owner boundary. A 404 may intentionally conceal a resource outside the caller's authority.
RETRY SAFETY
Do not retry the unchanged identifier repeatedly. Refresh the relevant collection or lookup before choosing another identifier.
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.
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

  • HTTP 200 means evidence was found, not that it is fit for the caller's use. Evaluate health, age_ms, cadence_ms, quality_state, chain_state, source_count, and quote_asset before acting.
  • A missing bid, ask, mid, or last value is different from numeric zero. Prices remain decimal strings.
  • For consequential decisions, verify payload_hash against the canonical payload and validate the returned signature metadata and previous-evidence link.
  • Re-fetch before a consequential action. The response is no-store and supplies observation evidence only.
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