Skip to main content
Every StructClient instance exposes 11 namespaces, each a thin wrapper around a group of REST endpoints. Methods share the same shape:
  • params is a typed object matching the endpoint’s query and path params.
  • The return value is wrapped in an HttpResponse<T> envelope.

Response envelope

All parameter and response types are re-exported from the package root. Pull them in with import type { GetMarketsParams, MarketResponse } from "@structbuild/sdk".

Markets

Trade responses return a discriminated union. See Trade Types for how to narrow on trade_type.

Events

Trader

Holders

Order Book

Series

Assets

Tags

Bonds

Webhooks

See Managing Webhooks for full examples, filter options, and how to verify delivery signatures.
Last modified on May 27, 2026