Documentation

API URL


GET /api/v1/interest-rate/current

Headers
Code
Content-Type: application/json
Query Parameters
No parameters documented.

Example GET Request

Code
GET https://datpaq.com/api/v1/interest-rate/current?api_key=your-api-key

Successful Response

Status
HTML
200 OK
Body
Code
{
  "success": true,
  "data": {
    "central_bank": {
      "fed_funds_rate": {
        "label": "Federal Funds Rate",
        "value": 4.33,
        "trend": "flat",
        "change_1m": 0,
        "value_1m_ago": 4.33,
        "value_1y_ago": 5.33,
        "as_of": "2026-07-17",
        "series_id": "DFF"
      },
      "prime_rate": {
        "label": "Bank Prime Loan Rate",
        "value": 7.5,
        "trend": "flat",
        "change_1m": 0,
        "value_1m_ago": 7.5,
        "value_1y_ago": 8.5,
        "as_of": "2026-07-17",
        "series_id": "DPRIME"
      }
    },
    "treasury": {
      "t_1mo": {
        "label": "1-Month Treasury",
        "value": 4.28,
        "trend": "falling",
        "change_1m": -0.07,
        "value_1m_ago": 4.35,
        "value_1y_ago": 5.27,
        "as_of": "2026-07-17",
        "series_id": "DGS1MO"
      }
    }
  },
  "data_source": "snapshot",
  "snapshot_date": "2026-07-17",
  "metadata": {
    "correlationId": "request-id",
    "api_token_name": null,
    "processingTime": "4ms",
    "timestamp": "2026-10-11T12:00:00.000Z",
    "rate_limit": null
  }
}

Error Response

Example
Code
HTTP 401 Unauthorized: Missing or invalid API key at the gateway — Gateway rejects the request; HTTP 404 NotFound: Request path is not recognized — Service returns endpoint not found; HTTP 429 RateLimited: Request volume exceeds 120 per 15-minute window per IP — Rate limiter rejects the request; HTTP 500 InternalError: Unexpected rate-data processing failure — Endpoint returns a retrieval error with response metadata

Last Updated:  May 4, 2026