AI용

Meta Ad Library광고

Meta 광고주 광고 API

한 광고주(Facebook 페이지)가 Meta 광고 라이브러리에 집행 중인 광고를 페이지 ID 또는 브랜드 이름으로 조회합니다: 문구, 소재, 랜딩 페이지, 플랫폼, 기간. 경쟁사가 지금 무엇을 집행하는지 확인하는 방법입니다.

GEThttps://api.okdata.online/v1/meta/advertisers/ads/list

가격
$0.004
호출당 · 잘못된 파라미터는 무료
반환
페이지당 약 30개 광고
with a cursor for the next page
호출이 실패하면
1회만 과금
A failed call is retried on our side first. A call that reached the platform is charged once even if it fails; bad parameters are free.
상태
미리보기
It may still change; any change is announced beforehand.

결제About 34 calls fetch 1,000 ads: $0.136 in all. New accounts get $0.20 of credit, no card needed: 50 calls to this endpoint. 과금 규칙 →

Playground에서 실행

파라미터

이름유형필수설명예시
idstring아니요The advertiser's Facebook page ID. Give id or name.30147264485
namestring아니요The advertiser's name as on its Facebook page. Give id or name.Stanley 1913
countrystring아니요Only ads shown in this country (ISO code); all countries when left out.US
statusstring활성inactive전체아니요Ads running now (the default), stopped ones, or both. 기본값 active—
mediastring전체이미지동영상아니요Only image or only video ads; all by default. 기본값 all—
sortstring노출최신순아니요노출 많은 순(기본값) 또는 최신순. 기본값 impressions—
cursorstring아니요Opaque cursor from page.next_cursor of the previous call. Each page is a separate call.—
viewstringbriefcompactstandardfull아니요How much of each object comes back. brief: IDs, title, the first 100 characters of the text, link, time and the main counts, for scanning a list (then get what you need by ID). compact leaves out empty fields and cuts long text at 500 characters. full adds platform-specific fields under ext. 기본값 standard—
fieldsstring[]아니요Fields to keep, by path (author.name), to save tokens. In a query string: comma-separated.—

cursor, view and fields work the same on every endpoint: how requests work.

사용해 보기

New accounts get $0.20 of credit, no card needed: 50 calls to this endpoint.무료로 시작

This sends a real call to https://api.okdata.online and is billed as usual: at most $0.004, also when the platform comes back empty, not found or failed. Bad parameters are never charged. Your key goes only to that address and is never stored on this site.

알려진 제한 사항

  • About 30 ads come back per page; the platform sets the page size, so there is no page-size parameter.
  • 다음 페이지를 받으려면 다음을 전달하세요 page.next_cursor 반환 형태 cursor. A cursor stays valid for 24 hours. When page.has_more 이 false이면 더 이상 남은 항목이 없습니다.

반환 필드

data.items is a list of 광고.

필드유형보기설명
idstringcompact라이브러리 내 광고 ID.
urlstringcompact라이브러리 내 광고 링크.
advertiserAdvertiserRefcompact광고 운영 주체.
titlestring | nullcompact헤드라인(광고에 있는 경우).
textstringcompactAd copy as plain text; empty when the ad has none.긴 텍스트: view=compact를 쓰면 줄어들 수 있습니다.
formatstring | nullcompactCreative format; dynamic means the platform assembles it per viewer (catalog ads).
16개 필드 모두 보기나머지 10개 숨기기
필드유형보기설명
imagesstring[] | nullstandard광고 소재의 이미지 URL.
videosstring[] | nullfull크리에이티브 동영상 URL.
landing_urlstring | nullstandard광고 연결 페이지.
ctastring | nullstandardCTA 버튼 텍스트.
platformsstring[] | nullstandard게재 위치(예: facebook, instagram).
activeboolean | nullcompact광고 게재 중 여부.
first_shown_atstring | nullcompactFirst time or day shown, ISO 8601 in UTC.
last_shown_atstring | nullcompactLast time or day shown, ISO 8601 in UTC.
reachstring | nullstandardPeople reached, as the library publishes it: a bracket such as 1K-10K, or a count (the EU reach of a Meta ad); null where none is published.
ext객체full플랫폼별 추가 필드. view=full일 때만 반환됩니다.

조회 수 열이 가장 작습니다 view 필드 반환 위치: compact returns only compact fields, standard adds the standard ones, full 는 모든 항목을 반환합니다. 기본값은 standard.

과금되는 경우

One call costs $0.004 and returns one page of about 30 ads. Collecting 1,000 ads takes about 34 calls, $0.136 in total. Each page is a separate call. A call that reached the platform is charged even when it comes back empty, not found or failed; calls stopped before reaching the platform are free.

데이터 반환호출당 $0.004

잘못된 파라미터, 잔액 부족, 일시 중지된 엔드포인트무료

시간결제 금액
이후 페이지마다새 호출: $0.004
호출 1회 최대 비용$0.004
빈 응답$0.004
찾을 수 없음(플랫폼에 해당 항목이 없음)$0.004
플랫폼 오류 또는 시간 초과 시$0.004
잘못된 파라미터, 잔액 부족, 일시 중지된 엔드포인트무료
24시간 이내 동일한 Idempotency-Key로 재전송유지된 결과가 반환되면 무료

