Data & Analytics

Get data extraction statistics

Returns comprehensive statistics about rate extraction activity. Use this to understand the scale and freshness of the data being collected.

Filtering Options:

  • startTime / endTime: Filter by date range. Supports ISO8601 dates or relative times (e.g., now-24h, now-7d)
  • product_type: Filter by product type (matching /v1/decisions ProductType enum)

Use Cases:

  • Monitor data collection health
  • Build transparency dashboards
  • Track extraction trends over time
  • Verify coverage for specific product types

Authentication required: Pass your API key in the X-API-Key header.

get/v1/stats

Request

  • Base URL: https://api.rateapi.dev
  • URL: https://api.rateapi.dev/v1/stats
  • Auth: API key in header X-API-Key

Query parameters

startTimestring
Example:now-24h

Start of the time range. Supports ISO8601 format (e.g., 2024-01-15T00:00:00Z) or relative times (now-24h, now-7d, now-1m). Defaults to now-24h.

endTimestring
Example:now

End of the time range. Supports ISO8601 format or relative times. Defaults to now.

product_type'mortgage' | 'auto_loan' | 'rv' | 'boat' | 'motorcycle' | 'powersports' | 'personal_loan' | 'heloc' | 'student_loan' | 'equipment_loan' | 'credit_card'

Filter statistics to a specific product type. auto_loan means CARS only — boats, RVs, motorcycles and powersports have been first-class product types since the vehicle-category split (2026-07-25).

Response

Statistics retrieved successfully

generatedAtstring date-time required

When this response was generated

Changes

No recorded changes to this operation across all 1 revision of this API.