Pinterest Search
Pinterest Search results are public Pins matched to a text query, with titles, descriptions, creator details, media references, categories, hashtags, timestamps, and visible engagement. These records support topic discovery, visual-theme research, creator-context analysis, and query-based content comparison.
Pinterest Search API Features
- Query-based Pin discoveryAccept one non-empty text query and a results_limit from 1 through 2,000 to request a bounded collection of public Pin records.
- Normalized Pin, creator, and media recordsThe Pinterest Search API returns Pin IDs, URLs, titles, text, public creator fields, and image or video references in a consistent result shape.
- Taxonomy and visible signal contextKeep available categories, hashtags, Pin type, source metadata, visible like, comment, and creator follower counts, publication time, collection time, and submitted query context.
Pinterest Search API Parameters
| Parameters | Required | Description |
|---|---|---|
query | Required | Required non-empty text query used to discover public Pinterest Pins; leading and trailing whitespace is removed before submission. |
results_limit | Optional | Maximum number of Pins requested for the query; defaults to 100 and accepts integers from 1 through 2,000. |
How to Use the Pinterest Search API
Submit a text query and result limit to the Pinterest Search API, track the asynchronous task, and read normalized Pins with cursor pagination.
- Prepare a non-empty text query and choose a results_limit from 1 through 2,000.
- POST query and results_limit to /v1/pinterest/search, then store the returned task_id.
- Poll /v1/tasks/{task_id} until the task succeeds or returns a failure.
- Read data.results.items and request the returned next_cursor while has_more remains true.
curl -X POST "https://api.socq.ai/v1/pinterest/search" \
-H "Authorization: Bearer $SOCQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"home office ideas","results_limit":100}'
# Poll GET /v1/tasks/{task_id}
# Read data.results.items and follow next_cursor while has_more is truePinterest Search API Use Cases
- Topic-driven Pin datasets: Use a defined Pinterest Search API query with Pin IDs, source URLs, titles, text, media references, and discovery_input to build a traceable topic collection.
- Visual and taxonomy research: Compare images or videos, post_type, categories, hashtags, titles, and descriptions to examine formats and themes within query results.
- Creator and visible signal comparison: Combine public creator fields with like, comment, and follower counts plus collected_at to compare observed result context across query collections.
Pinterest Search API Pro Tips
- Submit a non-empty query after removing accidental surrounding whitespace, and keep results_limit between 1 and 2,000 to satisfy input validation.
- Follow next_cursor until has_more is false when the stored results span more than the first 50-item response page.
- Retain extra.discovery_input and collected_at so each Pin remains tied to the submitted keyword and observation time.
- Handle title, text, author details, media, created_at, categories, hashtags, source, and individual metrics as optional fields instead of treating missing values as request failures.
Related APIs
Beyond the Pinterest Search API, use these APIs when you need a different type of public Pinterest data.
- Pinterest Pins API — Resolve public Pin URLs into normalized content, creator, media, taxonomy, timestamps, and visible metrics.
- Pinterest User Pins API — Discover public Pins from profile URLs with a per-profile limit, normalized content, creator, media, timestamps, and visible metrics.
- Pinterest Profiles API — Collect public profile identity, bio, image, website, visible account counts, and collection context from profile URLs.
- Pinterest User Boards API — List the boards on Pinterest profiles from profile URLs, with names, descriptions, covers, creation dates and pin, follower, section and collaborator counts.
- Pinterest Board Pins API — Collect the pins on a Pinterest board from its board URL in board order, with pin text, the saving account, full-size images and pin links.
- Pinterest Topic API — Read Pinterest idea page URLs for each topic's monthly search count, refresh time and the narrower topics suggested under it.