Get Bond Coupons
get_bond_couponsRetrieve coupon schedule for a bond by its instrument ID. Specify a date range or use defaults (±1 year). Optionally save the result to a file.
Instructions
Coupon schedule for a bond. Default period: -1 year to +1 year.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Period end, ISO 8601 (default: 1 year ahead) | |
| from | No | Period start, ISO 8601 (default: 1 year ago) | |
| outputPath | No | Write the full result to this file (path relative to the output root: TINKOFF_OUTPUT_DIR or server cwd) instead of returning it inline. The response becomes a short summary {savedTo, records, bytes, sample}. Use for bulk data to keep the context clean. For get_candles/get_operations this also enables full-history fetching (chunking/pagination). | |
| instrumentId | Yes | Bond UID | |
| outputFormat | No | File format; default json (or csv if outputPath ends with .csv). csv writes the main flat array of the response. |