Skip to content
For AI agents: a documentation index is available at /llms.txt. Every docs page is also available as markdown: add .md to its URL. To connect, read /agents.md.

API referenceAds

Search ad libraries

Request samples

Use ShortsIntel to search ad libraries.

- library: meta
- query: cold plunge
- country: US
- status: active
- kind: commercial
- media_type: video
- placements: facebook
- started_after: 2026-01-01
- started_before: 2026-02-01
- limit: 20
- order_by: relevance
- match: any_words
- language: language
- analyze: yes

Run it, then summarise what you find.

If you don't have ShortsIntel tools, don't guess: read https://www.shortsintel.com/agents.md.

200 · The Run finished inside the wait budget: `{ run, result }`. With `estimate=true`, `{ estimate_credits, cached }` instead.

{
  "run": {
    "id": "run_8f2c1ad04b",
    "kind": "ads_search",
    "status": "completed",
    "created_at": "2026-09-08T09:14:02.418Z",
    "completed_at": "2026-09-08T09:14:04.930Z",
    "charge_credits": 2,
    "list_price_credits": 2,
    "cached": false
  },
  "result": {
    "library": "meta",
    "items": [
      {
        "library": "meta",
        "id": "1122334455667788",
        "url": "https://www.facebook.com/ads/library/?id=1122334455667788",
        "advertiser": {
          "id": "100064000000001",
          "name": "Plunge"
        },
        "is_active": true,
        "first_shown": "2026-08-01T00:00:00.000Z",
        "last_shown": null,
        "placements": [
          "FACEBOOK",
          "INSTAGRAM"
        ],
        "creative": {
          "title": "Cold water, on your schedule",
          "body": "The tub our testers refused to give back.",
          "cta": "Shop Now",
          "link_url": "https://plunge.example/tub",
          "format": "VIDEO",
          "image_urls": [],
          "video_urls": [
            "https://video.xx.fbcdn.net/ads/plunge-tub-hd.mp4"
          ],
          "thumbnail_urls": [],
          "versions": [
            {
              "headline": "Cold water, on your schedule",
              "body": "The tub our testers refused to give back.",
              "description": null,
              "cta": "Shop Now",
              "cta_type": null,
              "link_url": "https://plunge.example/tub",
              "display_url": null,
              "media": [
                {
                  "kind": "video",
                  "url": "https://video.xx.fbcdn.net/ads/plunge-tub-hd.mp4",
                  "thumbnail_url": null,
                  "archived": false,
                  "youtube_id": null
                }
              ]
            }
          ],
          "media_type": "video"
        },
        "reach": {
          "impressions": null,
          "spend": null,
          "currency": null,
          "audience": null
        },
        "kind": "commercial",
        "media_type": "video",
        "countries": null,
        "variant_count": 4,
        "variant_group_id": "596215693307098",
        "days_running": 72,
        "winner_score": {
          "score": 88,
          "confidence": "high",
          "inputs": {
            "days_running": 72,
            "variants_added": 2,
            "snapshots": 6,
            "advertiser_ads": 14
          },
          "reason": null
        },
        "delivery": {
          "first_shown": "2026-08-01T00:00:00.000Z",
          "last_shown": null,
          "is_active": true,
          "days_running": 72,
          "countries": null,
          "placements": [
            "FACEBOOK",
            "INSTAGRAM"
          ]
        },
        "disclosure": {
          "impressions": null,
          "spend": null,
          "currency": null,
          "audience": null
        },
        "audience": null,
        "extras": {
          "meta": {
            "partner": null,
            "advertiser_likes": null,
            "advertiser_categories": null,
            "variant_count": 4,
            "variant_group_id": "596215693307098",
            "ai_generated": null,
            "gated": null,
            "winner_score": {
              "score": 88,
              "confidence": "high",
              "inputs": {
                "days_running": 72,
                "variants_added": 2,
                "snapshots": 6,
                "advertiser_ads": 14
              },
              "reason": null
            },
            "payer": null,
            "beneficiary": null
          }
        }
      },
      {
        "library": "meta",
        "id": "2233445566778899",
        "url": "https://www.facebook.com/ads/library/?id=2233445566778899",
        "advertiser": {
          "id": "100064000000001",
          "name": "Plunge"
        },
        "is_active": false,
        "first_shown": "2026-06-02T00:00:00.000Z",
        "last_shown": "2026-07-14T00:00:00.000Z",
        "placements": [
          "INSTAGRAM"
        ],
        "creative": {
          "title": "Three minutes. Every morning.",
          "body": "Our coldest tub yet, now in matte black.",
          "cta": "Learn More",
          "link_url": "https://plunge.example/black",
          "format": "IMAGE",
          "image_urls": [
            "https://scontent.xx.fbcdn.net/ads/plunge-black.jpg"
          ],
          "video_urls": [],
          "thumbnail_urls": [],
          "versions": [
            {
              "headline": "Three minutes. Every morning.",
              "body": "Our coldest tub yet, now in matte black.",
              "description": null,
              "cta": "Learn More",
              "cta_type": null,
              "link_url": "https://plunge.example/black",
              "display_url": null,
              "media": [
                {
                  "kind": "image",
                  "url": "https://scontent.xx.fbcdn.net/ads/plunge-black.jpg",
                  "thumbnail_url": null,
                  "archived": false,
                  "youtube_id": null
                }
              ]
            }
          ],
          "media_type": "image"
        },
        "reach": {
          "impressions": null,
          "spend": null,
          "currency": null,
          "audience": null
        },
        "kind": "commercial",
        "media_type": "image",
        "countries": null,
        "variant_count": null,
        "days_running": 42,
        "winner_score": {
          "score": 54,
          "confidence": "low",
          "inputs": {
            "days_running": 42,
            "variants_added": 0,
            "snapshots": 1,
            "advertiser_ads": 14
          },
          "reason": "single_snapshot"
        },
        "delivery": {
          "first_shown": "2026-06-02T00:00:00.000Z",
          "last_shown": "2026-07-14T00:00:00.000Z",
          "is_active": false,
          "days_running": 42,
          "countries": null,
          "placements": [
            "INSTAGRAM"
          ]
        },
        "disclosure": {
          "impressions": null,
          "spend": null,
          "currency": null,
          "audience": null
        },
        "audience": null,
        "extras": {
          "meta": {
            "partner": null,
            "advertiser_likes": null,
            "advertiser_categories": null,
            "variant_count": null,
            "variant_group_id": null,
            "ai_generated": null,
            "gated": null,
            "winner_score": {
              "score": 54,
              "confidence": "low",
              "inputs": {
                "days_running": 42,
                "variants_added": 0,
                "snapshots": 1,
                "advertiser_ads": 14
              },
              "reason": "single_snapshot"
            },
            "payer": null,
            "beneficiary": null
          }
        }
      }
    ],
    "next_cursor": "eyJjIjoiQVpVWiIsIm8iOjB9",
    "total": null
  }
}

200 · With `estimate=true`: the price, no Run, no charge.

{
  "estimate_credits": 2,
  "cached": false,
  "per_ad_credits": 1,
  "max_ads": 2,
  "priced_per": "ad_delivered"
}