Introducing the Instagram APIRead more →

Pinterest Topic API. Send a topic or its link.

Ideas page with related topics and search count. We handle the proxies, blocks and platform changes.

Pinterest Topic API at a glance

Returns a Pinterest ideas page (a topic) from its link or its words. You get its name, Pinterest's summary on category pages, and the related searches it suggests. You also get how many searches Pinterest counts for it, its followers, the broader topics above it, the narrower ones it offers, trending searches and the boards it shows. Words with no ideas page return not_found.

GET /v1/pinterest/topic

Read the API reference
  • 1 credit per request, $0.75–$1.97 per 1,000 requests
  • 8 typed fields null when unknown
  • url is all it needs, e.g. https://www.pinterest.com/ideas/star-nail-designs/961385779129/
  • 100 credits free when you sign up, no card, so you can build before you spend

Send one request. Get 8 fields 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
url = https://www.pinterest.com/ideas/star-nail-designs/961385779129/
GET /v1/pinterest/topicTry in
const params = new URLSearchParams({
  url: "https://www.pinterest.com/ideas/star-nail-designs/961385779129/",
});
const res = await fetch(`https://socialtap.dev/v1/pinterest/topic?${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, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/pinterest/topicLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 2 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

    The topic: its ideas page link (pinterest.com/ideas/star-nail-designs/961385779129/, also on a country's site such as uk.pinterest.com or pinterest.co.uk) or its words (star nail designs).

  • Write one parser

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

platformstring
Platform ID (instagram, tiktok, …).
idstring
Platform-native topic ID; on platforms whose topic pages are keyed by their words (Instagram), the words lowercased and joined by hyphens (harry-potter).
namestring
The topic's title as its page shows it (Harry Potter); null when the source does not show it.
urlstring
Canonical topic page URL.
descriptionstring
The platform's summary of the topic, as plain text with paragraph breaks (on Instagram, superscript markers ¹, ² cite platform_specific.instagram.source_urls by position). Null when the page has none.
related_searchesstring[]
Related searches the platform suggests for the topic, in its order; each is a topic of its own (pass it as url). [] when none.
approximate_fieldsstring[]
JSON paths of values rounded by the platform or parsed from display text ("189M reels": platform_specific.instagram.post_count). [] when all exact.
unknown_fieldsstring[]
JSON paths of lists whose [] means unknown rather than none (a source that cannot see them); null already means unknown for every other field. [] when every list is known.

What teams build with the Pinterest Topic API.

  • Expand a keyword into related Pinterest searches

  • Size a niche by its search count

  • Map a topic's place in Pinterest's categories

  • Find boards curating a topic

Good to know before you build.

  • A topic's pins are Pinterest's search results for its words: send the topic's name to the Pinterest Search API.
  • Case and hyphens are ignored, so Star Nail Designs and star-nail-designs are one topic.
  • Pinterest knows many search phrases without an ideas page. Those return not_found, as the page itself does.
  • platform_specific.pinterest.search_count is the number Pinterest's page data states. Pinterest doesn't say over which period it counts.
  • follower_count is set for interests, the topics accounts can follow (is_interest true), and null for pages made for a search phrase.
  • description is set on category pages (is_category true). Pinterest writes no summary for most other topics, so it is null there.

1 credit per request. Failed requests are free.

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

SourcePrice per successful requestPer 1,000 requests
Any source1 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 Topic API.

More in the API reference.

What is a Pinterest ideas page?
It is the public page Pinterest publishes for a topic, at pinterest.com/ideas/<words>/<id>/. Search engines link to it, and logged-out visitors see it.
Can I send the words instead of a link?
Yes. Send star nail designs and Pinterest's own lookup finds the topic, with its ID and link in the answer.
How much does the Pinterest Topic API cost?
A request costs 1 credit. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.

Try it on a link you already have.

Paste 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