Pinterest Pins on a board API

POST

API health

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

Go through the Pins saved on one Pinterest board, keyed by board_id such as pinterest/official-news, with media, outbound link, author and engagement for each. Private sections are excluded, and the whole board is not guaranteed.

Pinterest Pins on a board lists the Pins saved to one board, given its board_id, and returns each Pin's title and description, image or video, outbound link and source domain, repin, reaction and comment counts, dominant_color, alt_text, author and publish time. Boards are Pinterest's unit of collection, so this answers what a curated set holds: brands audit their own boards, trend researchers read influential mood boards, and merchants see which products and sites a board gathers.

board_id is the part of the board's address after pinterest.com/, the account's username and the board's name, such as pinterest/official-news; each board link in Pinterest Boards results gives it once you drop the domain. source_domain across the rows shows which websites the board draws from, and dominant_color across the rows sketches its palette. A null comment_count or share_count means the count was not disclosed, not zero.

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 Pins on a board endpoint (pinterest/board_pins).

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 board_pins, and put the parameters inside params.
- Required parameters:
  - board_id: Board identifier for board_pins: the username/board-name part of the board URL after pinterest.com/, for example pinterest/official-news. Each board in boards results has a url; drop the domain to get this value.
- Optional parameters:
  - 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, video_url, media_type, external_link, source_domain, reaction_count, repin_count, comment_count; 20 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=pinterest.
- Example request body:
{
  "platform": "pinterest",
  "action": "board_pins",
  "params": {
    "board_id": "pinterest/official-news"
  }
}
- 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.
actionbodystringYesboard_pinsCapability identifier, fixed value.
board_idbody.paramsNot declaredYes-Board identifier for board_pins: the username/board-name part of the board URL after pinterest.com/, for example pinterest/official-news. Each board in boards results has a url; drop the domain to get this value.
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": "board_pins",
  "params": {
    "board_id": "pinterest/official-news"
  }
}'

[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": "board_pins",
  "results": [
    {
      "id": "(已隐去)",
      "url": "https://www.pinterest.com/pin/424605071112831904/",
      "title": "",
      "text": "Introducing the Workshop: A creative studio for bringing Pinterest ideas to life",
      "image_url": "https://i.pinimg.com/originals/32/68/65/3268658fe7973644e6e6e5be15266517.jpg",
      "media_type": "image",
      "external_link": "https://blog.pinterest.com/en/introducing-workshop-creative-studio-bringing-pinterest-ideas-life",
      "source_domain": "blog.pinterest.com",
      "repin_count": 62,
      "dominant_color": "#c4a285",
      "alt_text": "a room filled with lots of yellow stools next to a table and shelves on the wall",
      "author_username": "(已隐去)",
      "author_name": "(已隐去)",
      "board_name": "Official news",
      "platform": "pinterest"
    },
    {
      "id": "(已隐去)",
      "url": "https://www.pinterest.com/pin/424605071093691246/",
      "title": "",
      "text": "More goodies for the iOS app, via the Official Pinterest Blog",
      "image_url": "https://i.pinimg.com/originals/ae/cb/6f/aecb6f2fa70649bc9625e061b1f53ed2.jpg",
      "media_type": "image",
      "external_link": "http://blog.pinterest.com/post/101709303399/more-goodies-for-the-ios-app",
      "source_domain": "blog.pinterest.com",
      "repin_count": 31,
      "dominant_color": "#f7f6f6",
      "alt_text": "two iphones with food on them, one showing blueberry pancakes and the other showing chocolate chip cookies",
      "author_username": "(已隐去)",
      "author_name": "(已隐去)",
      "board_name": "Official news",
      "platform": "pinterest"
    }
  ],
  "count": 20,
  "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.
video_urlKeeps the platform's own meaning
media_typeKeeps the platform's own meaning
external_linkKeeps the platform's own meaning
source_domainKeeps the platform's own meaning
reaction_countKeeps the platform's own meaning
repin_countKeeps the platform's own meaning
comment_countComments. null means not disclosed, not 0.
share_countShares. null means not disclosed, not 0.
dominant_colorKeeps the platform's own meaning
alt_textKeeps 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.
board_nameKeeps the platform's own meaning
pricePrice as a number without a currency symbol; see currency.
platformSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).

FAQ

Where do I find a board_id?

In the board's address: it is the part after pinterest.com/, the account's username followed by the board's name, such as pinterest/official-news. To collect them for an account, list its boards with Pinterest Boards and drop the domain from each board link. A board's display name alone is not enough.

Which websites does a board draw from?

Group the rows by source_domain, the domain of each Pin's content source, and look at external_link for the exact page each Pin leads to. On a shopping or inspiration board, this shows which retailers and publishers the board's curator relies on most.

Can I build a board's color palette from the results?

Yes. Each row's dominant_color is the Pin's main color as a hex value, ready for visual analysis. Count the colors across the board to see its palette, and pair them with image_url and alt_text when you want to check how the colors relate to the subjects shown.

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: Organizing Pins by Board Without Confusing Sections ↗

    Official documentation states that Pins can be placed into sections within a board. `board_id` here still targets only the board; official tutorials do not provide ID conversion capabilities for this endpoint, nor do they imply that section query parameters are available.

    Checked 2026-09-04