sgd9.orderbook → v2.orderbook). Returns lifetime counters maintained by the subgraph itself rather than re-aggregated from individual fills — a separate, cheaper path than /clobv2/markets/{token_id}/volume, which does the GROUP BY on fills.
v2-exclusive: the subgraph maintains this rollup only for v2 markets.
Request
Authentication
Paid tier required. See/clobv2/trades for auth formats.
Path parameters
No query parameters.
Parameter validation
token_id: 1-78 digits,^[0-9]+$.
Response
When the token has a v2 orderbook row (found):Response fields
Numeric counters come back as strings to preserve exactness from the subgraph’s
BigInt type.
Examples
Error responses
Notes
- Values may be slightly behind the per-fill aggregation at
/clobv2/markets/{token_id}/volumebecause the subgraph has a small processing lag after a new fill; for most tokens they reconcile within a second or two. scaled_notional_usdcis the subgraph’s own parallel counter and is divided by an extra 1e6 compared tonotional_usdc. It’s present for feature parity with the raw subgraph; most integrators should ignore it.found: falseis a valid response (not a 404). It means the v2 subgraph hasn’t observed any fills touching this token yet.

