Skip to content
Skip to Content

List ads

Ads, newest first or by sort, narrowed by the filters below. Without brand or followed, a page keeps a few ads per brand; filter by brand for all of one brand's. A brand filter also returns brand_patterns (how the brand makes each kind of ad) and, with brand patterns on the plan, brand_mix (its offers, landing pages and angles). followed=true lists the followed brands' ads, per_brand their top N each in one page. Pages hold up to 50 ads (20 by default); follow next_cursor. Each 10 ads cost one call. corrected_filters says when a brand, niche or format was read as another slug. Same body as the MCP tool list_ads, with the API's fuller cards.

get/api/v1/ads

Authentication

API key, OAuth token or signed-in session, sent as Authorization: Bearer <key or token> (a session rides on its cookie). An OAuth token needs mcp:read. See authentication.

Query parameters

  • brandstring

    Brand slug or plain name, such as nike. A brand the library lacks is a 404. 1 to 120 characters.

  • nichestring

    Niche slug or plain name: "Skin Care" reads as skin-care. A word for several niches, such as ecommerce, lists the ads of all of them. 1 to 120 characters.

  • formatstring

    Format slug or plain name, such as ugc. Read as /formats/{slug} is: visual format first, then hook tactic, then the older format slug. 1 to 120 characters.

  • visual_formatstring

    Visual format slug or plain name, such as testimonial. See List visual formats. 1 to 120 characters.

  • hookstring

    Hook tactic slug or plain name, such as social-proof. See List hooks. 1 to 120 characters.

  • talentarray of enum

    Who is on screen: a creator, the founder, a customer, a model, or none. Comma-separate up to 20 values; any of them matches. Ads not tagged yet never match.

  • awarenessarray of enum

    The buyer awareness stage the ad speaks to. Comma-separate up to 20 values; any of them matches. Ads not tagged yet never match.

  • asset_typearray of enum

    How the creative is made (UGC, product image + text, illustration, …). Comma-separate up to 20 values; any of them matches. Ads not tagged yet never match.

  • offer_typearray of enum

    promo: a deal with a deadline. always-on-offer: a standing offer on the creative. no-offer. Comma-separate up to 20 values; any of them matches. Ads not tagged yet never match.

  • seasonarray of enum

    The season or event the ad is built around. Comma-separate up to 20 values; any of them matches. Ads not tagged yet never match.

  • mechanicarray of enum

    The persuasion mechanics the ad uses: any of them matches. Comma-separate up to 20 values; any of them matches. Ads not tagged yet never match.

  • languagearray of enum

    The language of the ad's copy (ISO 639-1). Still being read across the library, so a language list may be thin. Comma-separate up to 20 values; any of them matches. Ads not tagged yet never match.

  • platformenum

    Placed on facebook or instagram (ads tracked on Meta only). One of facebook, instagram.

  • min_daysinteger

    Ran on Meta at least this many days (ads tracked on Meta only).

  • max_daysinteger

    Ran on Meta at most this many days (ads tracked on Meta only).

  • exclude_brandarray of string

    Leave these brands out (brand slugs). Slugs or plain names. Comma-separate up to 20.

  • active_monthstring

    Running on Meta at any point of this month, YYYY-MM (ads tracked on Meta only).

  • top_of_brandenum

    Only ads within their own brand's 3, 10 or 30 most shown, per Meta's impressions ordering (a place within each brand, never a count of people or impressions). Across brands this band is the fair comparison; ads with no current rank never match. One of 3, 10, 30.

  • landing_pagestring (uri)

    Only ads that send people to this landing page (a URL; its query string, fragment, scheme, www. and trailing slash are ignored, so UTM variants are one page). Needs brand: a landing page is one brand's.

  • video_lengthenum

    Only videos of this length, in seconds: 0-15, 15-30, 30-60 or 60+ (the stored video file's length, else the one read from the video). One of 0-15, 15-30, 30-60, 60+.

  • statusenum

    running: still running on Meta as of the last pull that saw it (run.last_seen). ended: stopped. Only ads tracked on Meta match. One of running, ended.

  • typeenum

    The ad's type: static (one image), video or carousel. Every ad has one. One of static, video, carousel.

  • querystring

    Words the ads must hold in their copy, hook or visual description, as the list's search box in the app. A half word no ad holds is read as a word start (query_read_as). 2 to 120 characters.

  • followedboolean

    true: only ads of the brands the workspace follows, as the app's Track Ads (then brand must be one of them). The first page adds total, top_formats and top_hooks.

  • workspacestring

    With followed: the workspace whose follows to read, by id or exact name (List workspaces). Defaults to the current one. 1 to 120 characters.

  • per_brandinteger

    With followed=true: up to this many ads of each followed brand (1 to 10) in one page, each brand's own list in sort (most_shown by default). Brands A to Z, 50 ads a page whatever limit says, counted as a page of 50; next_cursor continues with the next brands. One card per creative unless distinct=false. Not with brand.

  • distinctboolean

    true: one card per creative. An ad showing the same image or video as one above it is left out, and the card it repeats carries copies. Default true with per_brand, else false. A list across brands without brand or followed is not folded.

  • fieldsarray of enum

    Adds to each card, as Get ad names them: angle (the message in a few words) and lands_on (the landing page without its query). offer_type, awareness and cta are on every card already. Comma-separated.

  • sortenum

    Default: most_shown with one brand, newest otherwise. newest: by launch date. most_saved: the ads readers saved most first, then newest. most_variants: the most versions of the creative Meta shows first (each card's versions_on_meta), then ads with no count by longest run. longest_running: the longest Meta run first, only ads tracked on Meta. most_shown: with brand, the most shown among that brand's ads first, per Meta's ordering (its latest read, at most 35 days old, ads still running), then its unranked ads by longest run, with ranked_ads and a note saying where the ranked ones end; without brand, ads in their brand's top 3, then top 10, then top 30 most shown, each band by longest run, then the rest by run. A place within one brand, never compared across brands except by band, and never an impression number. One of newest, most_saved, longest_running, most_shown, most_variants.

  • limitinteger

    How many ads a page: 1 to 50. Default 20. Default 20.

  • cursorstring

    The next_cursor of the previous page, with the same filters and sort. Pro and Agency only.

Response fields

  • adsarray of AdCard

    Each with id, name, description, brand, niche, formats, visual_formats, hook_tactic, hook_line, asset_type, offer_type, season, talent, awareness, run, top_of_brand, place_in_brand, platforms, copy, cta, advertiser, image, video, created_at, url, share_url, angle, lands_on, versions_on_meta, copies.

  • countinteger

  • filtersobject

    Every filter as it was asked, as strings (lists comma-separated); not limit, cursor, workspace or fields.

  • urlstring or null (uri)

    The list in the app (Discover, or Track Ads with followed). Null for a word read as several niches.

  • brand_mixobject

    With a brand filter on a plan with brand patterns, its first page: the brand's offers (offer_type shares), lands_on (its top landing pages, with share and homepage) and angles. Shares of its ads in the library.

  • totalinteger or null

    With followed, the first page (and without a plan): how many ads the list holds in all.

  • top_formatsarray of object

    With followed, the first page: the 5 visual formats most used across the list.

  • top_hooksarray of object

    With followed, the first page: the 5 hook tactics most used across the list.

  • workspaceobject

    With followed: the workspace whose follows the list read.

  • brandsarray of object

    With per_brand: each brand on the page, how many ads it returned and, on most_shown, its ranked_ads.

  • followed_brandsinteger

    With per_brand: how many brands the workspace follows.

  • query_read_asstring

    With query: the half word no ad holds, read as a word start (pregnan…). Say so.

  • brand_patternsarray of BrandPatterns

    With a brand filter: how the brand makes each kind of ad it has.

  • corrected_filtersarray of object

    Present when a slug was read as another: a plain name, an alias, a word for several niches or an old format slug. Say which filter the list used.

  • unused_filtersarray of object

    Filters left out because another filter in the call already covers the same axis.

  • hintstring

    Which slug was read as another, in words. Relay it with the list.

  • ranked_adsinteger

    With sort=most_shown: how many of the list's ads have a current rank in Meta's ordering. Past them the list runs by longest run, and note says so; 0 means the brand has no current rank and the list runs by longest run. Present only for one brand.

  • more_availableboolean

    More ads match than this page returns.

  • next_cursorstring or null

    On Pro and Agency: pass as cursor for the next page; null at the end.

  • notestring

    With sort=longest_running and no listed ad tracked on Meta: the list is the newest ads instead. With sort=most_shown and a page holding ads with no current rank: where the ranked ads end. Relay it: an unranked ad is not most shown.

  • full_accessstring

    How to read the rest.

Responses

  • 200

    The ads. Body: AdList.

  • 400

    A parameter is missing or out of range. Body: Problem.

  • 401

    No credentials, or the token is invalid or expired. The oauth2 security scheme says how to get one. Body: Problem.

  • 403

    The token lacks the mcp:read scope. workspace_locked: the workspace is past the plan's workspace count. Use an open one, or ask an admin to change the plan. Body: Problem.

  • 404

    A brand, niche or tag the library lacks. workspace_not_found: the organization has no workspace with that id or name. List workspaces lists them. Body: Problem.

  • 429

    rate_limited: more than 60 requests a minute from this account. quota_exceeded: the plan's MCP/API allowance is used up (10,000 a month on Pro, 50,000 a month on Agency, 200 a day on the 7-day free trial, UTC), or an account with no plan has used its 20 preview calls. detail says which limit and when it resets. resolution says what to do next and links to the plans page. Show both to the person. Body: Problem.

  • 503

    The library could not be read; retry shortly. Body: Problem.