Skip to main content
GET
https://api.aisa.one/apis/v1
/
reddit
/
search
Search Reddit
curl --request GET \
  --url https://api.aisa.one/apis/v1/reddit/search \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "posts": [
    {
      "id": "w63dgy",
      "author": "Morgentau7",
      "author_fullname": "t2_2hy2xjit",
      "subreddit": "MadeMeSmile",
      "title": "Player realizes that he nearly stole the dogs job",
      "downs": 0,
      "name": "t3_w63dgy",
      "upvote_ratio": 0.97,
      "ups": 220403,
      "total_awards_received": 0,
      "score": 220403,
      "created": 1658580900,
      "num_comments": 1246,
      "url": "https://www.reddit.com/r/MadeMeSmile/comments/w63dgy/player_realizes_that_he_nearly_stole_the_dogs_job/",
      "subreddit_subscribers": 11605207,
      "is_video": true,
      "created_utc": 1658580900
    }
  ],
  "after": "t3_1izmcgx"
}
Search across all of Reddit for posts matching a query.

Example

curl "https://api.aisa.one/apis/v1/reddit/search?query=VALUE" \
  -H "Authorization: Bearer YOUR_API_KEY"

Authorizations

Authorization
string
header
required

AIsa API key. Get yours at https://aisa.one

Query Parameters

query
string
required

Search query

sort
enum<string>

Sort by

Available options:
relevance,
new,
top,
comment_count
timeframe
enum<string>

Timeframe

Available options:
all,
day,
week,
month,
year
after
string

Used to paginate to next page

trim
boolean

Set to true for a trimmed down version of the response

Response

200 - application/json

Successful response