Documentation

API URL


GET /api/v1/libor

Headers
Code
Content-Type: application/json
Query Parameters


Example GET Request

Code
GET https://datpaq.com/api/v1/libor?api_key=your-api-key&benchmark=sofr&tenor=3m&period=latest&source=snapshot

Successful Response

Status
HTML
200 OK
Body
Code
{
  "success": true,
  "source": "snapshot",
  "asOf": "2026-07-01",
  "dataClass": "static_sofr_snapshot",
  "fredSeriesId": null,
  "coverage": {
    "firstObservationDate": "2026-02-01",
    "lastObservationDate": "2026-07-01",
    "observationCount": 6
  },
  "sourceNotes": [
    "Snapshot responses expose only observations bundled in the repository dataset.",
    "Use source=fred or source=auto with FRED_API_KEY configured for live SOFR observations."
  ],
  "benchmark": "sofr",
  "tenor": "3m",
  "requestedTenor": "3m",
  "period": "latest",
  "requestedSource": "snapshot",
  "resolvedSource": "snapshot",
  "dataAvailable": true,
  "latest": {
    "date": "2026-07-01",
    "value": 5.15
  },
  "changeBps": null,
  "observations": 1,
  "metadata": {
    "correlationId": "1784850701208-r7wul8jcl",
    "timestamp": "2026-10-12T12:00:00.000Z",
    "processingTime": "2ms",
    "api_token_name": null,
    "rate_limit": {
      "limit": null,
      "remaining": null,
      "reset": null
    }
  }
}

Error Response

Example
Code
HTTP 400 ValidationError: Invalid benchmark tenor period source spread pairing calendar date or date range — Request rejected by Joi schema or service guards; HTTP 401 AuthenticationError: Missing or invalid API key — Gateway authentication middleware rejected the request; HTTP 404 NotFound: Unknown route — Request did not match any defined endpoint; HTTP 429 RateLimitError: Too many requests — Rate limiter threshold exceeded on /api routes; HTTP 502 ProcessingError: Unexpected internal processing failure — Service returned standardized non-validation failure payload; HTTP 502 UpstreamError: FRED returned an unsuccessful or unavailable response — Service returned standardized non-validation failure payload; HTTP 503 ConfigurationError: Explicit source=fred without FRED_API_KEY — SOFR live mode requires server-side FRED_API_KEY

Last Updated:  May 4, 2026