Skip to main content

API reference

Use the live schemas for exact request fields, response types, and authentication requirements.

Generated contracts​

ContractEndpoint
HTTP — OpenAPI 3.1GET /v2/docs
WebSockets — AsyncAPI 3.0GET /v2/asyncapi
curl https://api-beta.wagyu.xyz/v2/docs

Use OpenAPI to generate client types. Send only documented camelCase fields; unknown fields and retired aliases are rejected.

What it includes​

Discovery, swaps, native bridges, orders, points, stats, and public activity. See keys and limits for integrator reporting and live updates for WebSockets.

For failures, use the response's code and follow errors and retries. Protected reads use 404 for both missing orders and invalid access proof.

Using a coding agent? Give it the agent handoff.