A call that reached the platform costs $0.004 even when the answer is empty, not found or a platform failure; a call stopped before that, such as for bad parameters, is free.

Prices from price book fb99dc8a88674793. 이 플랫폼의 모든 요금 →

자주 발생하는 오류

Every error has the same shape and says whether it was charged. The ones this endpoint can return:

HTTP코드의미청구액
400invalid_paramsA parameter is missing, has the wrong type or value, or the method is wrong. problems lists each one; param names the first.재시도: 수정 후아니요
400cursor_mismatchThe cursor was sent to another endpoint, or with other parameters than the page it came from (view and fields may change).재시도: 수정 후아니요
401unauthorizedThe key is missing, malformed, revoked, disabled or expired (reason says which when known).Retry: 아니요아니요
402insufficient_balanceThe balance (available) cannot cover the most this call could cost (required).재시도: 수정 후아니요
404not_foundThe post, account or page does not exist or is not public. When the lookup reached the platform and was billed, or the endpoint's charge_when_not_found is above 0, this answer is charged: the body then says charged: true and amount.Retry: 아니요once, if it reached the platform
410cursor_expiredThe cursor is older than the endpoint's cursor lifetime (page.cursor_expires_at said when).Retry: 아니요아니요
429rate_limitedThe account sent too many requests this minute (reason: rate) or has too many calls running (reason: concurrency).재시도: 가능아니요
500settlement_unknownThe data came back, but the charge could not be confirmed.Retry: 동일한 Idempotency-Key로unknown until looked up
502fetch_failedThe request failed even after we retried automatically on our side. If it reached the platform and the request was billed, it is charged once at the endpoint's price (charged: true and amount); otherwise nothing is charged.재시도: 가능once, if it reached the platform
503capability_paused이 엔드포인트는 현재 일시 중지되어 실행되지 않았습니다.재시도: 가능아니요
504timeoutThe data did not come back in time. If the request had reached the platform and was billed, it is charged once at the endpoint's price (charged: true and amount); otherwise the hold is released.재시도: 가능once, if it reached the platform

모든 오류 코드 →

질문

How much does the Meta 광고주 광고 API cost?

One call costs $0.004 and returns one page of about 30 ads. Collecting 1,000 ads takes about 34 calls, $0.136 in total. Each page is a separate call. A call that reached the platform is charged even when it comes back empty, not found or failed; calls stopped before reaching the platform are free.

다음 페이지는 어떻게 받나요?

Pass page.next_cursor from the response back as the cursor parameter. When page.has_more is false there is nothing left. Every page is its own call at $0.004.

Do I need a Meta Ad Library account, cookies or a QR login?

No. You send only your okdata API key. The data is public data from Meta Ad Library; nothing is fetched with your own Meta Ad Library account.

호출이 실패해도 과금되나요?

Yes, once, when the call reached the platform: an empty answer, a not_found, a failure or a timeout on the platform's side costs one call (one item for per-item endpoints), and the error says charged: true with amount. Calls refused before reaching the platform, such as bad parameters or a low balance, cost nothing.

What if Meta Ad Library does not show a field?

The field is null, and meta.unavailable names it with the reason: platform (the platform never shows it) or capability (we cannot fetch it yet).

AI에서 사용하기

Paste this into Claude, ChatGPT, Cursor or any agent that can open a web page. It reads this endpoint’s page and calls it with your key.

Read https://okdata.online/apis/meta/advertisers/ads/list.md, then call this endpoint for me through okdata; my key is in the OKDATA_API_KEY environment variable. Use Meta 광고주 광고 and sum up what these ads promise, which offers they push and since when.

MCP 서버를 연결하고 이렇게 물어보세요: Use Meta 광고주 광고 and sum up what these ads promise, which offers they push and since when.

다른 플랫폼의 같은 데이터

The same kind of data from other platforms, in the same Ad shape:

Compare them all: 광고주 광고 API →

Meta Ad Library 엔드포인트 3개 전체

Meta Ad Library API 개요 →Meta Ad Library API 요금 →

이름 및 ID

이름
Meta 광고주 광고 API
약칭
Meta 광고주 광고
ID
meta.advertisers.ads.list
엔드포인트
GET /v1/meta/advertisers/ads/list
카테고리
광고
데이터 유형
광고주 광고 API
반환
광고[]: 16 fields

한 번 연결하면, 그다음엔 묻기만 하세요.

새 키에는 $0.20 무료 크레딧이 들어 있습니다. AI에 한 문장만 붙여 넣으면 연결됩니다.

무료로 시작
AI에 연결

이 문장을 AI 에이전트에 붙여 넣으세요

https://okdata.online/agents.md을 읽고 okdata를 설정해 줘. 키는 환경 변수 OKDATA_API_KEY에 있어.

Claude Code, Cursor, Codex처럼 링크를 열 수 있는 AI 에이전트는 읽고 나서 스스로 설정합니다.

MCP 서버https://api.okdata.online/mcp