Security
ApiKeyAuth
Snapshot timestamp returned in data.last_hit by the page 1 response. Omit this field for page 1. For page 2 and later, resend the original value unchanged while using the same filters and sorting. This value does not expire.
Requested page number. Each page returns up to 18 ads. The page size is fixed and cannot be changed.
Default:1
Example:1
POST
curl -i -X POST \
https://api.adflex.io/api/v2/ads/reddit/search \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"page": 1,
"advanced_order": {
"orderby": "newest",
"order": "desc"
},
"gender": [
3670
],
"placements": [
2866
],
"search_field": [
{
"type": "text",
"text": "Gold"
},
{
"type": "without_owner",
"text": "ADSS"
}
]
}'Response
- integer
- string
- Array of strings
{ "status": "ok", "meta": { "code": 1000, "message": null }, "data": { "ads": [ … ], "current_page": 1, "has_next_page": true, "last_hit": 12321321 } }