Introducing the Instagram APIRead more →

Pinterest Search API. Pins matching your search.

Pins matching a keyword, with pictures and pinners. We handle the proxies, blocks and platform changes.

Pinterest Search API at a glance

Returns the pins Pinterest's search shows for a keyword, a page at a time, in Pinterest's order. Each pin has its pictures or video, title and description, the link it saves, its board, the pinner with their follower count, reactions, when it was saved and the interests Pinterest files it under.

GET /v1/pinterest/search_pins

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 22 typed fields null when unknown
  • 25 pins per page, Pinterest's own relevance order for the query
  • query is all it needs, e.g. nail art

Send one request. Get up to 25 pins back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
query = nail art
GET /v1/pinterest/search_pinsTry in
const params = new URLSearchParams({
  query: "nail art",
});
const res = await fetch(`https://socialtap.dev/v1/pinterest/search_pins?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, page, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/pinterest/search_pinsLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 21 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field Pinterest doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    What to search for, in any language, as you would type it in Pinterest's search box: words, a phrase, emoji.

  • Write one parser

    Pinterest, TikTok, Instagram and 18 more platforms answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, youtube, …).
idstring
Platform-native post ID (string; Instagram shortcode, Reddit with its t3_ prefix).
urlstring
Canonical post URL.
typestring
Normalized content shape. New values may be added; treat unknown values as other.
platform_typestring
The platform's own product label, lowercase (reel, short, story, live, tweet, …).
titlestring
Headline (YouTube title, Reddit title); null on caption-only platforms.
textstring
Caption, description or body as plain text.
languagestring
BCP-47 language of text, when the platform states it.

What teams build with the Pinterest Search API.

  • Find pins and trends for a product idea

  • Collect pictures for a mood board or dataset

  • See which sites and shops rank for a keyword

  • Track who pins about your brand

Good to know before you build.

  • Pinterest names the pins of a logged-out search by an encrypted ID (e1_…) that its pin page doesn't open without an account, so the Pinterest Pin API can't take it. Everything else about the pin is in the result: its pictures, link, pinner, board and reactions. The same pin can carry its number instead on endpoints Pinterest serves numbers on, such as an account's pins, so the two IDs don't match across endpoints.
  • Pinterest's search shows no comment count, saves or repins: metrics.comment_count, metrics.save_count and platform_specific.pinterest.repin_count are null. The Pinterest Pin API has them for a pin you have by number.
  • An idea pin's text is often only on its own page: such a pin has a null text here.
  • Pinterest corrects a misspelled search and answers for the correction, as its search box does.
  • Some searches answer an empty page with an items_omitted warning quoting the notice Pinterest shows instead of pins: a help notice for searches about self-harm, its community guidelines for adult topics.

1 credit per page. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful pagePer 1,000 pages
Platform API api1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the Pinterest Search API.

More in the API reference.

Can I search Pinterest without an account?
Yes. We read Pinterest's own search as a logged-out visitor sees it, so you need no Pinterest account or token.
Why can't I open a result's pin by its ID?
Pinterest gives logged-out searches an encrypted pin ID that its pin page refuses without an account. The result already has the pin's pictures, link, pinner and board.
How much does the Pinterest Search API cost?
A page of up to 25 pins costs 1 credit. Every successful page is charged, empty pages included. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.
How do I get the next page?
Repeat the same request with cursor set to page.next_cursor from the previous response, keeping the other parameters. When page.has_more is false there are no more pages. Cursors expire after 24 hours.

Try it with your own search.

Type it in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs