Facebook ad library company ads by page id or name
scrapecreators.x.v1-facebook-adlibrary-company-adsFetches all ads currently running for a specific company from the Meta Ad Library.
- Price
- $0.00188/call제공업체 원가
- Success rate
- —성공률 데이터가 아직 없습니다성공률 데이터가 아직 없습니다
- Latency p50
- ——
- Last verified
- 2026. 10. 20.Verified working
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-adlibrary-company-ads?pageId=367152833370567Preview- Uses platform quota
- Synchronous response
- Reads public data
파라미터
| 파라미터 | 유형 | 필수 | 설명 | 예시 |
|---|---|---|---|---|
| 쿼리 파라미터 | ||||
trim | 불리언 | 선택 | Set to true for a trimmed down version of the response | false |
cursor | 문자열 | 선택 | Cursor to paginate through results | AQHRBUAxNmFlxBVMFL6uTb1ICFsV65O4SqmPbcVZJhiveBpPS1hFHAmL6yCJcF760cXP |
pageId | 문자열 | 선택 | The companies ad library page id. You can get this with my Search For Companies Endpoint. Can either use this or companyName | 367152833370567 |
status | 문자열 | 선택 | Status of the ad. Defaults to ACTIVE. | ACTIVE |
country | 문자열 | 선택 | This can only be one country. It has to be the 2 letter code for the country. It defaults to ALL. | ALL |
sort_by | 문자열 | 선택 | Sort by impressions (high to low), or Most Recent (relevancy_monthly_grouped). Defaults to impressions. | total_impressions |
end_date | 문자열 | 선택 | End date to search for. Format: YYYY-MM-DD | 2025-12-31 |
language | 문자열 | 선택 | Language to filter ads on. Needs to be 2 letter language code, ie EN, ES, FR, etc | EN |
media_type | 문자열 | 선택 | Media type of the ad. Defaults to ALL. Meme refers to ads with image and text. Not sure why they call it meme. | ALL |
start_date | 문자열 | 선택 | Start date to search for. Format: YYYY-MM-DD | 2025-01-01 |
companyName | 문자열 | 선택 | The name of the company. Can either use this or pageId | Lululemon |
- 쿼리 파라미터
trim불리언선택Set to true for a trimmed down version of the response
예시:
falsecursor문자열선택Cursor to paginate through results
예시:
AQHRBUAxNmFlxBVMFL6uTb1ICFsV65O4SqmPbcVZJhiveBpPS1hFHAmL6yCJcF760cXPpageId문자열선택The companies ad library page id. You can get this with my Search For Companies Endpoint. Can either use this or companyName
예시:
367152833370567status문자열선택Status of the ad. Defaults to ACTIVE.
예시:
ACTIVEcountry문자열선택This can only be one country. It has to be the 2 letter code for the country. It defaults to ALL.
예시:
ALLsort_by문자열선택Sort by impressions (high to low), or Most Recent (relevancy_monthly_grouped). Defaults to impressions.
예시:
total_impressionsend_date문자열선택End date to search for. Format: YYYY-MM-DD
예시:
2025-12-31language문자열선택Language to filter ads on. Needs to be 2 letter language code, ie EN, ES, FR, etc
예시:
ENmedia_type문자열선택Media type of the ad. Defaults to ALL. Meme refers to ads with image and text. Not sure why they call it meme.
예시:
ALLstart_date문자열선택Start date to search for. Format: YYYY-MM-DD
예시:
2025-01-01companyName문자열선택The name of the company. Can either use this or pageId
예시:
Lululemon
코드 예제
$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-adlibrary-company-ads?pageId=367152833370567' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-adlibrary-company-ads?pageId=367152833370567",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-adlibrary-company-ads?pageId=367152833370567", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());게이트웨이 API는 미리보기 버전이며 URL과 인증 방식이 변경될 수 있습니다. 예제 매개변수는 샘플 데이터입니다. 호출 요금은 $0.00188/call이며 서비스 수수료가 포함되어 있습니다.