Skip to content
MyStocks Developers
API v1

API v1

Current stable contract

Versioning policyRelease changelog
Sandbox console
Trading API

Trading API

MyStocks Partner API

Quote, place, monitor, cancel, and reconcile MyStocks master-account and sub-account orders.

Explore endpoints

22 of 22
GET

/bonds

List bonds & fixed income

Full endpoint documentation
Sandbox availablelistBonds

Returns all available bonds, treasury bills, and fixed-income instruments. Includes coupon rate, maturity date, minimum investment, and current yield.

Parameters

instrumentTypestringquery
currencystringquery
exchangestringquery

Headers

AuthorizationstringRequired

Bearer sk_sandbox_<your_key> for sandbox requests.

Response fields

bondsobject[]Required
bonds[].idstringRequired
bonds[].namestring | nullRequired
bonds[].symbolstring | nullRequired
bonds[].issuerstring | nullRequired
bonds[].instrumentTypestringRequired
bonds[].assetTypestringRequired
bonds[].currencystring | nullRequired
bonds[].faceValuenumberRequired
bonds[].pricePerUnitnumberRequired
bonds[].couponRatenumber | nullRequired

Percentage points: 12.5 means 12.5%.

bonds[].currentYieldnumber | nullRequired
bonds[].yieldToMaturitynumber | nullRequired
bonds[].minInvestmentnumber | nullRequired
bonds[].maturityDatestring | nullRequired
bonds[].exchangestring | nullRequired
bonds[].statusstringRequired
bonds[].descriptionstring | nullRequired
countintegerRequired

Response codes

200Bond list.

The Trading API is the order and portfolio lane of the Partner API. It supports quote-gated market orders, resting order types, executions, portfolios, buying power, fractional cash-value investing, and order lifecycle events.

For analytics, use Portfolio Performance for cash-flow-adjusted daily P&L, linked time-weighted return, and optional benchmark comparison. /portfolio/history remains the raw equity-snapshot surface.

Trading writes require a fresh quote where specified, a valid idempotency key, and the required trading scope. See Errors and Rate Limits before integrating retries.

Was this page useful?

Your signal helps us tighten partner onboarding docs.

Send note

Last updated on

On this page