Pinterest Ads Library API

Pinterest Ads Library Scraper API for Ads, Targeting and Reach

Search Pinterest’s ad repository by country, advertiser, dates, category, gender and age, then read each ad’s creative, targeting and reach by country. Build a reference of the campaigns running on Pinterest in Europe, Brazil, Norway and Turkey.

Gibran Pulga, CEO of Desys FinanceGibran PulgaCEO, Desys Finance

We use ScrapeAtlas to gather social sentiment data for our banking partners at a scale we wouldn't have been able to otherwise.

WHAT YOU CAN BUILD / 03 ENDPOINTS

Put Pinterest Ads Library data to work.

Find your use case, then explore the request and response.

Search ads

GET/v1/pinterest/ad-library/search

Build a Pinterest creative research library by searching ads by country and advertiser, filtered by delivery dates, category, gender and age.

Get ad

GET/v1/pinterest/ad-library/ad

Build an ad research card with the creative, advertiser names, delivery dates, targeting and reach bands by country.

Search advertisers

GET/v1/pinterest/ad-library/advertisers/search

Build an advertiser picker that turns a brand name into the exact advertiser names used to filter ad searches.

HOW IT WORKS

From API key to Pinterest Ads Library data in four steps.

Run a sample below without a key.

  1. 01

    Get your API key

    Create a free account and copy your key. You start with 100 free credits; no card needed.

  2. 02

    Choose an endpoint

    Pick one of the 3 Pinterest Ads Library endpoints and add its input, such as a search query.

  3. 03

    Send one request

    Call it with your key in the x-api-key header. ScrapeAtlas reads the public Pinterest Ads Library data and retries when a read fails.

  4. 04

    Use the JSON

    Get structured JSON with a coverage status. Only successful requests use a credit.

LIVE RESULTS

Try a sample request.

Try the Pinterest Ads Library API right here. This sample uses the Search advertisers endpoint and returns live JSON. No API key needed.

  1. 01
    Choose a sample value

    Start with nike, or change the query field to your own value.

  2. 02
    Select Run sample

    Execute the sample code and see the response in the JSON response tab.

  3. 03
    Build on the result

    Open the full playground to try more parameters and copy code for your app.

Open this endpoint in the playground Request and response fields
LIVE SAMPLE / Search advertisersNo API key needed

Preparing the sample…

// Run this sample here — no API key needed.
const value = "nike";
const url = new URL("/website/demo/pinterest-ads",
  "https://api.scrapeatlas.com");
url.searchParams.set("value", value);

const response = await fetch(url);
const data = await response.json();
console.log(data);
GET/v1/pinterest/ad-library/advertisers/search

A live example from our playground. Change the value above, then select Run sample.

CUSTOMER STORIES

What they are saying
about us.

  • Matteo L.Small-Business (50 or fewer emp.)

    “Easy, Affordable Scraping for Product Ideas—More Platforms Needed”

    I use ScrapeAtlas to find product ideas—real ideas that people need. I couldn’t get to people’s ideas on social media platforms without it. I like that it’s easy and capable, and it isn’t expensive. I value the scraping and MCP features. …

    Read on G2
  • Ms H.Sales, Mid-Market (51-1000 emp.)

    “ScrapeAtlas Replaces Multiple Scrapers with One Simple Solution”

    ScrapeAtlas saves me from juggling a different scraper for every platform. … ScrapeAtlas solves the problem of getting reliable public data from many social and e-commerce platforms without building and maintaining my own scrapers.

    Read on G2
  • We use ScrapeAtlas to gather social sentiment data for our banking partners at a scale we wouldn't have been able to otherwise.

    Gibran PulgaCEO, Desys Finance
  • Stas D.Founder, Marketing and Advertising

    “Reliable parsers and flexible API for audience search”

    I like the convenient documentation and conditions at ScrapeAtlas. The parsers work great: I use keyword data from fresh threads to find target audiences and clients in Threads. I also appreciate the higher quality API responses and more detailed request customization. The initial setup was very easy for me.

    Read on G2

