When to Use
- You need real-time indicative prices for pre-trade estimation before requesting a firm quote from the RFQ API
- You are building a solver or aggregator that evaluates Bebop liquidity continuously without consuming quote rate limits
- You want a live order book view of Bebop’s aggregated market maker depth across all pairs on a network
At a Glance
| Transport | WebSocket |
| Authentication | API key |
| Complexity | Medium - protobuf decoding + connection management |
How It Works
| Step | Action | You send | You get back |
|---|---|---|---|
| 1 | Connect | WebSocket URL + API key + pricing mode | Connection established |
| 2 | Receive messages | - | Protobuf-encoded price snapshots for all pairs |
| 3 | Decode | Protobuf message → language bindings | Bid/ask depth levels per pair, ordered best-first |
Key Endpoints
| Endpoint | Purpose |
|---|---|
wss://api.bebop.xyz/pmm/{network}/v3/pricing | Streaming price connection |
GET /pmm/{network}/v3/tokenlist | Resolve token symbols to contract addresses for pair matching |
Next Steps
Quickstart
Connect, decode, and process the pricing stream in 10-15 minutes.
Estimating VWAP
Estimate execution prices for specific trade sizes without requesting a firm quote.