Skip to content
OSINTtools.io

Adspy API

Hosted MCP server for searching brands' public ads from the Meta, Google, TikTok and Pinterest ad libraries; REST API on Enterprise only.

Base URL
https://www.adspy.sh/api/v1
Sign-in
Bearer token
Free tier
Paid only
Pricing
On request
Format
REST
Endpoints
7

Compiled by OSINTtools.io editors from adspy.sh · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

The Adspy API reads Adspy's library of public Meta, Google and TikTok ads (TikTok: ads shown in Europe, the UK, Switzerland, Turkey and Brazil) and brands' organic TikTok and YouTube posts. It returns brands, creatives with transcripts and AI analysis, and advertisers found in the public ad libraries. An investigator uses it to see who advertises a brand's name or message, what the ad copy says, how long a creative has been on air and where it lands.

Base URL is https://www.adspy.sh/api/v1. Send an Adspy API key as Authorization: Bearer <key>; keys are created by an organization owner or admin in the Adspy console. Responses are JSON with snake_case fields; lists use an opaque next_cursor and a has_more flag. Errors use RFC 9457 problem details.

The API is part of the Adspy Enterprise plan and Instagram is not available. Rate limits are set in the Enterprise contract. This reference covers the read endpoints for brands, creatives, advertisers and usage; the docs also describe reports, social, collections, comparisons and exports.

Quick start

  1. Get a key

    Create an account with Adspy and copy your bearer token (paid only). Where to get it

  2. Make your first request

    Search brands in Adspy's library by name.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://www.adspy.sh/api/v1/brands' \
      -H 'Authorization: Bearer YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "data": [
        {
          "brand_key": "northstar-example",
          "name": "Northstar Example",
          "website": "https://example.com",
          "ad_platforms": [
            "meta",
            "google"
          ],
          "industry": "Retail"
        }
      ],
      "has_more": false,
      "next_cursor": null,
      "total": 1,
      "billing": {
        "credits_charged": 0
      }
    }

Authentication

Send your token in the Authorization header as Bearer YOUR_TOKEN.

Needs an Adspy Enterprise plan.

Get a key from Adspy

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Set in your Enterprise contract; the limit is announced on every answer. Not stated as a number in the docs.

Paid only. Pricing: on request.

Brands

  • Takes: Name
  • Passive: the target is not contacted
  • Plan: Enterprise

Each brand carries a brand_key that the other brand routes take. Without query, brands are listed by name. Needs the read permission.

Query parameters

querystringtakes your name

Part of the brand's name

Example: northstar
limitinteger

Items per page, 1 to 100

Example: 5Default: 20
cursorstring

The next_cursor of the previous page; valid for 24 hours

Example: CURSOR
Response fields · 8Show

brand_keystring

Key used by the brand routes

namestring

Brand name

websitestring

Website; null if unknown

ad_platforms[]string

Ad libraries the brand runs ads in: meta, google, tiktok

industrystring

Industry; null if unknown

has_moreboolean

Whether another page exists

next_cursorstring

Cursor for the next page; null on the last

credits_chargedinteger

Credits charged for the call

curl 'https://www.adspy.sh/api/v1/brands' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "data": [
    {
      "brand_key": "northstar-example",
      "name": "Northstar Example",
      "website": "https://example.com",
      "ad_platforms": [
        "meta",
        "google"
      ],
      "industry": "Retail"
    }
  ],
  "has_more": false,
  "next_cursor": null,
  "total": 1,
  "billing": {
    "credits_charged": 0
  }
}
  • Passive: the target is not contacted
  • Plan: Enterprise

Needs the read permission.

Path parameters

brand_keystringrequired

The brand's key, from GET /brands

Example: northstar-example
Response fields · 6Show

brand_keystring

The brand's key

namestring

Brand name

websitestring

Website; null if unknown

ad_platforms[]string

Ad libraries: meta, google, tiktok

industrystring

Industry; null if unknown

creative_countinteger

Number of creatives

curl 'https://www.adspy.sh/api/v1/brands/northstar-example' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "brand_key": "northstar-example",
  "name": "Northstar Example",
  "website": "https://example.com",
  "ad_platforms": [
    "meta",
    "google"
  ],
  "industry": "Retail",
  "creative_count": 120,
  "billing": {
    "credits_charged": 0
  }
}
  • Passive: the target is not contacted
  • Plan: Enterprise

Pages can be shorter than limit: follow has_more. Needs the read permission.

Path parameters

brand_keystringrequired

The brand's key, from GET /brands

Example: northstar-example

Query parameters

querystring

Words to find, in the scope chosen

Example: free shipping
scopestring

Where query is matched

Default: allOne of: all, ad_copy, content_transcript, visual_analysis, all_keywords, hooks
platformstring

The ad library

One of: all, meta, google, tiktok
formatstring

Creative format

One of: all, image, video, carousel
statusstring

Whether the library last saw the ad running

One of: all, active, inactive
sortstring

Newest or oldest first sighting, or longest running

Default: newestOne of: newest, oldest, longest
min_days_activeinteger

Only creatives on air for at least this many days in a row

Example: 30
limitinteger

Items per page, 1 to 100

Example: 10Default: 20
cursorstring

The next_cursor of the previous page

Example: CURSOR
Response fields · 11Show

idstring

Creative id

platformstring

meta, google or tiktok

formatstring

image, video or carousel

titlestring

Ad title; null if none

bodystring

Ad copy; null if none

first_seenstring

First sighting

last_seenstring

Latest sighting

statusstring

active, inactive or unknown

days_activeinteger

Days in a row on air

