Yapay zekâ için

Meta Ad LibraryReklamlar

Meta Ad Library arama API

Meta Ad Library'de (Facebook, Instagram, Messenger) anahtar kelimeyle arayın: reklamveren, metin, başlık, görseller ve videolar, açılış sayfası, nerede ve ne zamandan beri yayında olduğu. Tek bir ülkeyle, görsel veya video reklamlarla ve şu anda yayında olan ya da durdurulmuş reklamlarla sınırlandırılabilir.

GEThttps://api.okdata.online/v1/meta/ads/search

Fiyat
$0.004
çağrı başına · hatalı parametreler ücretsizdir
Döndürür
Sayfa başına yaklaşık 30 reklam
with a cursor for the next page
Bir çağrı başarısız olursa
Bir kez ücretlendirilir
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.
Durum
önizleme
It may still change; any change is announced beforehand.

FaturalandırmaAbout 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. Faturalandırma kuralları →

Playground'da çalıştır

Parametreler

AdTürZorunluAçıklamaÖrnek
querystringEvetKeywords, as a person would type them into the platform search box.portable espresso
countrystringHayırOnly ads shown in this country (ISO code); all countries when left out.US
statusstringactiveinactiveallHayırAds running now (the default), stopped ones, or both. default active—
mediastringallimagevideoHayırOnly image or only video ads; all by default. default all—
sortstringimpressionsnewestHayırÖnce en çok gösterim alan (varsayılan) veya önce en yeni. default impressions—
cursorstringHayırOpaque cursor from page.next_cursor of the previous call. Each page is a separate call.—
viewstringbriefcompactstandardfullHayırHow 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. default standard—
fieldsstring[]HayırFields 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.

Deneyin

New accounts get $0.20 of credit, no card needed: 50 calls to this endpoint.Ücretsiz başlayın

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.

Bilinen sınırlamalar

  • About 30 ads come back per page; the platform sets the page size, so there is no page-size parameter.
  • Sonraki sayfa için şunu gönderin page.next_cursor dönüş biçimi cursor. A cursor stays valid for 24 hours. When page.has_more false ise geriye bir şey kalmamıştır.

Dönen alanlar

data.items is a list of Reklam.

AlanTürGörünümAçıklama
idstringcompactKütüphanedeki reklam kimliği.
urlstringcompactKütüphanedeki reklamın bağlantısı.
advertiserAdvertiserRefcompactReklamı yayınlayan.
titlestring | nullcompactBaşlık (reklamda varsa).
textstringcompactAd copy as plain text; empty when the ad has none.Uzun metin: view=compact kısaltabilir.
formatstring | nullcompactCreative format; dynamic means the platform assembles it per viewer (catalog ads).
16 alanın tümünü gösterDiğer 10 tanesini gizle
AlanTürGörünümAçıklama
imagesstring[] | nullstandardKreatifin görsel URL'leri.
videosstring[] | nullfullKreatifin video URL'leri.
landing_urlstring | nullstandardReklamın yönlendirdiği yer.
ctastring | nullstandardHarekete geçirici buton metni.
platformsstring[] | nullstandardNerede yayınlandığı, ör. facebook, instagram.
activeboolean | nullcompactReklamın hâlâ yayında olup olmadığı.
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.
extobjectfullPlatforma özgü ek alanlar. Yalnızca view=full ile döner.

Görünüm sütunu en küçüğüdür view bir alan şurada döner: compact returns only compact fields, standard adds the standard ones, full her şeyi döndürür. Varsayılan: standard.

Ne zaman ücretlendirilir

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.

Veri dönerÇağrı başına $0.004

Hatalı parametreler, yetersiz bakiye, duraklatılmış uç noktaÜcretsiz

Ne zamanTahsil edilecek
Sonraki her sayfaYeni bir çağrı: $0.004
Bir çağrının en yüksek maliyeti$0.004
Boş bir yanıt$0.004
Platform hata verir veya zaman aşımına uğrar$0.004
Hatalı parametreler, yetersiz bakiye, duraklatılmış uç noktaÜcretsiz
24 saat içinde aynı Idempotency-Key ile yeniden gönderildiSaklanan sonuç döndüğünde ücretsiz

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. Bu platformdaki tüm fiyatlar →

Sık görülen hatalar

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

HTTPKodAnlamıÜcret
400invalid_paramsA parameter is missing, has the wrong type or value, or the method is wrong. problems lists each one; param names the first.Yeniden deneme: düzeltmeden sonrano
400cursor_mismatchThe cursor was sent to another endpoint, or with other parameters than the page it came from (view and fields may change).Yeniden deneme: düzeltmeden sonrano
401unauthorizedThe key is missing, malformed, revoked, disabled or expired (reason says which when known).Yeniden deneme: hayırno
402insufficient_balanceThe balance (available) cannot cover the most this call could cost (required).Yeniden deneme: düzeltmeden sonrano
410cursor_expiredThe cursor is older than the endpoint's cursor lifetime (page.cursor_expires_at said when).Yeniden deneme: hayırno
429rate_limitedThe account sent too many requests this minute (reason: rate) or has too many calls running (reason: concurrency).Yeniden deneme: evetno
500settlement_unknownThe data came back, but the charge could not be confirmed.Retry: aynı Idempotency-Key ileunknown 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.Yeniden deneme: evetonce, if it reached the platform
503capability_pausedBu uç nokta şu an duraklatıldı; hiçbir şey çalışmadı.Yeniden deneme: evetno
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.Yeniden deneme: evetonce, if it reached the platform

Tüm hata kodları →

Sorular

How much does the Meta Ad Library arama 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.

Sonraki sayfayı nasıl alırım?

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.

Başarısız bir çağrı için ücret alınır mı?

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).

Yapay zekânızda kullanın

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/ads/search.md, then call this endpoint for me through okdata; my key is in the OKDATA_API_KEY environment variable. Use Meta Ad Library arama and sum up what these ads promise, which offers they push and since when.

MCP sunucusu bağlıyken yalnızca sorun: Use Meta Ad Library arama and sum up what these ads promise, which offers they push and since when.

Diğer platformlarda aynı veri

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

Compare them all: Reklam arama API'si →

Tüm Meta Ad Library uç noktaları (3)

Meta Ad Library API'ye genel bakış →Meta Ad Library API fiyatları →

Adlar ve ID

Ad
Meta Ad Library arama API
Kısa ad
Meta Ad Library arama
Kimlik
meta.ads.search
Uç nokta
GET /v1/meta/ads/search
Kategori
Reklamlar
Döndürür
Reklam[]: 16 fields

Bir kez bağlayın, sonra sadece sorun.

Her yeni anahtar, denemeniz için $0.20 ile gelir. Ajanınızı tek bir cümle bağlar.

Ücretsiz başlayın
Yapay zekânızı bağlayın

Bunu ajanınıza yapıştırın

https://okdata.online/agents.md adresini oku ve okdata kurulumunu benim için yap; anahtarım OKDATA_API_KEY ortam değişkeninde.

Claude Code, Cursor, Codex ve bağlantı açabilen diğer ajanlar kurulumu bundan kendileri yapar.

MCP sunucusuhttps://api.okdata.online/mcp