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.
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 recordsReturn 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.
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
Submit a Pinterest text query with a result limit, 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 trueBest Use Cases
- Topic-driven Pin datasets: Use a defined 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.
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
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.
Combine Pinterest data with public data from other supported social platforms.