Base URL: https://api.tetrafi.io/v1
Authentication via API key in Authorization: Bearer header. WebSocket uses token-based auth on connection.
Quick Start - Submit an RFQ
1curl -X POST https://api.tetrafi.io/v1/rfq \2 -H "Authorization: Bearer YOUR_API_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "pair": "USDC/USDT",6 "side": "buy",7 "amount": "1000000",8 "chain": "optimism"9 }'Submit RFQ
/api/v1/rfqBroadcast a Request for Quote to competing solvers. Returns quote responses within the auction window.
Get Quotes
/api/v1/quotes/{rfqId}Retrieve all solver responses for a given RFQ. Includes pricing, fill rate, and latency metrics.
Accept Quote
/api/v1/acceptAccept a solver's quote and initiate the settlement process. Triggers escrow deposit on origin chain.
Solver Quote Stream
/ws/v1/solver/streamWebSocket endpoint for solvers to receive real-time RFQ broadcasts and submit pricing responses.
Compliance Status
/api/v1/compliance/statusCheck the compliance status of a participant. Returns KYC/KYB verification state, sanctions screening result, and Travel Rule readiness.
Settlement Details
/api/v1/settlements/{id}Retrieve settlement details including escrow status, cross-chain proof verification, and final settlement hash.
Audit Trail
/api/v1/audit/{tradeId}Retrieve the complete WORM evidence ledger entry for a trade - compliance checks, quotes, execution, and settlement proof.
Register as Solver
/api/v1/solver/registerSubmit solver registration with KYB details and pricing engine configuration. Triggers compliance verification flow.
Interactive API Explorer
Full endpoint schemas, request/response examples, and multi-language code generation.
Sandbox Mode - The TetraFi API is in development. Schemas and examples below represent the target API design. The try-it console will be enabled when the sandbox launches.