Adflex Enterprise API V2

Build with the Adflex
Advertising Intelligence API

Search structured competitor ad data across nine networks with one ad library API. Build research tools, AI-assisted workflows, custom dashboards, and client products with 184M+ unique ads indexed.

184M+unique ads indexed
1M+new unique ads added daily after duplicate removal
9ad networks available through one API
One data source

One ad data API. Nine advertising networks.

Use a single advertising intelligence API to research competitor ads across Meta, Facebook, YouTube, TikTok, Pinterest, Reddit, X, Display, and Native inventory.

Meta · Facebook · YouTube · TikTok · Pinterest · Reddit · X · Display · Native

Find competitor ads

Search by the platform-specific filters available for the network you are researching.

Analyze creative patterns

Bring structured ad results into internal research, trend analysis, and AI-assisted workflows.

Build your own experience

Use ad data in custom dashboards, client portals, monitoring tools, and market intelligence products.

Simple integration

A cleaner API V2 workflow

Authentication, search, sorting, pagination, and response handling follow clear rules that are easier to maintain.

1

Authenticate safely

Send your key in the x-api-key request header, not in URLs or client-side code.

2

Load current filters

Retrieve the available filter metadata for the platform before building a search request.

3

Validate every response

Accept a result only when status=ok and meta.code=1000.

Meta search · API V2
curl -X POST 'https://api.adflex.io/api/v2/ads/meta/search'
  -H 'x-api-key: YOUR_API_KEY'
  -H 'Content-Type: application/json'
  -d '{
    "page": 1,
    "search_field": [
      {"type": "text", "text": "running shoes"}
    ],
    "advanced_order": {
      "orderby": "seen_counts",
      "order": "desc"
    }
  }'

{
  "status": "ok",
  "meta": {"code": 1000},
  "data": {"ads": [...], "last_hit": 1730000000}
}
Predictable data handling

Search, sort, and paginate with clear rules

API V2 uses dynamic filter metadata and a normalized response envelope while preserving platform-specific ad detail.

Dynamic filters

Fetch current filter metadata instead of hard-coding options that may change.

Advanced sorting

Use advanced_order to set the sort field and direction explicitly.

Snapshot pagination

Save the exact page-one last_hit and reuse it while filters and sorting stay unchanged.

Normalized responses

Read the shared status, meta, and data structure, then handle available platform sections defensively.

GET/api/v2/ads/{platform}/filtersRetrieve the platform’s current searchable filter metadata.
POST/api/v2/ads/{platform}/searchSearch ads using platform filters, sorting, and snapshot pagination.
GET/api/v2/ads/{platform}/{ad}Retrieve normalized detail data for one platform ad.
Built for your workflow

Use competitor ad data inside the tools you already run

Adflex API V2 is designed for teams that need advertising data beyond a browser-based ad library.

Competitor ad monitoring

Track creative themes, offers, publishers, and ad activity across the networks relevant to your market.

AI-assisted ad research

Feed structured examples and metadata into internal classification, summarization, and research workflows.

Custom advertising dashboards

Combine Adflex ad data with your own customer, campaign, product, or market information.

Agency and client products

Create repeatable discovery, reporting, and market intelligence tools for multiple brands or clients.

Enterprise API FAQ

Common questions about the Adflex ad library API

What is the Adflex advertising intelligence API?

It gives approved Enterprise integrations programmatic access to structured advertising search and detail data, so teams can build competitor research, monitoring, analysis, and dashboard workflows.

Which advertising networks are available?

Adflex covers nine network categories: Meta, Facebook, YouTube, TikTok, Pinterest, Reddit, X, Display, and Native.

How does API V2 authentication work?

API V2 uses the x-api-key request header. Keys should not be placed in URLs, query strings, logs, or client-side code.

Can I use Adflex data in AI tools and custom dashboards?

You can build AI-assisted research workflows, internal dashboards, client tools, and competitor monitoring products using the structured search and ad-detail responses available to your integration.

Enterprise API access

Bring Adflex advertising data into your product

Tell us which networks you need, how you plan to use the data, and the expected request volume. We will help you choose the right API access path.