Reddit-API

Reddit-Nutzerkommentare-API

List a Reddit user's comments by username, sorted by new, top, hot, or controversial, with the parent post title and subreddit on every item and cursor pagination. Comment text may be truncated to a roughly 300-character preview, and this endpoint carries no per-comment permalink; use reddit.post_comments for full comment bodies and comment URLs on a given post.

0,60 USD/1k Anfr., Zahlung pro Anfrage, kein Abo.

Comments - u/night_owl_reads
reddit.com/user/night_owl_reads/comments/
redditLog InSign Up
night_owl_reads
OverviewPostsCommentsCommunitiesAbout

commented on Just finished Piranesi and I have questions

r/books

u/night_owl_reads· Jun 4, 2024

I felt the same way about the pacing in the third act, but I think that was intentional. The author slows everything down right before the reveal so the payoff hits harder. Worth pushing through if you were tempted to put it down.

214

Was die API zurückgegeben hatcomments[0]
{
"id": "lq9m2f",
"author": "night_owl_reads",
"bodyPreview": "I felt the same way about the pacing in the third act, but I think that was intentional. The author slows everything down right before the reveal so the payoff hits harder. Worth pushing through if you were tempted to put it down.",
"score": 214,
"createdUtc": 1717502400,
"postId": "1gk8p3",
"postTitle": "Just finished Piranesi and I have questions",
"subreddit": "books"
}
Verfügbarkeit
91,06%
30d · 12.161 Aufrufe
Anfragen
12.163
30 T · wöchentlich, letzte 12 Wochen
Antwort
1,1s
Median · 30d

Preise und Anbieter

Preise der Reddit-Nutzerkommentare-API: eine API, 3 austauschbare Anbieter

Der günstigste Anbieter bedient zuerst. Fällt er aus, übernimmt der nächste im selben Aufruf.

Du zahlst
6,00 USD
0,60 USD/1k Anfr., nur für das, was du nutzt. Kein Monatstarif.
Deine ersten 166 Anfragen sind mit dem Startguthaben von 0,10 USD kostenlos.

Ausprobieren

Reddit Nutzerkommentare mit einer Anfrage abrufen

Öffnen in
Beispielantwort
Kostenlose Läufe liefern nur die ersten 3 Ergebnisse. Lade einen Schlüssel auf, um die vollständige Antwort zu bekommen.

Dieses Beispiel zeigt 12 von 13 Feldern. Alle Felder ansehen

{
  "found": true,
  "data": {
    "comments": [
      {
        "id": "lq9m2f",
        "author": "night_owl_reads",
        "bodyPreview": "I felt the same way about the pacing in the third act, but I think that was intentional. The author slows everything down right before the reveal so the payoff hits harder. Worth pushing through if you were tempted to put it down.",
        "score": 214,
        "createdUtc": 1717502400,
        "postId": "1gk8p3",
        "postTitle": "Just finished Piranesi and I have questions",
        "subreddit": "books"
      },
      {
        "id": "lq7k1d",
        "author": "night_owl_reads",
        "bodyPreview": "Try the library hold system if your branch has Libby. I got through the whole trilogy on audiobook that way without spending anything, and the narrator for book two is genuinely one of the best I have heard.",
        "score": 58,
        "createdUtc": 1717480800,
        "postId": "1gk4j9",
        "postTitle": "Budget friendly ways to get into audiobooks?",
        "subreddit": "audiobooks"
      },
      {
        "id": "lq5f8a",
        "author": "night_owl_reads",
        "bodyPreview": "",
        "score": 9,
        "createdUtc": 1717462200,
        "postId": "1gk2m1",
        "postTitle": "Weekly what are you reading thread",
        "subreddit": "u_night_owl_reads"
      }
    ],
    "nextCursor": "t1_lq3d2z"
  }
}

Vollständige Parameter- und Antwortreferenz: jedes Feld, jeder Typ und jedes Beispiel für diesen Endpoint.

Referenz

Eine Anfrage, eine Antwortstruktur.

Jedes Feld, das du sendest, und jedes Feld, das du zurückbekommst, jeweils mit einem echten Beispiel.

Zuletzt geprüft 2026-11-21 · Verfügbarkeit und Latenz gemessen über 30d

Request-Body

JSON, per POST an diesen Endpoint gesendet.

  • usernamestring

    night_owl_reads

    Reddit-Benutzername ohne das Präfix u/. Beispiel: „spez“.

  • cursorstring

    Opaker Paginierungs-Cursor aus dem nextCursor einer vorherigen Antwort. Für die erste Seite weglassen; gib ihn zurück, um die nächste Seite abzurufen.

  • limitinteger

    25

    Page size to ask for (up to 100, default 100). Some sources honor it; others always return their whole page of about 25 comments. A page is never trimmed after the call, so pass nextCursor back as cursor to continue exactly where this response ended.

  • sortenum

    new

    Sortierreihenfolge der Kommentare des Nutzers. Standard ist new (neueste zuerst).

Du sendest. Ein kleiner JSON-Body. Die gezeigten Werte sind Beispiele, die du durch deine eigenen ersetzt.

Antwort

JSON, ein Beispielwert pro Feld.

each commentdata.comments[]

