/v1/user/comments
User comments
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/reddit-api/v1/user/comments" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/reddit-api/v1/user/comments", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/reddit-api/v1/user/comments");
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/user/comments",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"after": "t1_opmb26b",
"count": 10,
"comments": [
{
"id": "optfyql",
"body": "https://preview.redd.it/f1xjmxgj3d5h1.jpeg?width=1260&format=pjpg&auto=webp&s=37fed0dc065a6553fa7a291f643bf95b60907962\n\n \nJuuuust kidding. We’ll follow up with the hoodie plan. ",
"score": 21,
"author": "spez",
"replies": [],
"parent_id": "t1_optcg0g",
"permalink": "https://www.reddit.com/r/RDDT/comments/1tvs5jj/steve_jen_and_drew_here_ask_us_anything/optfyql/",
"created_utc": 1780620715,
"is_submitter": false
},
{
"id": "optcg0g",
"body": "https://preview.redd.it/6j6mqriszc5h1.jpeg?width=1260&format=pjpg&auto=webp&s=d6ef9851633a7012a76d420b0ed7255d82dc950d\n\n \nOof. So close. ",
"score": 9,
"author": "spez",
"replies": [],
"parent_id": "t1_opmavr4",
"permalink": "https://www.reddit.com/r/RDDT/comments/1tvs5jj/steve_jen_and_drew_here_ask_us_anything/optcg0g/",
"created_utc": 1780619443,
"is_submitter": false
},
{
"id": "oprhecj",
"body": "That is obviously where this is all heading.",
"score": 19,
"author": "spez",
"replies": [],
"parent_id": "t1_opmdtda",
"permalink": "https://www.reddit.com/r/RDDT/comments/1tvs5jj/steve_jen_and_drew_here_ask_us_anything/oprhecj/",
"created_utc": 1780598871,
"is_submitter": false
},
{
"id": "opq3e1a",
"body": "He does",
"score": 214,
"author": "spez",
"replies": [],
"parent_id": "t1_opnl4vu",
"permalink": "https://www.reddit.com/r/redditstock/comments/1twdbcz/spez_reads_every_comment_in_here/opq3e1a/",
"created_utc": 1780585632,
"is_submitter": false
},
{
"id": "opmclva",
"body": "I can’t comment on specific deals or timing.\n\nI will say that we are very aware that Reddit is an essential part of the AI and search ecosystem.",
"score": 47,
"author": "spez",
"replies": [],
"parent_id": "t1_opjsapl",
"permalink": "https://www.reddit.com/r/RDDT/comments/1tvs5jj/steve_jen_and_drew_here_ask_us_anything/opmclva/",
"created_utc": 1780533304,
"is_submitter": false
},
{
"id": "opmb8xp",
"body": "If you talk to any of the early engineers from any of the major LLMS, they’ll all tell you Reddit’s data was essential in their creation.\n
…