Advertiser ads

Get the ads a page runs in the Meta Ad Library, by page id, with country, status, media type and date filters.

$0.003 per call1 req/sPOST

Request

POST https://dev-backend.tryingrow.com/public-api/facebook/get-advertiser-ads

Send your key in the x-api-key header and a JSON body.

Body

FieldTypeDescription
active_status"ACTIVE" | "ALL" | "INACTIVE"ad is actively showing
ad_type"ALL" | "EMPLOYMENT_ADS" | "FINANCIAL_PRODUCTS_AND_SERVICES_ADS" | "HOUSING_ADS" | "POLITICAL_AND_ISSUE_ADS"the type of the ad
country"ALL" | "BR" | "IN" | "GB" | "US" | "CA" | "AR" | "AU" | "AT" | "BE" | "CL" | "CN" | "CO" | "HR" | "DK" | "DO" | "EG" | "FI" | "FR" | "DE" | "GR" | "HK" | "ID" | "IE" | "IL" | "IT" | "JP" | "JO" | "KW" | "LB" | "MY" | "MX" | "NL" | "NZ" | "NG" | "NO" | "PK" | "PA" | "PE" | "PH" | "PL" | "RU" | "SA" | "RS" | "SG" | "ZA" | "KR" | "ES" | "SE" | "CH" | "TW" | "TH" | "TR" | "AE" | "VE" | "PT" | "LU" | "BG" | "CZ" | "SI" | "IS" | "SK" | "LT" | "TT" | "BD" | "LK" | "KE" | "HU" | "MA" | "CY" | "JM" | "EC" | "RO" | "BO" | "GT" | "CR" | "QA" | "SV" | "HN" | "NI" | "PY" | "UY" | "PR" | "BA" | "PS" | "TN" | "BH" | "VN" | "GH" | "MU" | "UA" | "MT" | "BS" | "MV" | "OM" | "MK" | "LV" | "EE" | "IQ" | "DZ" | "AL" | "NP" | "MO" | "ME" | "SN" | "GE" | "BN" | "UG" | "GP" | "BB" | "AZ" | "TZ" | "LY" | "MQ" | "CM" | "BW" | "ET" | "KZ" | "NA" | "MG" | "NC" | "MD" | "FJ" | "BY" | "JE" | "GU" | "YE" | "ZM" | "IM" | "HT" | "KH" | "AW" | "PF" | "AF" | "BM" | "GY" | "AM" | "MW" | "AG" | "RW" | "GG" | "GM" | "FO" | "LC" | "KY" | "BJ" | "AD" | "GD" | "VI" | "BZ" | "VC" | "MN" | "MZ" | "ML" | "AO" | "GF" | "UZ" | "DJ" | "BF" | "MC" | "TG" | "GL" | "GA" | "GI" | "CD" | "KG" | "PG" | "BT" | "KN" | "SZ" | "LS" | "LA" | "LI" | "MP" | "SR" | "SC" | "VG" | "TC" | "DM" | "MR" | "AX" | "SM" | "SL" | "NE" | "CG" | "AI" | "YT" | "CV" | "GN" | "TM" | "BI" | "TJ" | "VU" | "SB" | "ER" | "WS" | "AS" | "FK" | "GQ" | "TO" | "KM" | "PW" | "FM" | "CF" | "SO" | "MH" | "VA" | "TD" | "KI" | "ST" | "TV" | "NR" | "RE" | "LR" | "ZW" | "CI" | "MM" | "AN" | "AQ" | "BQ" | "BV" | "IO" | "CX" | "CC" | "CK" | "CW" | "TF" | "GW" | "HM" | "XK" | "MS" | "NU" | "NF" | "PN" | "BL" | "SH" | "MF" | "PM" | "SX" | "GS" | "SS" | "SJ" | "TL" | "TK" | "UM" | "WF" | "EH"filter by country - default is ALL
end_cursorstringfor pagination - use the end_cursor from the previous request
end_datestringYYYY-MM-DD format
media_type"ALL" | "IMAGE" | "MEME" | "VIDEO" | "NONE"filter by media type - default is ALL
page_idrequiredstringthe id of the page
start_datestringYYYY-MM-DD format

Example

curl -X POST https://dev-backend.tryingrow.com/public-api/facebook/get-advertiser-ads \
  -H "x-api-key: $INGROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page_id":"…"}'

Response

JSON from Facebook, fetched live. Every response also carries two headers: x-cost-usd with what the call cost and x-balance-usd with the balance left. Errors: 402 when the balance or your monthly spend limit is too low, 429 when over the rate limit (wait for retry-after seconds).

Pricing and limits

How much does the InGrow Advertiser ads API cost?
$0.003 per successful call, taken from your InGrow balance. Failed calls are refunded, and every new organization starts with $1 free credit.
What is the rate limit of the Advertiser ads API?
1 request per second per organization, shared by every Facebook endpoint. Over the limit returns 429 with a retry-after header.
How do I call the Advertiser ads API?
Send POST https://dev-backend.tryingrow.com/public-api/facebook/get-advertiser-ads with a JSON body and your API key in the x-api-key header. Required fields: page_id. The same key works through the InGrow MCP server.

More Facebook APIs