Platforms · Pinterest

Pinterest Search Scraper API

Searches Pinterest for pins matching a keyword. post.content.text is the pin's title, or its description when the title is empty; many pins carry neither, so it is null on those rows. Pinterest's own module cards on a results page ("Explore featured boards", "Shop ...") are not pins and are left out. The same pin kept the same id across repeated calls, so it still de-duplicates, but Pinterest does not open an e1_ link for a signed-out reader and the per-pin lookup cannot read it.

GET /api/v1/data/pinterest/search · 1 credit per page · The same call repeated within 2 minutes may get the same answer, so data can be up to 2 minutes old.

Inputs

  • query (required): Keyword or phrase to search Pinterest pins for.
  • cursor: Leave it out for the first page. For the next page, send next_cursor from the previous answer.
  • trim: Set to true for a trimmed down version of the response
  • since: Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`.
  • until: Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`.

What comes back

  • result_status (string): success, or not_available when the item does not exist, was removed or is not public.
  • count (integer): How many posts this answer holds.
  • posts[].id (string): The item's ID on the platform.
  • posts[].url (string): Link to it on the platform.
  • posts[].text (string): Its text.
  • posts[].published_at (string): When it was published (ISO 8601).
  • posts[].language (string): Its language code.
  • posts[].deleted (boolean): Whether it was deleted.
  • posts[].author_username (string): The author's username.
  • posts[].author_name (string): The author's display name.
  • posts[].author_verified (boolean): Whether the author is verified.
  • posts[].author_avatar_url (string): The author's picture.
  • posts[].like_count (number): Likes.
  • posts[].comments_count (number): Comments.
  • posts[].share_count (number): Shares or reposts.
  • posts[].save_count (number): Saves.
  • posts[].media[].url (string): Its media.
  • posts[].media[].thumbnail_url (string): Its media's thumbnail.
  • posts[].content_type (string): What it is: post.
  • posts[].platform (string): The platform's name.
  • posts[].source_data (object): Everything the platform sent for this row, as it came.
  • posts[].source_data.computed.content_category (string): Keyword-classified content category (e.g. tech, food, gaming). Null when undetectable.
  • posts[].source_data.computed.engagement_rate (number): Computed engagement rate (0..1).
  • posts[].source_data.computed.estimated_reach (number): Estimated reach based on views or follower count. Null when uncomputable.
  • posts[].source_data.computed.labels.ai_style (object)
  • posts[].source_data.computed.labels.ai_written (object)
  • posts[].source_data.computed.labels.injection (object): injection flags text that addresses an AI system and tries to direct it (flagged, p); it never drops or rewrites a row.
  • posts[].source_data.computed.labels.intent (object)
  • posts[].source_data.computed.labels.mention (object): mention (needs brand=): is the post about that brand rather than something that shares its name (about_brand, 0 to 1), how it feels about the brand on five levels (sentiment_level 0 to 4 and sentiment_score 0 to 1, null when the post is not about the brand), is it sarcastic, which aspect it talks about (taste_or_quality, price_or_value, availability_or_delivery, health_or_safety, advertising_or_campaign, customer_service, none), and did the author buy or use it (first_hand).
  • posts[].source_data.computed.labels.niche (object): niche: which of the 33 niches of the published taxonomy sc-niche-v1 the caption belongs to, or personal_no_niche, or other (label, confidence, taxonomy), with label null when the caption is too thin to tell or the pick is unsure.
  • posts[].source_data.computed.labels.quality (object): quality: how much checkable detail the caption carries (fact_density 0 to 3), whether it mainly asks for likes, replies, shares, follows or tags (engagement_bait, 0 to 1), whether it is written to provoke anger as a way to get engagement (rage_bait, 0 to 1; about the writing, never the side taken), whether it only repeats someone else's news or view (secondhand, 0 to 1), and what the post is mainly doing (post_aim: inform, opinion, sell, entertain, provoke, other).
  • posts[].source_data.computed.labels.sponsored (object): sponsored: is the post a paid or gifted promotion (p, 0 to 1), did it carry a disclosure marker such as #ad or 광고 (disclosed), is it likely paid with no marker (undisclosed), and which of the accounts it mentions does it promote (brand, or null).
  • posts[].source_data.computed.labels_evidence (object): When 1, every labelled row also carries computed.labels_evidence.<preset> = { quote, sentence_index }: the sentence in the row that most clearly shows the label, copied verbatim.
  • posts[].source_data.computed.language (string): ISO 639-1 language code detected from the post text. Null when undetectable.
  • posts[].source_data.computed.relevance (object)
  • posts[].source_data.computed.save_rate (number): Saves divided by views, rounded to six places. Present only when the post has both a save count and a view count above zero.
  • posts[].source_data.post.author.avatar_url (string): URL to author profile picture
  • posts[].source_data.post.author.display_name (string): Author display name
  • posts[].source_data.post.author.username (string): Author username
  • posts[].source_data.post.author.verified (boolean): Whether the author account is verified
  • posts[].source_data.post.content.media_urls (any): URL(s) of the primary media. Single string for video/photo posts; array of strings for carousels.
  • posts[].source_data.post.content.text (string): Post caption, description, or text content
  • posts[].source_data.post.content.thumbnail_url (string): URL to thumbnail image
  • posts[].source_data.post.engagement.comments (number): Comment count. Both land on this same field.
  • posts[].source_data.post.engagement.likes (number): Like / reaction count
  • posts[].source_data.post.engagement.saves (number): Save / bookmark count. `null` on Instagram: the save count is platform-private and Instagram exposes no numeric save metric on any surface (never fabricated).
  • posts[].source_data.post.engagement.shares (number): Share / repost / retweet count.
  • posts[].source_data.post.ext.alt_text (string): Pinterest's machine caption of the image. Never the creator's own text.
  • posts[].source_data.post.ext.board_name (string): Name of the board the pin was saved to. Pinterest only.
  • posts[].source_data.post.ext.outbound_url (string): The page a Pinterest pin saves. Absent when it saves none.
  • posts[].source_data.post.flags.deleted (boolean): Whether the post is tombstoned (always present)
  • posts[].source_data.post.id (string)
  • posts[].source_data.post.published_at (any): Post creation timestamp as an ISO 8601 UTC string.
  • posts[].source_data.post.url (string)
  • next_cursor (string): Send it as cursor to get the next page; null when there is none.
  • has_more (boolean): Whether there is another page.

Good to know

  • The price depends on what the call returns: from 1 credit to 34 credits.
  • Each call returns one page. To get the next page, send next_cursor from the answer as cursor.
  • The same call repeated within 2 minutes may get the same answer, so data can be up to 2 minutes old.

Example call

GET /api/v1/data/pinterest/search?query=home+decor+ideas&trim=true

Questions

How much does the Pinterest Search API cost?

Each page costs 1 to 34 credits, depending on what it returns. A call that finds nothing, or fails, costs nothing.

What do I send?

You must send query. 3 more inputs are optional: trim, since and until. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.

How do I get the next page?

Each call returns one page. The answer carries next_cursor: send it back as cursor to get the page after. Each page is charged on its own, and an empty page is free.

How fresh is the data?

The same call repeated within 2 minutes may get the same answer, so data can be up to 2 minutes old.

Do I need a Pinterest account or developer app?

No. You call SocialHz with your SocialHz API key, and the same key works for every platform.

Can I try it before paying?

Yes. Signing up gives you 10 free credits, with no card needed.

More Pinterest scraper APIs