Aller au contenu
GET /v1/meta

Spec

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/reddit-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/reddit-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/reddit-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/reddit-api/v1/meta");
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/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "service": "reddit-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/user/about": "User profile and karma.",
            "GET /v1/user/posts": "A user's submissions.",
            "GET /v1/search/posts": "Search posts (optionally within a subreddit).",
            "GET /v1/popular/posts": "Trending posts from r/popular.",
            "GET /v1/post/comments": "A post with its comment tree.",
            "GET /v1/user/comments": "A user's comments.",
            "GET /v1/subreddit/about": "Subreddit info (subscribers, description, icons).",
            "GET /v1/subreddit/posts": "Posts in a subreddit by sort (hot/new/top/rising).",
            "GET /v1/subreddit/rules": "Subreddit rules.",
            "GET /v1/search/subreddits": "Search subreddits.",
            "GET /v1/popular/subreddits": "Most popular subreddits."
        },
        "description": "Reddit data: subreddits, posts, comments, users and search — real live data."
    },
    "meta": {
        "timestamp": "2026-06-07T16:49:03.740Z",
        "request_id": "36245443-d3cf-493c-86f3-86269a719890"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}