Discovery — every offered curve with rows recently

GEThttps://api.sqx.com/v1/curves

Every (family, curve) pair, among the three offered families, with a row in the last window_days days (30), each carrying its own latest pricing_datetime and tenor count (the tenor = 0 row excluded, as every delivery drops it). Any other family is absent here and returns 404 (code 1040).

Scope: curves (or price).

Authorization

Send your API key in the X-API-Key header. See Authentication.

Response fields

Inside the envelope's data. Every response also carries errors and meta (Envelope).

familiesarray of string: treasury_bond, corporate_bond, zero_couponrequired

The three offered families, from the registry.

window_daysintegerrequired

Discovery lookback, in days.

curvesarray of objectrequired
curves[].familystring: treasury_bond, corporate_bond, zero_couponrequired

One of the three families the API offers. Any other family is a 404 (code 1040).

curves[].curvestringrequired
curves[].latest_pricing_datetimestring (date-time)required
curves[].pointsintegerrequired

Distinct tenors with a row in the discovery window (the tenor = 0 row excluded).

Status codes

StatusMeaning
200

The offered families and the curves currently discoverable

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

Talk to SQX

Tell us what data you need. Ask today and get a response today.

Or email inquiries@sqx.com