Pinterest Search API

POST

API health

24h health
Normal
24h average time
—
  • Healthy / normal
  • Available
  • Limited
  • Mostly down
Normal

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.

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

Paste this into your AI assistant. It already holds this endpoint's parameters, response fields and an example request, so the assistant can ask what you need and then write the scraper.

Please help me write a data collection script with the EveryInfra Pinterest Search endpoint (pinterest/search).

Endpoint contract:
- 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

NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYespinterestPlatform identifier, fixed value.
actionbodystringYessearchCapability identifier, fixed value.
keywordbody.paramsNot declaredYes-Specifies search terms or inspiration topics for the search action. Returned result entity structures depend on the selected content_type.
content_typebody.paramsenumNo-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
limitbody.paramsinteger (1–50)No20The 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

bash
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

Real response

Captured September 26, 2026 at 08:56 (UTC) by calling this API with the parameters in the code sample above. results and count are that call's real response with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2. id, billing and quota differ on every call, so only their shape is shown.

json
{
  "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.

FieldMeaning
idThe record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms.
urlLink to the record on the platform.
titleTitle. null when the platform has no titles (for example text-only posts).
textBody 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_urlImage link. Capabilities with several images may return an image_urls array.
reaction_countKeeps the platform's own meaning
source_domainKeeps the platform's own meaning
dominant_colorKeeps the platform's own meaning
posted_atPublish 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_usernameAuthor's username (@handle), usually usable in URLs.
author_nameAuthor's display name.
author_follower_countAuthor's follower count. null means not disclosed.
board_nameKeeps the platform's own meaning
platformSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).

Errors and billing

401
Missing or invalid key. Authentication runs before parameter checks, so unauthenticated requests never see the parameter schema.
422
Wrong parameter name or value. The error lists the parameters and allowed values this capability accepts and the closest match; it happens before any charge.
402
Insufficient balance. Top up first.
429
The account's per-minute request limit was reached (all of its API keys count together; a key's own lower limit applies first). Wait for Retry-After and try again; a rate package in the console raises the limit.
503
Could not complete right now. Any charge for the call goes back to your balance automatically, and the billing receipt in the response states the actual outcome, including when it is not yet known. Do not resend blindly.
200 empty
The request completed without data and is not charged (billing.reason = empty_result_refunded).

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