The latest snapshot of one curve, tenor by tenor
GEThttps:/
Every tenor of family/curve at that tenor's own latest pricing_datetime, the rule SQX's curve deliveries apply: for a daily family every tenor shares the snapshot and the rule collapses to "the latest day"; for the intraday treasury_bond/otr curve, tenors print at different minutes (about 234 snapshots a day across 11 tenors) and this is the only correct reading. data.pricing_datetime is the max across all tenors; each point also carries its own pricing_datetime. The tenor = 0 row is dropped, as every delivery drops it.
The ratings curve (family=corporate_bond) carries 34 tenors, TSY among them; a zero_coupon curve carries 33. zero_coupon curves carry the currency of the curve's country (null where SQX has no currency for the country); every other family answers currency: null.
Scope: curves (or price).
Authorization
Send your API key in the X-API-Key header. See Authentication.
Query parameters
familystring: treasury_bond, corporate_bond, zero_couponrequiredOne of the three offered curve families. Missing is a 400 (code 1001); any other family is a 404 (code 1040).
Example:
corporate_bondcurvestringrequiredCurve name within the family: the ratings letters (
AAA,AA,A,BBB,BB,B,CCC) orTSYforcorporate_bond,otrfortreasury_bond, or a two-letter country code forzero_coupon. Missing is a 400 (code 1001); unknown is a 404 (code 1040).Example:
A
Response fields
Inside the envelope's data. Every response also carries errors and meta (Envelope).
familystring: treasury_bond, corporate_bond, zero_couponrequiredOne of the three families the API offers. Any other family is a 404 (code 1040).
curvestringrequiredcadencestring: intraday, dailyrequiredcurrencystring | nullrequiredThe currency of the curve's country for a
zero_couponcurve (nullwhere SQX has no currency for the country);nullfor every other family.pricing_datetimestring (date-time)requiredThe latest snapshot across all tenors (the max of each point's own
pricing_datetime).pointsarray of objectrequiredpoints[].stringrequiredtenor Tenor in years, as stored, as a decimal string.
points[].stringrequiredtenor_label The delivery spelling of the tenor:
round(tenor*12)Munder a year,truncate(tenor)Yfrom a year up (for example "1M" or "5Y").points[].stringrequiredyield Percent (4.512 is 4.512%), to 8 decimals, as a decimal string.
points[].string (date-time)pricing_datetime The snapshot this point was read at. Present in
/curves/latestand in a/curves/rangejob's CSV rows; absent inside a/curves/rangesnapshot, where the snapshot itself carries onepricing_datetimefor all its points.
Status codes
| Status | Meaning |
|---|---|
200 | The curve's tenors at their own latest snapshot |
400 | Validation / parse error |
401 | Missing or invalid API key |
403 | Key valid but lacks required scope/field grant |
404 | Identifier resolves to nothing |
429 | Batch too large, or a per-key limit was reached |
500 | Unexpected server error |