Apinoa Docs

Posts

List posts from any of Reddit's listings: a user, a community, a search, specific ids, or the popular feed.

View raw .mdx
GET | POST /v1/reddit/posts

Send parameters as a query string with GET, or as a JSON body with POST. Both are equivalent.

What to Pass

PassReadsNotes
usernameA user's postssort: new, hot, top, controversial
communityA community's postssort: hot, new, top, rising, controversial
queryA post searchsort: relevance, hot, top, new, comments; add community to search inside one
idsSpecific posts, up to 100 in one call
nothingThe popular feedcountry picks the country's feed; sort: hot, new, top, rising

Pass one source per call. Every identifier also takes the page URL.

Parameters

ParameterTypeRequiredNotes
communitystringA community's posts: name (with or without r/) or URL. With query, narrows the search to it.
countrystringDefault feed only: the country whose popular feed to read (ISO alpha-2).
cursorstringOpaque cursor from the previous page's cursor. Pass it alone for the next page.
idsstring listSpecific posts: ids, fullnames (t3_…) or URLs, 1–100 in one call.
limitinteger 1–100Items per page, 1–100.
periodenumTime window for sort top or controversial: hour, day, week, month, year or all. hour day week month year all
querystringSearch posts by keyword.
sortenumOrder. username: new, hot, top, controversial · community: hot, new, top, rising, controversial · query: relevance, hot, top, new, comments · default feed: hot, new, top, rising. hot new top rising controversial relevance comments
usernamestringA user's posts: username (with or without u/) or profile URL.

Request

curl "https://gateway.apinoa.com/v1/reddit/posts?community=technology&sort=top&period=week&limit=3" \
  -H "x-api-key: $APINOA_API_KEY"

Response

Returns Page of Post in data. A real response, shortened: arrays keep their first entries and long text is cut.

{
  "success": true,
  "data": {
    "platform": "reddit",
    "items": [
      {
        "platform": "reddit",
        "id": "1xcg8as",
        "url": "https://www.reddit.com/r/technology/comments/1xcg8as/pure_arrogance_anger_in_finland_as_google/",
        "author": {
          "platform": "reddit",
          "handle": "WombatusMighty",
          "id": "5dv971n4"
        },
        "title": "‘Pure arrogance’: anger in Finland as Google illegally fells 250,000 trees for datacentre",
        "createdAt": "2026-10-22T11:41:24.000Z",
        "media": [],
        "metrics": {
          "comments": 1760
        },
        "linkPreview": {
          "url": "https://www.theguardian.com/environment/ng-interactive/2026/oct/22/finland-google-felling-trees-datacentre",
          "domain": "theguardian.com",
          "thumbnailUrl": "https://external-preview.redd.it/lFXQEMQFV6biLNRdb5GCAM5QH6hE_uoy07Oh_R_8gGY.jpeg?auto=webp&s=c2e26eb42ca63eb3b645fb216…"
        },
        "sensitive": false,
        "ext": {
          "fullname": "t3_1xcg8as",
          "score": 43304,
          "ups": 43304,
          "upvoteRatio": 0.97,
          "numCrossposts": 13,
          "awards": 0,
          "flair": "Society",
          "flairTextColor": "dark",
          "flairTemplateId": "80187d9a-a816-11e9-a79b-0ea66e3761e6",
          "kind": "link",
          "preview": {
            "source": {
              "url": "https://external-preview.redd.it/lFXQEMQFV6biLNRdb5GCAM5QH6hE_uoy07Oh_R_8gGY.jpeg?auto=webp&s=c2e26eb42ca63eb3b645fb216…",
              "width": 1200,
              "height": 630
            },
            "resolutions": [
              {
                "url": "https://external-preview.redd.it/lFXQEMQFV6biLNRdb5GCAM5QH6hE_uoy07Oh_R_8gGY.jpeg?width=108&crop=smart&auto=webp&s=207c…",
                "width": 108,
                "height": 56
              },
              {
                "url": "https://external-preview.redd.it/lFXQEMQFV6biLNRdb5GCAM5QH6hE_uoy07Oh_R_8gGY.jpeg?width=216&crop=smart&auto=webp&s=4886…",
                "width": 216,
                "height": 113
              }
            ],
            "enabled": false
          },
          "thumbnailUrl": "https://external-preview.redd.it/lFXQEMQFV6biLNRdb5GCAM5QH6hE_uoy07Oh_R_8gGY.jpeg?width=320&crop=smart&auto=webp&s=34e6…",
          "spoiler": false,
          "locked": false,
          "archived": false,
          "community": {
            "name": "technology",
            "id": "2qh16",
            "subscribers": 20595712,
            "type": "public"
          }
        }
      }
    ],
    "cursor": "VScWoTDcqFrJzxjNiQLrLiERD67YI2Z7BDybCfuuuw7Y1fj0I93Td2ktHpxH3S9F2oDtrW8sALbYe5XxRjBp60ZNmeeKaDtyJYHrrIWz545u3odld5-ZK0P…"
  }
}

Errors

StatusCodeMeaning
400INVALID_CURSORThe cursor is not one this operation returned. Start again without it.
400INVALID_PARAMSA parameter is missing, unknown or out of range. The message names it.
401UNAUTHORIZEDThe x-api-key header is missing, or the key is revoked or unknown.
402INSUFFICIENT_BALANCEThe balance does not cover this call. Top up in the dashboard.
404NOT_FOUNDThe account, post or group does not exist, or is private, deleted or age-restricted.
429MARKETPLACE_SATURATEDToo many concurrent calls. Retry after the Retry-After seconds.
502UPSTREAM_ERRORThe platform answered with something unusable. Retry with backoff.

Every code is listed in Errors. Failed calls are not billed.

Pricing

Price $0.001 per call. List price; the rate steps down above 1,000 calls a day.

Notes

  • period (hour … all) applies with sort=top or sort=controversial.

On this page