FurlPay Docs
Open App
  • Platform Overviewupdated
  • API Referencenew
  • 5-Minute Sandbox Quickstartupdated
  • Sandbox & Test Assetsnew
  • Create a Developer Account
  • Identity & KYC Verification
  • Passkeys & Biometrics
  • Transaction Statuses & Retries
  • Frequently Asked Questions
  • Core Primitives & Money Modelnew
  • Merchant Payments & Invoices
  • Contractor Payroll & Batch Payouts
  • EIP-3009 Gasless & Recurring
  • Circle CCTP Cross-Chain
  • LI.FI Cross-Chain Swaps
  • Solana Actions & Blinks
  • Wallet Infrastructure & Handles
  • Market Data Streams
  • Gasless Transfers Availability
  • Deposits & Withdrawals Support
  • Agentic Finance Overviewupdated
  • x402 & MPP Settlement Gatewayupdated
  • Agent Identity, Trust & TAP Mandatesupdated
  • Autonomous Finance & Policies
  • Claude Connector (MCP + OAuth 2.1)
  • AI Assistants & HITL Approvals
  • x402 Monetization Basics
  • Settlement Workspace & Maker-Checker
  • Transaction Truth & Double-Entry Ledgerupdated
  • Par 1:1 Routing Simulator Overview
  • Par Quote Engine & Swap Lifecycle
  • Par Networks & Settlement Assets
  • Par Operator Console
  • Par API Reference
  • Par Webhooks
  • Par AML & Travel Rule
  • Screening, Monitoring & Travel Rule
  • Circle Integration
  • Stripe Crypto Integration
  • Persona KYC Integration
  • API Conventions & Idempotencyupdated
  • Authentication, Keys & Versioning
  • Webhooks (PUSH HMAC-SHA512 & PULL)
  • Errors & Exception Playbooks
  • Rate Limits & Retry-After
  • Official SDKs (TS, Python, Go, Rust)updated
  • FurlPay CLI (@furlpay/cli) & MCP
  • Monorepo & Package Reference
  • SDK & API Integration Support
  • Cryptographic Architecture & KMS
  • Security Posture & Isolation
  • Signing Boundaries & WebAuthn
  • Production Configuration & Workers
  • Colocation Directory
  • Security & Compliance Frameworks
  • Regulatory & Launch Posture
  • Privacy, Redaction & GDPR

CLI full reference

  • CLI overview & install
  • Command index
  • MCP tool reference
  • Honesty matrix

Resources

  • Interactive Developer Workbench
  • Operational Status (/status)
  • Release Changelog
  • OpenAPI 3.1 Spec
  • Postman Collection
  • llms.txt (AI Index)
  • llms-full.txt (Full Docs)
  • Network & Assets
  • Proof of Reserves
  • Terms of Service
  • Privacy & DPA
  • Regulatory Disclosures
  • Security Disclosures
  • Contact Support
  • GitHub
Docs/02. Payments and Money Movement/Market Data Streams

Architecture

Market Data Stream

The consolidated perps book is a two-second snapshot of public Bybit, Binance and OKX tickers. Humans read it free. An agent can buy one copy of the same book for a tenth of a cent, subject to the x402 rail.

This is not a colocated feed

FurlPay does not run a bare-metal ingester in AWS Tokyo or an Equinix cabinet. Venue responses are cached for about ten seconds. A cross that is seconds old is labeled skew, not a trade.

Endpoints

ParameterTypeDescription
GET /api/markets/streamrequiredSSEPublic. 20 connections per minute per IP. Tick frames carry the snapshot. The function closes after about 50 seconds; EventSource reconnects.
GET /api/markets/perps/consolidatedrequiredJSONPublic one-shot snapshot, 60 per minute per IP. Shape is { ok, data } with rows, venue health and generatedAt.
GET /api/x402/market-dataoptional402Optional symbols list, capped at the registry. Quotes $0.001 before any payment is checked. Unknown symbols are refused with 400 and are not quoted.

How a row is built

Best bid is the highest positive bid across venues that returned a two-sided quote. Best ask is the lowest ask. Spread is (ask − bid) / mid × 10,000 basis points, and it may be negative when the global book is crossed. A symbol with only one side is dropped.

  • Prices that are not finite, not positive, or above 1e12 are discarded.
  • An empty string from a venue is null, never a fabricated zero.
  • If one venue throws, the other two still publish.

Crossed books and snapshot skew

Each venue snapshot is cached for up to ten seconds, so the two winning quotes on a row can have been observed seconds apart. A negative spread across that gap is usually a market moving between the polls, not an arbitrage anyone can trade. A row therefore shows the crossed badge only when both winning venue snapshots carry timestamps within CROSS_SKEW_TOLERANCE_MS (5 seconds) of each other — the spreadSkewMs() gap, mirrored in the extension client. Outside that window the spread renders muted as skew-suspect, with the measured gap in its tooltip.

Clients

The markets page holds one SharedWorker per browser so extra tabs share a single event stream, and falls back to a page EventSource where shared workers are missing. The Chrome extension paints from the REST snapshot, then listens only while the popup is open.

Open the panel at /markets. The reference optical worksheet lives at /infrastructure.

Paying for a snapshot

An unpaid GET /api/x402/market-data returns 402 with the same challenge shape as the FX route, or 503 when the quote secret or the x402 rail is not configured. A paid response includes the per-venue block. Check GET /api/rails before treating a challenge as something an agent can settle.

Did this page help?
Edit this page on GitHub

Previous

Wallet Infrastructure & Handles

Next

Gasless Transfers Availability