Learn how to use the Adflex API to access millions of ads data from top platforms, with guides, filters, endpoints, and integration examples for developers.
Adflex API Documentation (1.0.0)
Languages
Servers
Server
https://api.adflex.io/api/{version}/
- Serverhttps://api.adflex.io/api/v1/filters/display/search
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.adflex.io/api/v1/filters/display/search?api_key=YOUR_API_KEY_HERE'Response
application/json
{ "status": "ok", "meta": { "code": 1000, "message": null }, "data": { "filters": [ … ], "relations": [ … ] } }
- Serverhttps://api.adflex.io/api/v1/display/filter/publishers/items
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.adflex.io/api/v1/display/filter/publishers/items?api_key=YOUR_API_KEY_HERE&search=a&ids=49%2C114'Response
application/json
{ "status": "ok", "meta": { "code": 1000, "message": null }, "data": [ { … }, { … }, { … }, { … } ] }
- Serverhttps://api.adflex.io/api/v1/display/ads/search
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.adflex.io/api/v1/display/ads/search \
-H 'Content-Type: application/json' \
-d '{
"api_key": "YOUR_API_KEY_HERE",
"page": 1,
"orderby": "updated_at",
"networks": [
19481,
19484
],
"publishers": [
49,
31
],
"search_field": [
{
"type": "text",
"text": "skills"
},
{
"type": "without_owner_name",
"text": "codefinity.com"
}
]
}'Response
application/json
{ "status": "ok", "meta": { "code": 1000, "message": null }, "data": { "ads": [ … ], "current_page": 1, "has_next_page": true, "last_hit": 12321321 } }
- Serverhttps://api.adflex.io/api/v1/display/ads/{ad}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.adflex.io/api/v1/display/ads/{ad}?api_key=YOUR_API_KEY_HERE'Response
application/json
{ "status": "ok", "meta": { "code": 1000, "message": null }, "data": { "data": { … } } }