/v1/search/posts
Search posts
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/search/posts" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/reddit-api/v1/search/posts", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/reddit-api/v1/search/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/search/posts",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"after": "t3_1t5jhfj",
"count": 10,
"posts": [
{
"id": "1r7uh9y",
"url": "https://i.redd.it/6yiglhkvu6kg1.png",
"flair": "[Analysis]",
"score": 274,
"title": "This is real. DO NOT USE CHATGPT ANYMORE.",
"author": "IGetHighOnPenicillin",
"over_18": false,
"upvotes": 274,
"fullname": "t3_1r7uh9y",
"is_video": false,
"selftext": "[https://chatgpt.com/share/69954d6f-cc2c-8003-8357-face67c93fef](https://chatgpt.com/share/69954d6f-cc2c-8003-8357-face67c93fef) \n \nThis is not an older model, I asked. No custom instructions, no deceiving. It told me it was running the latest model.\n\nChatGPT has been LOBOTOMIZED. Do NOT trust it on anything other than baking recipes. This speaks for itself. 🤦🏻♂️",
"stickied": false,
"permalink": "https://www.reddit.com/r/ChatGPTcomplaints/comments/1r7uh9y/this_is_real_do_not_use_chatgpt_anymore/",
"subreddit": "ChatGPTcomplaints",
"thumbnail": "https://preview.redd.it/6yiglhkvu6kg1.png?width=140&height=45&auto=webp&s=abe1ae38797ee2d7fec677dd2073cf164e150850",
"created_utc": 1771392530,
"num_comments": 546,
"upvote_ratio": 0.79
},
{
"id": "1tnj3fi",
"url": "https://www.reddit.com/gallery/1tnj3fi",
"flair": "Infuriatig",
"score": 18145,
"title": "Relying on Chatgpt to have a basic conversation",
"author": "fartedcum",
"over_18": false,
"upvotes": 18145,
"fullname": "t3_1tnj3fi",
"is_video": false,
"selftext": "",
"stickied": false,
"permalink": "https://www.reddit.com/r/mildlyinfuriating/comments/1tnj3fi/relying_on_chatgpt_to_have_a_basic_conversation/",
"subreddit": "mildlyinfuriating",
"thumbnail": "https://preview.redd.it/eky8adga3c3h1.png?width=140&height=125&auto=webp&s=d66911d5b848c8d1fb4b8c5666ddba6fb6c51778",
"created_utc": 1779736911,
"num_comments": 2145,
"upvote_ratio": 0.95
},
{
"id": "1qpj4ax",
"url": "https://www.reddit.com/r/ChatGPT/comments/1qpj4ax/warning_to_chatgpt_users/",
"flair": "Prompt engineering ",
"score": 1036,
"title": "Warning to ChatGPT Users",
"author": "ms221988",
"over_18": false,
"upvotes": 1036,
"fullname": "t3_1qpj4ax",
"is_video": false,
"selftext": "*Preface: This blew up more than I thought and it seems I am not alone. Hopefully it gets OpenAI'
…