Facebook Ad Search
curl --request GET \
--url https://api.vexqo.dev/facebook/ads \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.vexqo.dev/facebook/ads"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.vexqo.dev/facebook/ads', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"search_parameters": {},
"search_information": {
"total_results": 123,
"ads_returned": 1,
"has_more": true,
"next_cursor": "<string>",
"refused_requests": 1
},
"ads": [
{
"ad_archive_id": "<string>",
"links": {
"details": "<string>",
"advertiser": "<string>"
},
"page_id": "<string>",
"page_name": "<string>",
"is_active": true,
"snapshot": {},
"creatives": [
{
"source": "<string>",
"text": "<string>",
"title": "<string>",
"description": "<string>",
"destination_url": "<string>",
"cta": "<string>",
"images": [
"<string>"
],
"videos": [
"<string>"
]
}
],
"ad_details": {},
"ad_details_status": "available",
"ad_details_reason": "<string>"
}
],
"links": {
"self": "<string>",
"next": "<string>"
},
"response_metadata": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Meta ads
Facebook Ad Search
GET
/
facebook
/
ads
Facebook Ad Search
curl --request GET \
--url https://api.vexqo.dev/facebook/ads \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.vexqo.dev/facebook/ads"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.vexqo.dev/facebook/ads', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"search_parameters": {},
"search_information": {
"total_results": 123,
"ads_returned": 1,
"has_more": true,
"next_cursor": "<string>",
"refused_requests": 1
},
"ads": [
{
"ad_archive_id": "<string>",
"links": {
"details": "<string>",
"advertiser": "<string>"
},
"page_id": "<string>",
"page_name": "<string>",
"is_active": true,
"snapshot": {},
"creatives": [
{
"source": "<string>",
"text": "<string>",
"title": "<string>",
"description": "<string>",
"destination_url": "<string>",
"cta": "<string>",
"images": [
"<string>"
],
"videos": [
"<string>"
]
}
],
"ad_details": {},
"ad_details_status": "available",
"ad_details_reason": "<string>"
}
],
"links": {
"self": "<string>",
"next": "<string>"
},
"response_metadata": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Query Parameters
Response
Successful Response