AdFlex API (1.0.0)
API for Getting and searching ads of all platforms.
Languages
Servers
Server
https://api.adflex.io/api/{version}/
- Server
https://api.adflex.io/api/v1/filters/x/search
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.adflex.io/api/v1/filters/x/search?api_key=YOUR_API_KEY_HERE'
Response
application/json
{ "status": "ok", "meta": { "code": 1000, "message": null }, "data": { "filters": [ … ], "relations": [ … ] } }
- Server
https://api.adflex.io/api/v1/x/ads/search
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.adflex.io/api/v1/x/ads/search \
-H 'Content-Type: application/json' \
-d '{
"api_key": "YOUR_API_KEY_HERE",
"page": 1,
"orderby": "updated_at",
"gender": [
3694
],
"placements": [
3689
],
"search_field": [
{
"type": "text",
"text": "huge"
},
{
"type": "without_owner",
"text": "METAWIN"
}
]
}'
Response
application/json
{ "status": "ok", "meta": { "code": 1000, "message": null }, "data": { "ads": [ … ], "current_page": 1, "has_next_page": true, "last_hit": 12321321 } }
- Server
https://api.adflex.io/api/v1/x/ads/{ad}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.adflex.io/api/v1/x/ads/{ad}?api_key=YOUR_API_KEY_HERE'
Response
application/json
{ "status": "ok", "meta": { "code": 1000, "message": null }, "data": { "data": { … } } }