The user's comments in feed order (newest first by default). Each item carries the comment text, which may be truncated to a preview, plus the parent post it was made on; there is no per-comment permalink available from this endpoint. Populated whenever the provider has data for the entity.

  • authorstring

    night_owl_reads

    Commenter username, without the u/ prefix. Populated whenever the provider has data for the entity.

  • bodyPreviewstring

    I felt the same way about the pacing in the third act, but I think that was intentional. The author slows everything down right before the reveal so the payoff hits harder. Worth pushing through if you were tempted to put it down.

    The comment text. Depending on the source it is either the full comment body in Markdown or a plain-text preview truncated to roughly 300 characters, cut mid-word. It is empty on the occasional comment for which the upstream returns no text at all. For guaranteed full comment bodies and comment permalinks, use the reddit.post_comments SKU against the parent post.

  • createdUtcnumber

    1717502400

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • idstring

    lq9m2f

    Reddit comment ID (base-36, without the t1_ prefix). Populated whenever the provider has data for the entity.

  • postIdstring

    1gk8p3

    Reddit post ID of the thread the comment was made on (base-36, without the t3_ prefix). Pass it to reddit.post or reddit.post_comments for the full thread. Populated whenever the provider has data for the entity.

  • postTitlestring

    Just finished Piranesi and I have questions

    Title of the thread the comment was made on. Populated whenever the provider has data for the entity.

  • scoreinteger

    214

    Net score (upvotes minus downvotes) on the comment at fetch time.

  • subredditstring

    books

    Subreddit name of the parent thread, without the r/ prefix. Empty when the comment is on a post hosted on a user's own profile (r/u_<name>), which has no subreddit.

datadata

One page of the user's comments, or null when the user was not found.

  • nextCursorstring

    t1_lq3d2z

    Opaque cursor for the next page of this user's comments; pass it back as the `cursor` input to fetch the following page. Null when there are no more pages.

top level
  • foundboolean

    true

    Whether the user's comment history was returned.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

Du bekommst zurück. Benannte, typisierte Felder in derselben Struktur, egal welche Quelle antwortet.

FAQ

Über die Reddit-Nutzerkommentare-API

Die AnyAPI-Reddit-Nutzerkommentare-API liefert Reddit-Daten als normalisiertes JSON aus einem POST-Aufruf an /v1/run/reddit.user_comments. List a Reddit user's comments by username, sorted by new, top, hot, or controversial, with the parent post title and subreddit on every item and cursor pagination. Comment text may be truncated to a roughly 300-character preview, and this endpoint carries no per-comment permalink; use reddit.post_comments for full comment bodies and comment URLs on a given post. AnyAPI routet jede Anfrage über 3 Quellen und weicht automatisch aus, wenn eine ausfällt. Sie kostet ab 0,60 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. In den letzten 30 Tagen waren 91,1% der Reddit Nutzerkommentare-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 1,1 Sekunden über 12.161 gemessene Aufrufe.

Sie kostet ab 0,60 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. Du lädst ein USD-Guthabenkonto auf, und jeder Aufruf bucht davon ab. Bei manchen fehlgeschlagenen, vom Guthabenkonto bezahlten Anfragen fallen Bearbeitungsgebühren an, die wir zum Selbstkostenpreis ohne Aufschlag weitergeben. Die Fehlerantwort zeigt den berechneten Betrag.

List a Reddit user's comments by username, sorted by new, top, hot, or controversial, with the parent post title and subreddit on every item and cursor pagination. Comment text may be truncated to a roughly 300-character preview, and this endpoint carries no per-comment permalink; use reddit.post_comments for full comment bodies and comment URLs on a given post. Die Antwort ist normalisiertes JSON mit demselben Envelope, den jeder AnyAPI-Endpoint liefert, sodass das Parsen eines zweiten Endpoints nur eine geänderte URL bedeutet.

In den letzten 30 Tagen waren 91,1% der Reddit Nutzerkommentare-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 1,1 Sekunden über 12.161 gemessene Aufrufe. Das sind AnyAPIs eigene Messungen des Traffics durch das Gateway, laufend neu berechnet, kein veröffentlichtes Service-Level-Ziel.

Ja. Ein neues AnyAPI-Konto startet mit 0,10 USD Gratis-Guthaben, ohne Karte. Das deckt 166 Reddit-Nutzerkommentare-Aufrufe zu je 0,0006 USD.

AnyAPI fragt in derselben Anfrage die nächste seiner 3 Quellen, die günstigste zuerst, sodass der Ausfall einer Quelle deinen Aufruf nicht scheitern lässt.

Sende eine POST-Anfrage an https://api.getanyapi.com/v1/run/reddit.user_comments mit deinem AnyAPI-Schlüssel in einem Header „Authorization: Bearer“ und der Eingabe als JSON-Body. Derselbe Schlüssel und dasselbe Guthabenkonto funktionieren bei jedem AnyAPI-Endpoint.

Nein. Du lädst US-Dollar auf ein Prepaid-AnyAPI-Guthaben, und jede Anfrage bucht davon ab. Es gibt keinen Monatstarif und kein Minimum, und dasselbe Guthaben bezahlt jeden AnyAPI-Endpoint.

Ja. Installiere @getanyapi/sdk von npm für TypeScript oder getanyapi von pip für Python. Beide rufen jeden AnyAPI-Endpoint mit demselben Schlüssel auf, und jeder HTTP-Client funktioniert ebenfalls.

Ja. Ein Agent kann sich mit dem AnyAPI-MCP-Server unter https://api.getanyapi.com/mcp verbinden oder mit einem unauthentifizierten POST an https://api.getanyapi.com/agent/signup einen eigenen kostenlosen Test-Schlüssel erstellen und diesen Endpoint über HTTP aufrufen.