Reddit-API

Reddit-Trendende Beiträge-API

Hole aktuell trendende Reddit-Beiträge aus allen Subreddits mit stabiler Cursor-Paginierung.

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

r/popular
reddit.com/r/popular/
redditLog InSign Up
BestHotNewTopRising4.2M here
84.2K

r/space· Jun 4, 2024

NASA's Europa Clipper sends back its first images of Jupiter's icy moon

3,120 CommentsShareSave
CommentsShareSave
CommentsShareSave
Was die API zurückgegeben hatposts[0]
{
"id": "1gm3k8",
"title": "NASA's Europa Clipper sends back its first images of Jupiter's icy moon",
"selftext": "",
"author": "orbital_mechanic",
"score": 84210,
"numComments": 3120,
"url": "https://www.nasa.gov/europa-clipper-first-images",
"permalink": "/r/space/comments/1gm3k8/nasas_europa_clipper_sends_back_its_first_images/",
... 8 weitere Felder
}
Verfügbarkeit
93,47%
30d · 842 Aufrufe
Anfragen
842
30 T · wöchentlich, letzte 12 Wochen
Antwort
2,0s
Median · 30d

Preise

Preise der Reddit-Trendende Beiträge-API

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

Ausprobieren

Reddit Trendende Beiträge 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 20 von 21 Feldern. Alle Felder ansehen

{
  "found": true,
  "data": {
    "posts": [
      {
        "id": "1gm3k8",
        "title": "NASA's Europa Clipper sends back its first images of Jupiter's icy moon",
        "selftext": "",
        "author": "orbital_mechanic",
        "score": 84210,
        "numComments": 3120,
        "url": "https://www.nasa.gov/europa-clipper-first-images",
        "permalink": "/r/space/comments/1gm3k8/nasas_europa_clipper_sends_back_its_first_images/",
        "createdUtc": 1717516800,
        "subreddit": "space",
        "isArchived": false,
        "isLocked": false,
        "authorId": "4d8k1n",
        "nsfw": false,
        "upvoteRatio": 0.98,
        "domain": "nasa.gov"
      },
      {
        "id": "1gm2f1",
        "title": "Study finds four day work week trial improved productivity at 92% of companies",
        "selftext": "",
        "author": "econ_watcher",
        "score": 41720,
        "numComments": 5896,
        "url": "https://www.reuters.com/business/four-day-week-trial-results",
        "permalink": "/r/technology/comments/1gm2f1/study_finds_four_day_work_week_trial_improved/",
        "createdUtc": 1717513200,
        "subreddit": "technology",
        "isArchived": false,
        "isLocked": false,
        "authorId": "7q2m9x",
        "nsfw": false,
        "upvoteRatio": 0.95,
        "domain": "reuters.com"
      },
      {
        "id": "1gm1a4",
        "title": "Indie studio's 6 person team ships a 40 hour RPG built entirely in Godot",
        "selftext": "After three years of nights and weekends we finally launched Wraithmoor Keep on Steam. It is built entirely in Godot 4 and the whole team is six people. Happy to answer questions about the pipeline.",
        "author": "trailrunner_kate",
        "score": 26330,
        "numComments": 1042,
        "url": "https://www.reddit.com/r/gaming/comments/1gm1a4/indie_studios_6_person_team_ships_a_40_hour_rpg/",
        "permalink": "/r/gaming/comments/1gm1a4/indie_studios_6_person_team_ships_a_40_hour_rpg/",
        "createdUtc": 1717509600,
        "subreddit": "gaming",
        "isArchived": false,
        "isLocked": false,
        "authorId": "3f5j7p",
        "nsfw": false,
        "upvoteRatio": 0.99,
        "domain": "self.gaming"
      }
    ],
    "nextCursor": "t3_1gm0d2"
  }
}

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.

  • afterstring

    Paginierungs-Cursor aus dem nextCursor einer vorherigen Antwort. Für die erste Seite weglassen.

  • limitinteger

    25

    Maximum number of trending posts to return (1-100, default 100).

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

Antwort

JSON, ein Beispielwert pro Feld.

datadata
  • nextCursorstring

    t3_1gm0d2

    Cursor for the next page; pass it back as after. Null when no more results exist.

each postdata.posts[]

Populated whenever the provider has data for the entity.

  • authorstring

    orbital_mechanic

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

  • authorIdstring

    4d8k1n

    Reddit account ID of the author, without the t2_ prefix.

  • createdUtcnumber

    1717516800

    UTC epoch timestamp in seconds (Unix time). Populated whenever the provider has data for the entity.

  • domainstring

    nasa.gov

    Domain the post links to, for example "self.IAmA" for a text post.

  • idstring

    1gm3k8

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

  • isArchivedboolean

    false

    True when Reddit has archived the thread, which blocks new comments and votes. Archiving is a per-community setting, so an old thread is not necessarily archived. Absent when the source that served this request does not report it, which means unknown rather than false.

  • isLockedboolean

    false

    True when a moderator has locked the thread, which blocks new comments. Absent when the source that served this request does not report it, which means unknown rather than false.

  • nsfwboolean

    false

    Whether the post is marked not-safe-for-work.

  • numCommentsinteger

    3120

    Total number of comments on the post.

  • permalinkstring

    /r/space/comments/1gm3k8/nasas_europa_clipper_sends_back_its_first_images/

    Canonical reddit.com thread path for the post. Populated whenever the provider has data for the entity.

  • scoreinteger

    84210

    Net score (upvotes minus downvotes) at fetch time.

  • selftextstring

    Body text of a self post, as Markdown. Empty on a link post, which has no body.

  • subredditstring

    space

    Subreddit name, without the r/ prefix. Populated whenever the provider has data for the entity.

  • titlestring

    NASA's Europa Clipper sends back its first images of Jupiter's icy moon

    Post title. Populated whenever the provider has data for the entity.

  • upvoteRationumber

    0.98

    Share of votes on the post that are upvotes, between 0 and 1.

  • urlstring

    https://www.nasa.gov/europa-clipper-first-images

    The post's destination link: the external URL for a link post, the media URL for an image, gallery or video post, or the thread URL for a text post. A text post that also carries an image may give either its thread URL or the image URL. Populated whenever the provider has data for the entity.

top level
  • foundboolean

    true

  • 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-Trendende Beiträge-API

Die AnyAPI-Reddit-Trendende Beiträge-API liefert Reddit-Daten als normalisiertes JSON aus einem POST-Aufruf an /v1/run/reddit.trending_posts. Hole aktuell trendende Reddit-Beiträge aus allen Subreddits mit stabiler Cursor-Paginierung. AnyAPI liefert ein normalisiertes Schema, egal welche Quelle antwortet. Sie kostet ab 0,30 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. In den letzten 30 Tagen waren 93,5% der Reddit Trendende Beiträge-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 2,0 Sekunden über 842 gemessene Aufrufe.

Sie kostet ab 0,30 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.

Hole aktuell trendende Reddit-Beiträge aus allen Subreddits mit stabiler Cursor-Paginierung. 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 93,5% der Reddit Trendende Beiträge-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 2,0 Sekunden über 842 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 333 Reddit-Trendende Beiträge-Aufrufe zu je 0,0003 USD.

Sende eine POST-Anfrage an https://api.getanyapi.com/v1/run/reddit.trending_posts 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.