Pinterest Search API
API health
- 24h health
- 100%
- 24h average time
- 10.00 s
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
Search Pinterest Pins by keyword, across all Pins or video Pins only, with image, source domain, dominant color, reactions, board and pinner details. Boards and creators are not returned, and a Pin grants no rights to its image or vouches for the linked site.
Send POST https://api.everyinfra.com/api/v1/social with platform set to pinterest and action set to search. Price $1.39 per 1,000 requests ($0.001389 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.
AI prompt
#Please help me write a data collection script with the EveryInfra Pinterest Search endpoint (pinterest/search).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to pinterest and action to search, and put the parameters inside params.
- Required parameters:
- keyword: Specifies search terms or inspiration topics for the search action. Returned result entity structures depend on the selected content_type.
- Optional parameters:
- content_type: Filters search results by pin type: all_pins_visual_posts for all pins (not only image pins) or videos_video_pins for video pins only. Search returns pins only, not boards or creators. (allowed: all_pins_visual_posts / videos_video_pins)
- limit: The most rows to return in this call, an integer from 1 to 50. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. (default: 20)
- Returns a list of records. Main fields of each record: id, url, title, text, image_url, reaction_count, source_domain, dominant_color, posted_at, author_username, author_name, author_follower_count; 13 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=pinterest.
- Example request body:
{
"platform": "pinterest",
"action": "search",
"params": {
"keyword": "small balcony garden"
}
}
- Price: $1.39 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | pinterest | Platform identifier, fixed value. |
action | body | string | Yes | search | Capability identifier, fixed value. |
keyword | body.params | string | Yes | - | Specifies search terms or inspiration topics for the search action. Returned result entity structures depend on the selected content_type. |
content_type | body.params | string (enum) | No | - | Filters search results by pin type: all_pins_visual_posts for all pins (not only image pins) or videos_video_pins for video pins only. Search returns pins only, not boards or creators.Allowed valuesall_pins_visual_postsvideos_video_pins |
limit | body.params | integer (1–50) | No | 20 | The most rows to return in this call, an integer from 1 to 50. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |
Code samples
#curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "pinterest",
"action": "search",
"params": {
"keyword": "small balcony garden"
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
#{ "id": "req_…", "platform": "pinterest", "action": "search", "results": [ { "id": "AZCEn6gJW6WmfANVWBfKNzZyMdukkN8LXQC2wCDzyJ-TSwvrKAEpdicrWCGZa13vjXB9mX_5ZMCOaoHOKbHGAys", "url": "https://www.pinterest.com/pin/AZCEn6gJW6WmfANVWBfKNzZyMdukkN8LXQC2wCDzyJ-TSwvrKAEpdicrWCGZa13vjXB9mX_5ZMCOaoHOKbHGAys/", "title": "Albergo Villa Cristina", "text": "Bei einem Aufenthalt im Albergo Villa Cristina kannst du dich auf eine Terrasse, einen Garten und einen Friseursalon freuen. Allen Gästen steht kostenloses WLAN in den Zimmern zur Verfügung. Ebenso wird dein Aufenthalt durch einen Textilreinigungsservice und eine Bar bereichert.", "image_url": "https://i.pinimg.com/736x/98/dd/48/98dd48792fdd03f4dc7c78daa6298a2f.jpg", "source_domain": "expedia.de", "dominant_color": "#494b3d", "posted_at": "2026-08-26T11:34:34+00:00", "author_username": "•••", "author_name": "•••", "author_follower_count": 67097, "board_name": "Hotels", "platform": "pinterest" }, { "id": "AXNGx7QQOfcPd0u8HtCj1KEsTf7bOCdITrT644VKab5YezQbjPSmyCi4PqorYMUIIBKxCExIUMDP-az0fUCpCHk", "url": "https://www.pinterest.com/pin/AXNGx7QQOfcPd0u8HtCj1KEsTf7bOCdITrT644VKab5YezQbjPSmyCi4PqorYMUIIBKxCExIUMDP-az0fUCpCHk/", "title": "2 BTK TERRACE RETREAT BY Lavanya", "text": "2 BTK TERRACE RETREAT BY Lavanya bietet Annehmlichkeiten wie eine Terrasse und eine Wäscherei. Kostenloses WLAN in den öffentlichen Bereichen sorgt dafür, dass du auch vor Ort stets in Verbindung bleiben kannst.", "image_url": "https://i.pinimg.com/736x/22/b0/51/22b051539eef2a5908c005ac6b3a178d.jpg", "source_domain": "expedia.de", "dominant_color": "#ccb08d", "posted_at": "2026-07-13T07:16:34+00:00", "author_username": "•••", "author_name": "•••", "author_follower_count": 67097, "board_name": "Hotels", "platform": "pinterest" } ], "count": 19, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Response fields
#Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.
| Field | Meaning |
|---|---|
id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
url | Link to the record on the platform. |
title | Title. null when the platform has no titles (for example text-only posts). |
text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
image_url | Image link. Capabilities with several images may return an image_urls array. |
reaction_count | Keeps the platform's own meaning |
source_domain | Keeps the platform's own meaning |
dominant_color | Keeps the platform's own meaning |
posted_at | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
author_username | Author's username (@handle), usually usable in URLs. |
author_name | Author's display name. |
author_follower_count | Author's follower count. null means not disclosed. |
board_name | Keeps the platform's own meaning |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.
Official references
#Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.
- Pinterest: Image Pins, Video Pins, and Product Pins ↗
Pinterest defines Pins as visual bookmarks and distinguishes formats such as image, video, and product. This is used to explain content objects and does not mean search returns all official objects or media fields; search type conflicts on this page remain subject to the limitations above.
Checked 2026-09-04