Skip to content
redditdataapi.io
All endpoints

Gateway Health & Mirror Telemetry

GET/v1/health0 Credits (Free)($0.00)

Zero-cost health probe returning real-time upstream pool status and total posts, comments, subreddits, and users cached in our local PostgreSQL 16 mirror.

Example Request (cURL / Python / JavaScript)

curl "https://api.redditdataapi.io/v1/health" \
  -H "x-api-key: rd_live_your_api_key"

Live Response Preview

{
  "status": "ok",
  "service": "redditdataapi.io",
  "version": "1.0.0",
  "posts_cached": 14820,
  "comments_cached": 92410,
  "subreddits_cached": 640,
  "users_cached": 3890,
  "timestamp": "2026-11-04T16:00:00.000Z"
}

Response Fields

Gateway health status and cached entity counts

FieldTypeSample / Notes
statusstringGateway health status (ok)
servicestringService identifier (redditdataapi.io)
versionstringGateway release version
posts_cachedintegerTotal public Reddit posts indexed in local PostgreSQL 16 mirror
comments_cachedintegerTotal public Reddit comments indexed in local PostgreSQL 16 mirror
subreddits_cachedintegerTotal subreddits indexed in local PostgreSQL 16 mirror
users_cachedintegerTotal Reddit user profiles indexed in local PostgreSQL 16 mirror
timestampstringISO-8601 server timestamp

Status Codes

200
Gateway health status and cached entity counts