Skip to main content
GET
/
v1
/
reddit
/
getSearchPosts
Search Posts
curl --request GET \
  --url https://api.agntdata.dev/v1/reddit/getSearchPosts \
  --header 'Authorization: <api-key>'
{}

Authorizations

Authorization
string
header
required

Bearer token. Pass your agntdata API key as: Authorization: Bearer agnt_live_...

Query Parameters

query
string
default:nike
required
cursor
string
sort
string

you can just select one item from below: relevance hot top new comments

subreddit
string
time
string

you can just select one item from below: hour day week month year all

Response

Successful response

The response is of type object.