FetchPI
Log in
← Browse all APIs

Reddit post API

Reddit post data in one REST call — normalized to the stable JSON schema shared across every FetchPI platform.

  • 1 documented endpoints
  • GET /v1/reddit/posts/{id}

Contract summary (English): Get a normalized Reddit post (capability reddit.post)

Normalized response entity
reddit/post
capability
reddit.post

Every response also carries freshness (cache / default / live) and billing metadata.

Use cases

  • Feed content-analysis pipelines with structured {{platform}} posts: text, metrics, timestamps and media references.
  • Power moderation, research and monitoring workflows that need the original content plus engagement counts.
  • Archive {{platform}} content as stable, normalized JSON instead of brittle page scraping.

Response fields

Reddit Post (normalized)

Normalized Reddit post. Provider-private fields MUST NOT appear. Metric names are frozen (upvotes/downvotes/comments — 升/降票/评论). `title` is the platform extension field (the post headline — text carries the selftext body); `url` is the post link. The id is the t3 base36 id without prefix. author is nullable: posts by deleted/suspended accounts ship no resolvable author (a present-but-incomplete author block still fails).

FieldTypeRequiredDescription
idstringRequiredPost id (t3 base36 without prefix).
platform"reddit"Required—
type"post"Required—
author.idstringRequiredt2 base36 id without prefix.
author.usernamestringRequiredThe Reddit username (without u/).
author.display_namestring | nullOptional—
author.verifiedbooleanOptional—
titlestring | nullOptionalThe post headline.
textstring | nullOptionalThe selftext body.
urlstring | nullOptionalThe post (or external link) URL.
created_atstringRequiredPost creation time (created_utc), UTC RFC3339.
metrics.upvotesintegerRequiredUpvote count (ups).
metrics.downvotesintegerRequiredDownvote count (downs).
metrics.commentsintegerRequiredComment count (num_comments).
attachmentsobject[]OptionalThe post media (preview image and/or the hosted video).
fetched_atstringRequired—

Field notes are shown in the contract's original English.

Response meta

FieldTypeRequiredDescription
modecache | default | liveRequiredEffective mode after merging param > max_age > source policy (D-004).
age_secondsinteger | nullOptionalAge of served data; null when unknown.
source_layercache | db | upstreamRequiredWhich layer served the response (PRD §10).
stalebooleanOptionalTrue when stale data was served under stale_if_error / SWR (D-004).
billing.amount_creditsintegerRequiredMicro-USD (1e-6 USD) actually charged for this request.
billing.cache_hitbooleanRequired—

Field notes are shown in the contract's original English.

Example request & response

GET/v1/reddit/posts/{id}
curl -H "Authorization: Bearer $MESHDATA_API_KEY" \
  "https://api.fetchpi.com/v1/reddit/posts/1842951234567890123"
{
  "data": {
    "id": "1simpost01",
    "platform": "reddit",
    "type": "post",
    "author": {
      "id": "7004994945",
      "username": "creatordev",
      "display_name": null,
      "verified": false
    },
    "title": "One API for every platform.",
    "text": "One API for every platform.",
    "url": "https://www.reddit.com/r/dataapi/comments/1simpost01/",
    "created_at": "2026-09-17T12:34:56Z",
    "metrics": {
      "upvotes": 864,
      "downvotes": 12,
      "comments": 42
    },
    "attachments": [],
    "fetched_at": "2026-09-18T07:30:00Z"
  },
  "meta": {
    "request_id": "req_01HTXQ8Z9HTQ",
    "freshness": {
      "mode": "default",
      "age_seconds": 3600,
      "source_layer": "cache",
      "stale": false
    },
    "billing": {
      "amount_credits": 0,
      "cache_hit": true
    }
  }
}

Free demo

Create a free account, grab an API key and call this endpoint from the browser-based Playground.

Try it in the Playground

Parameter tables, error codes and response semantics for this endpoint live in the API documentation.

Open the endpoint reference

Frequently asked questions

Which content fields are included?

The normalized content entity — text, author, timestamps, engagement metrics and media references — as documented in the field table below, plus freshness and billing metadata.

Can I try this endpoint for free?

Yes — register an account, grab an API key and call it from the Playground in the console.

How is the post capability billed?

Data API calls are billed per request in credits, with different cache/live freshness multipliers. Current per-capability prices live on the pricing page.

Pricing

Per-request credit billing with cache/live freshness options — current prices live on the pricing page.