Skip to content
AdsLibraryAPI
All endpoints

Search Active Commercial Video & Image Ads (Meta + Google)

GET/v1/ads/search2 Credits / ad($0.0002 / ad)· Updated 2026-11-26

Direct Answer · Commercial Ads Engineering Summary

GET /v1/ads/search queries live commercial Facebook/Instagram Ad Library creatives (platform=social) and verified Google Ads Transparency Search/Display/YouTube creatives (platform=search), or both combined (platform=all), returning normalized ad_id, advertiser_name, creative_format, active_days, headline, hook copy, CTA button, HD video/image preview URL, and destination landing page at 2 Credits ($0.0002 nominal, $0.00008 on Business) per ad returned.

Honest Trade-Offs & Scope Boundaries

  • →Returns up to 40 normalized commercial creatives per call (default 20); empty searches strictly deduct 0 Credits.
  • →Warm PostgreSQL 16 + Redis DB 10 (ad:) 12-hour cache serves repeat queries in 18–40ms; live cold fetches complete in 1.2–2.8s.
  • →Use GET /v1/ads/advertiser?domain=... when you want a complete single-brand dossier across Meta & Google with aggregated CTA & landing-page rollups.

Primary-Source Benchmark & Gateway Telemetry

“Access to the Meta Ad Library API requires identity verification and restricts US ad_type queries to political and social-issue advertising.”

— Meta Ad Library API Access Policy (retrieved 2026-11-26)

Performance agencies, DTC growth teams, and AI creative agents use /v1/ads/search to query live commercial eCommerce, SaaS, and B2B ads immediately without political-only gates.

Warm / Live p5022ms / 1,850ms (200 OK)
10K Items$0.80 – $2.00
100K Items$8.00 – $20.00
1M Items$80 – $200 · /telemetry.json

Search active commercial ads by keyword, niche, or brand across Meta Ad Library (Facebook/Instagram) and Google Ads Transparency. Cost: 2 Credits / ad returned (0 Credits on empty/error).

Parameters

  • querystringrequired

    Search keyword, niche, or brand name (e.g. CRM software, shopify).

  • countrystring

    2-letter ISO country code (US, GB, CA, AU, DE) or ALL.

  • platformstring

    Filter ad network rail: all (Meta + Google), social (Meta Ad Library), or search (Google Ads Transparency).

  • limitinteger (1 to 50)

    Maximum ads to return (1–50, default 20).

  • cursorstring

    Pagination cursor from previous response next_cursor.

Example Request (cURL / Python / JavaScript)

curl "https://api.adslibraryapi.com/v1/ads/search?query=CRM+software" \
  -H "x-api-key: ad_live_your_api_key"

Live Response Preview

{
  "code": 0,
  "provider": "https://adslibraryapi.com",
  "status": "ok",
  "msg": "success",
  "data": {
    "query": "CRM software",
    "country": "US",
    "platform": "all",
    "count": 2,
    "total_available": 30,
    "next_cursor": "AQHR2a...",
    "has_more": true,
    "ads": [
      {
        "ad_id": "4372345546373308",
        "platform": "meta",
        "publisher_platforms": [
          "facebook",
          "instagram"
        ],
        "advertiser_id": "1877258095867146",
        "advertiser_name": "Aspire Software",
        "page_profile_url": "https://www.facebook.com/YourAspireSoftware/",
        "page_like_count": 4820,
        "verified": true,
        "is_active": true,
        "format": "video",
        "start_date": "2026-10-14T16:42:13.000Z",
        "days_running": 43,
        "winner_signal": "high_winner",
        "winner_badge": "Running 43d · High Winner Signal",
        "collation_count": 3,
        "hook_copy": "You don't scale to $10M+ by guessing. The fastest-growing service teams all reached a point where basic software became a liability.",
        "headline": "Why top landscape companies switch",
        "cta_text": "Learn More",
        "cta_type": "LEARN_MORE",
        "landing_page_url": "https://www.youraspire.com/go/landscape-software-solutions",
        "display_domain": "youraspire.com",
        "media": {
          "video_hd_url": "https://video-bos5-1.xx.fbcdn.net/o1/v/t2/f2/m366/sample.mp4",
          "video_sd_url": null,
          "image_url": null,
          "thumbnail_url": "https://scontent-bos5-1.xx.fbcdn.net/v/t39.35426-6/sample.jpg",
          "preview_url": null
        },
        "countries": [
          "US"
        ],
        "ad_library_url": "https://www.facebook.com/ads/library/?id=4372345546373308"
      }
    ]
  },
  "meta": {
    "endpoint": "/v1/ads/search",
    "credits_charged": 2,
    "cached": false,
    "took_ms": 684
  }
}

Response Fields

Normalized commercial ad creatives

Status Codes

200
Normalized commercial ad creatives