Nigel Yong — Founder, PostOnce

Black Friday50% off every credit pack. Applied automatically at checkout. Ends Monday, November 30 at 11:59 PM PT.

--d --h --m --s

Pay as you go

Start free.
Build at your pace.

One-time credit packs, priced in US dollars. Credits never expire, and there is no monthly commitment.

Free

Try the API with your next idea.

$0No credit card needed

100 free credits

One starter grant per account

Starter

-50%

For a new idea or a one-off project.

$9.50Regular price $19$19USD / one-time

10,000 credits

$0.95 per 1,000 credits$1.90 per 1,000 credits

Growth

-50%Popular

For regular workflows and bigger builds.

$44.50Regular price $89$89USD / one-time

50,000 credits

$0.89 per 1,000 credits$1.78 per 1,000 credits

Save 6.3% compared with Starter

Scale

-50%

For high-volume data collection.

$124.50Regular price $249$249USD / one-time

200,000 credits

$0.625 per 1,000 credits$1.25 per 1,000 credits

Save 34.5% compared with Starter

Enterprise Plan

Want to scrape larger volumes?

Let’s talk about a plan that fits your scale.

Pinterest Ads Library API

Frequently Asked Questions

Explore the API reference

Pinterest Ads Library API and scraping

What can I retrieve from the Pinterest Ads Library API?

Search the Pinterest Ads Library by country, advertiser, delivery dates, ad category, gender and age, read one ad with its advertiser names, targeting and reach by country, and look up the advertiser names the repository lists. Each search page returns up to 25 ads.

How can I use the Pinterest Ads Library for competitor research?

Find a competitor’s exact advertiser name with Search advertisers, then pass it as advertiser_name to Search ads for each country you track. Each ad carries its creative, delivery dates, interests and reach band, and Get ad adds the advertiser names behind it.

How do I page through Pinterest Ads Library results?

Send country plus any filters to Search ads. Without dates it reads the last 30 days; a window can span up to 30 days and start up to a year back. When has_more is true, repeat the same inputs with the returned cursor for the next 25 ads.

Pinterest Ads Library: ad searches, targeting and reach

Can I browse Pinterest Ads Library examples by category?

Yes. Search ads accepts a category such as BEAUTY, HOME_DECOR, FOOD_AND_DRINKS or WOMENS_FASHION, plus gender and age filters, and returns each ad’s title, description, image or video and repository link for one country at a time.

Which targeting and reach details does the Pinterest Ads Library publish?

Each ad lists the targeted ages, genders, interests, countries, regions, metros and postal codes, whether keywords or customer lists were used, whether it is commercial content, and the users reached as bands for each country and the whole EU. Removed ads add the review status and statement of reasons.

Which countries does the Pinterest Ads Library cover?

The library publishes ads delivered in the 27 EU member states, Brazil, Norway and Turkey; pass one country code per search. Ads shown in Brazil also carry destination URLs, archive records and verified-merchant flags.

API access and integration

How do I get a ScrapeAtlas API key and authenticate requests?

Create a ScrapeAtlas account and generate an API key in the dashboard. Send the key in the x-api-key request header when calling https://api.scrapeatlas.com. The API playground lets you enter an endpoint’s parameters and inspect its JSON response.

Can I call the scraping API from Python, JavaScript or the CLI?

Yes. Send authenticated HTTP requests from Python, JavaScript or another language that supports HTTP. The endpoint reference includes request examples and response fields. Use the ScrapeAtlas CLI for terminal workflows and pass the returned pagination values when requesting additional result pages.

Can I use ScrapeAtlas in ChatGPT, Claude or another AI assistant?

Yes. Connect ChatGPT, Claude or another MCP-compatible assistant to the ScrapeAtlas MCP server and sign in to your ScrapeAtlas account. The assistant can then call the public platform tools with your account credits. The agent reference also gives coding assistants a readable guide to the endpoints and their request schemas.

Make something with it

Ready to build?

Bring social data into your next project.
Start with 100 free credits and see what you can build.

No credit card needed.Building with an AI agent?