Zum Inhalt springen
GET /v1/popular/posts

Trending posts

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/reddit-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/reddit-api/v1/popular/posts" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/reddit-api/v1/popular/posts", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/reddit-api/v1/popular/posts");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/reddit-api/v1/popular/posts",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "after": "t3_1tz7wtq",
        "count": 10,
        "posts": [
            {
                "id": "1tzf4sl",
                "url": "https://i.redd.it/3f1gbl9mpv5h1.png",
                "flair": ":post-grand-prix: Race",
                "score": 7594,
                "title": "Kimi Antonelli wins the 2026 Monaco Grand Prix",
                "author": "overspeeed",
                "over_18": false,
                "upvotes": 7594,
                "fullname": "t3_1tzf4sl",
                "is_video": false,
                "selftext": "",
                "stickied": false,
                "permalink": "https://www.reddit.com/r/formula1/comments/1tzf4sl/kimi_antonelli_wins_the_2026_monaco_grand_prix/",
                "subreddit": "formula1",
                "thumbnail": "https://preview.redd.it/3f1gbl9mpv5h1.png?width=140&height=140&auto=webp&s=39b451a072e526c0fbf0d5c860f2e242bfa328dd",
                "created_utc": 1780846060,
                "num_comments": 788,
                "upvote_ratio": 0.99
            },
            {
                "id": "1tze5tf",
                "url": "https://i.redd.it/30mmzt0wiv5h1.jpeg",
                "flair": null,
                "score": 307,
                "title": "**GUTE NACHRICHTEN: Timmy ist wohlauf!",
                "author": "JealousBrilliant1984",
                "over_18": false,
                "upvotes": 307,
                "fullname": "t3_1tze5tf",
                "is_video": false,
                "selftext": "Hope! 🙏",
                "stickied": false,
                "permalink": "https://www.reddit.com/r/ichbin40undSchwurbler/comments/1tze5tf/gute_nachrichten_timmy_ist_wohlauf/",
                "subreddit": "ichbin40undSchwurbler",
                "thumbnail": "https://preview.redd.it/30mmzt0wiv5h1.jpeg?width=140&height=140&crop=1:1,smart&auto=webp&s=56a6f3f37da8c0fe3d02211a361e9efca8cc88aa",
                "created_utc": 1780843787,
                "num_comments": 131,
                "upvote_ratio": 0.94
            },
            {
                "id": "1tzdm7c",
                "url": "https://i.redd.it/q8fp5jgyev5h1.jpeg",
                "flair": "go to your room",
                "score": 4913,
                "title": "The two cinnamon rolls my wife chose out of the all that were made.",
                "author": "nameaboveallnames",
                "over_18": false,
                "upvotes": 4913,
                "fullname": "t3_1tzdm7c",
                "is_video": false,
                "selftext": "",
                "stickied": false,
                "permalink": "https://www.reddit.com/r/mildlyinfuriating/comments/1tzdm7c/the_two_cinnamon_rolls_my_wife_chose_out_of_the/",
                "subreddit": "mildlyinfuriating",
                "thumbnail": "https://preview.redd.it/q8fp5jgyev5h1.jpeg?width=140&height=140&crop=1:1,smart&auto=webp&s=135cb7e86354b58071c0ebb05e88dc4f3c15b519",
                "created_utc": 1780842474,
                "num
…