Skip to main content
POST
/
api
/
facebook
/
advertisers
/facebook/advertisers
curl --request POST \
  --url https://api.anysite.io/api/facebook/advertisers \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "advertiser": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@facebook_advertiser_detail",
    "name": "<string>",
    "alias": "<string>",
    "image": "<string>",
    "url": "<string>",
    "categories": [],
    "like_count": 123,
    "byline": "<string>",
    "is_deleted": false,
    "is_actioned": false,
    "ad_count": 123,
    "hidden_ads": 123,
    "has_blank_ads": false,
    "related_pages": [],
    "admin_info": {}
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.anysite.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
advertiser
string
required

Page ID of the advertiser, or a Facebook Ad Library URL containing ?view_all_page_id=<id>

Minimum string length: 1
Examples:

"15087023444"

"https://www.facebook.com/ads/library/?view_all_page_id=15087023444"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:@facebook_advertiser_detail
name
string | null
alias
string | null
image
string | null
url
string | null
categories
string[]
like_count
integer | null
byline
string | null
is_deleted
boolean
default:false
is_actioned
boolean
default:false
ad_count
integer | null
hidden_ads
integer | null
has_blank_ads
boolean
default:false
admin_info
Admin Info · object