The API at a glance
The API is organized around four areas:- Market data - view available markets, reference prices, capacity and carry.
- Quotes - request indicative pricing for a market, side, notional and tenor, including margin and fees.
- Execution - submit trades and confirm fills.
- Account and positions - monitor balances, exposure and P&L; increase, reduce or close positions.
The response envelope
Every response uses the same envelope:data is populated and error is null. On failure data is null and error carries a machine-readable code, a message, and optional details. Amounts are in USDC unless noted.
All endpoints live under https://api.marks.finance/api/v2/partners. Your API key prefix selects the environment - mk_live_ for production, mk_test_ for sandbox.
Where to start
Authentication
Create a key and make your first authenticated request.
Trade lifecycle
Follow a trade from quote to submission, fill and settlement.
API Reference
Every endpoint, with request and response schemas.
Sandbox
Build and verify against test infrastructure first.

