Search public Reddit posts
curl --request GET \
--url https://api.vexqo.dev/reddit/search \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.vexqo.dev/reddit/search"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.vexqo.dev/reddit/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"operation": "search",
"posts": [
{
"id": "<string>",
"url": "<string>",
"title": "<string>",
"body": "<string>",
"status": "available",
"subreddit": "<string>",
"author": "<string>",
"score": 123,
"comment_count": 1,
"excerpt": "<string>",
"links": {}
}
],
"comments": [
{
"id": "<string>",
"parent_id": "<string>",
"body": "<string>",
"status": "available",
"author": "<string>",
"score": 123
}
],
"partial": true,
"has_more": true,
"stopping_reason": "empty",
"sort": "<string>",
"source": {
"platform": "reddit",
"method": "rendered_public_page",
"url": "<string>",
"observed_at": "<string>"
},
"subreddit_rules": [
{
"number": 2,
"title": "<string>",
"description": "<string>"
}
],
"posts_returned": 0,
"comments_returned": 0,
"links": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Reddit
Search public Reddit posts
GET
/
reddit
/
search
Search public Reddit posts
curl --request GET \
--url https://api.vexqo.dev/reddit/search \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.vexqo.dev/reddit/search"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.vexqo.dev/reddit/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"operation": "search",
"posts": [
{
"id": "<string>",
"url": "<string>",
"title": "<string>",
"body": "<string>",
"status": "available",
"subreddit": "<string>",
"author": "<string>",
"score": 123,
"comment_count": 1,
"excerpt": "<string>",
"links": {}
}
],
"comments": [
{
"id": "<string>",
"parent_id": "<string>",
"body": "<string>",
"status": "available",
"author": "<string>",
"score": 123
}
],
"partial": true,
"has_more": true,
"stopping_reason": "empty",
"sort": "<string>",
"source": {
"platform": "reddit",
"method": "rendered_public_page",
"url": "<string>",
"observed_at": "<string>"
},
"subreddit_rules": [
{
"number": 2,
"title": "<string>",
"description": "<string>"
}
],
"posts_returned": 0,
"comments_returned": 0,
"links": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Query Parameters
Response
Successful Response