has_moreboolean

Whether another page exists

next_cursorstring

Cursor for the next page

curl 'https://www.adspy.sh/api/v1/brands/northstar-example/creatives' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "data": [
    {
      "id": "a1b2c3d4",
      "brand_key": "northstar-example",
      "brand_name": "Northstar Example",
      "platform": "meta",
      "format": "image",
      "title": "Free shipping",
      "body": "Example ad copy",
      "first_seen": "2026-05-19",
      "last_seen": "2026-06-30",
      "status": "inactive",
      "days_active": 42,
      "tags": []
    }
  ],
  "has_more": false,
  "next_cursor": null,
  "billing": {
    "credits_charged": 0
  }
}

Creatives

  • Passive: the target is not contacted
  • Plan: Enterprise

Live offset pages, not a fixed snapshot: a page can repeat or skip an item when the library changes. Needs the read permission.

Query parameters

querystring

Words to find, in the scope chosen

Example: free shipping
scopestring

Where query is matched

Default: allOne of: all, ad_copy, content_transcript, visual_analysis, all_keywords, hooks
platformstring

The ad library

One of: all, meta, google, tiktok
formatstring

Creative format

One of: all, image, video, carousel
statusstring

Whether the library last saw the ad running

One of: all, active, inactive
sortstring

Newest or oldest first sighting, or longest running

Default: newestOne of: newest, oldest, longest
brand_keystring

Only this brand's creatives

Example: northstar-example
limitinteger

Items per page, 1 to 100

Example: 10Default: 20
cursorstring

The next_cursor of the previous page

Example: CURSOR
Response fields · 8Show

idstring

Creative id

brand_keystring

Brand key; null if unknown

brand_namestring

Brand name

platformstring

meta, google or tiktok

bodystring

Ad copy

statusstring

active, inactive or unknown

has_moreboolean

Whether another page exists

next_cursorstring

Cursor for the next page

curl 'https://www.adspy.sh/api/v1/creatives' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "data": [
    {
      "id": "a1b2c3d4",
      "brand_key": "northstar-example",
      "brand_name": "Northstar Example",
      "platform": "google",
      "format": "video",
      "body": "Example ad copy",
      "status": "active"
    }
  ],
  "has_more": true,
  "next_cursor": "CURSOR",
  "billing": {
    "credits_charged": 0
  }
}
  • Passive: the target is not contacted
  • Plan: Enterprise

Media links are signed and valid 21 days; read the record again to refresh them. Needs the read permission.

Path parameters

idstringrequired

The creative id

Example: a1b2c3d4
Response fields · 12Show

idstring

Creative id

brand_namestring

Brand name

platformstring

meta, google or tiktok

formatstring

image, video or carousel

bodystring

Ad copy

first_seenstring

First sighting

last_seenstring

Latest sighting

days_activeinteger

Days in a row on air

ads_countinteger

Source ads that run this creative

transcriptstring

Transcript; null if none

ctastring

Call to action; null if none

landing_page_urlstring

Landing page; null if none

curl 'https://www.adspy.sh/api/v1/creatives/a1b2c3d4' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "id": "a1b2c3d4",
  "brand_key": "northstar-example",
  "brand_name": "Northstar Example",
  "platform": "meta",
  "format": "video",
  "body": "Example ad copy",
  "first_seen": "2026-05-19",
  "last_seen": "2026-06-30",
  "days_active": 42,
  "ads_count": 3,
  "transcript": "Example transcript",
  "cta": "Shop now",
  "landing_page_url": "https://example.com/offer",
  "billing": {
    "credits_charged": 0
  }
}

Advertisers

  • Takes: Name
  • Passive: the target is not contacted
  • Plan: Enterprise

Give the chosen advertiser's url to POST /fetches to collect it. status is done, searching or unavailable; when searching, retry after retry_after_seconds.

Query parameters

querystringrequiredtakes your name

The advertiser's name

Example: Northstar Example
sourcestringrequired

The public ad library to search

Example: metaOne of: meta, google, tiktok
Response fields · 8Show

sourcestring

Ad library

business_idstring

Advertiser id in that library

namestring

Advertiser name; null if unknown

ad_countinteger

Number of ads

countrystring

Country; null if unknown

urlstring

Give it to POST /fetches

statusstring

done, searching or unavailable

retry_after_secondsinteger

When to retry; null otherwise

curl 'https://www.adspy.sh/api/v1/advertisers?query=Northstar%20Example&source=meta' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "data": [
    {
      "source": "meta",
      "business_id": "1234567890",
      "name": "Northstar Example",
      "ad_count": 14,
      "country": "GB",
      "url": "https://example.com/ad-library/1234567890"
    }
  ],
  "status": "done",
  "reason": null,
  "retry_after_seconds": null,
  "billing": {
    "credits_charged": 0
  }
}

Account

  • Passive: the target is not contacted
  • Plan: Enterprise

Enterprise has no credit count: its credit fields are null or 0. Needs the read permission.

Response fields · 5Show

planstring

Plan; null if none

unlimitedboolean

Whether usage is unlimited

requests_per_minuteinteger

Requests per minute allowed

fetches_per_monthinteger

New collections allowed per month

fetches_this_monthinteger

New collections this month

curl 'https://www.adspy.sh/api/v1/usage' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "plan": "enterprise",
  "unlimited": true,
  "credits": {
    "available": null,
    "used_this_month": null,
    "renews_at": null
  },
  "limits": {
    "requests_per_minute": 60,
    "fetches_per_month": 100,
    "fetches_this_month": 3
  },
  "billing": {
    "credits_charged": 0
  }
}