Skip to content
NewIntroducing lobstr.io API v2: Web Data for AI Agents
Pinterest: Search pinsTry it

Pinterest: Search pins

The pins of a Pinterest search, page after page, as Pinterest ranks them, each with its image at full size.

1 credita call
Try itDocs
1Request
The words to search, as typed in Pinterest's search box, in any language.
A connected Pinterest account to read with, connected with POST /v2/accounts {"site": "pinterest", "cookies": ...} (GET /v2/accounts lists yours).
Pinterest's Less AI filter: fewer images made or changed by AI.
Where to go on, from next in an answer, as it is: opaque, and only for the search it was given with (otherwise invalid_cursor).
1 credit a call
Code, from the fields above
curl https://api.lobstr.io/v2/run \
  -H "Authorization: Bearer $LOBSTR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "source": "pinterest",
    "operation": "pins/search",
    "options": {
      "query": "scandinavian living room"
    }
  }'
2Response

An example answer, from the contract. Run it on your own input with your API key.

{
  "object": "run",
  "id": "run_fnhnblr3mgfqdeaysmbgi7bfwy",
  "livemode": true,
  "source": "pinterest",
  "operation": "pins/search",
  "version": "2.0.1",
  "schema_url": "https://api.lobstr.io/v2/catalog/pinterest/pins/search",
  "options": {
    "query": "scandinavian living room",
    "account": "acc_7Hq2Kd9mX4pL"
  },
  "fields": null,
  "status": "succeeded",
  "count": 2,
  "has_more": false,
  "next": null,
  "cost": {
    "credits": 1
  },
  "results": [
    {
      "object": "pin",
      "id": "1028580002431602629",
      "position": 1,
      "is_promoted": false,
      "url": "https://www.pinterest.com/pin/1028580002431602629/",
      "title": "Scandinavian Living Room Ideas in Light Wood and Neutrals",
      "description": "A bright Scandinavian living room with pale oak furniture, neutral cushions and a round coffee table.",
      "alt_text": "Bright Scandinavian living room with a pale oak coffee table, a cream sofa, linen cushions and a wool rug.",
      "link": "https://www.example-decor.com/scandinavian-living-room/",
      "domain": "example-decor.com",
      "created_at": "2026-11-11T15:02:06Z",
      "image": {
        "url": "https://i.pinimg.com/originals/c3/2b/b4/c32bb4778580d73d6c2317d50455c4d6.png",
        "width": 1536,
        "height": 2304
      },
      "image_sizes": [
        {
          "name": "236x",
          "url": "https://i.pinimg.com/236x/c3/2b/b4/c32bb4778580d73d6c2317d50455c4d6.jpg",
          "width": 236,
          "height": 354
        },
        {
          "name": "474x",
          "url": "https://i.pinimg.com/474x/c3/2b/b4/c32bb4778580d73d6c2317d50455c4d6.jpg",
          "width": 474,
          "height": 711
        },
        {
          "name": "736x",
          "url": "https://i.pinimg.com/736x/c3/2b/b4/c32bb4778580d73d6c2317d50455c4d6.jpg",
          "width": 736,
          "height": 1104
        }
      ],
      "dominant_color": "#b7aa9d",
      "video": null,
      "digital_source_type": 15,
      "topics": [
        {
          "id": "935249274030",
          "name": "home decor"
        }
      ],
      "reactions_count": 12,
      "pinner": {
        "id": "1028580139803585861",
        "username": "janedoe",
        "name": "Jane Doe | Interior Designer",
        "url": "https://www.pinterest.com/janedoe/",
        "image_url": "https://i.pinimg.com/140x140_RS/c6/d2/c2/c6d2c23a33d11fc7cbb7f3b07dde717a.jpg",
        "followers_count": 28,
        "is_verified": false,
        "is_verified_merchant": false,
        "has_verified_website": false
      },
      "creator": {
        "id": "1028580139803585861",
        "username": "janedoe",
        "name": "Jane Doe | Interior Designer",
        "url": "https://www.pinterest.com/janedoe/",
        "image_url": "https://i.pinimg.com/140x140_RS/c6/d2/c2/c6d2c23a33d11fc7cbb7f3b07dde717a.jpg",
        "followers_count": 28,
        "is_verified": false,
        "is_verified_merchant": false,
        "has_verified_website": false
      },
      "site_account": {
        "id": "1028580139803590212",
        "username": "exampledecor",
        "name": "Example Decor",
        "url": "https://www.pinterest.com/exampledecor/",
        "image_url": "https://i.pinimg.com/140x140_RS/b8/90/13/b8901379e6ea803d5a81dafec40f35bb.jpg",
        "followers_count": 1410,
        "is_verified": false,
        "is_verified_merchant": false,
        "has_verified_website": true
      },
      "board": {
        "id": "1028580071085541508",
        "name": "living room decor",
        "url": "https://www.pinterest.com/janedoe/living-room-decor/",
        "pins_count": 246,
        "sections_count": 0,
        "is_collaborative": false
      },
      "products": [
        {
          "pin_id": "1028580002431566902",
          "title": "Acme Wool Area Rug",
          "link": "https://www.example-shop.com/rug",
          "image_url": "https://i.pinimg.com/345x/77/73/2b/77732bb8e903825b75f7913181883b01.jpg",
          "price": {
            "amount": 364,
            "currency": "USD"
          }
        }
      ],
      "linked_page": {
        "url": "https://www.example-decor.com/scandinavian-living-room/",
        "title": "Scandinavian Living Room Ideas",
        "site_name": "example-decor.com",
        "type": "article",
        "product": null
      },
      "ad": null,
      "ids": {
        "pin_id": "1028580002431602629",
        "image_signature": "c32bb4778580d73d6c2317d50455c4d6"
      },
      "source_url": "https://www.pinterest.com/search/pins/?q=scandinavian%20living%20room&rs=typed",
      "observed_at": "2026-11-30T14:00:00Z"
    },
    {
      "object": "pin",
      "id": "AQDTAniKukTRExampleSponsoredPinId000000000000000000000000000000000",
      "position": 2,
      "is_promoted": true,
      "url": "https://www.pinterest.com/pin/AQDTAniKukTRExampleSponsoredPinId000000000000000000000000000000000/",
      "title": "Acme loop rug in natural cream, from $79",
      "description": "Loop rugs for the living room, the bedroom and reading corners.",
      "alt_text": "A cream loop rug under a light wood coffee table in a Scandinavian living room.",
      "link": "https://www.acme-rugs.com/product/loop-cream/",
      "domain": "acme-rugs.com",
      "created_at": "2026-07-15T14:28:11Z",
      "image": {
        "url": "https://i.pinimg.com/originals/ec/e5/60/ece560c04cd90f749f8763c07acc7a57.jpg",
        "width": 720,
        "height": 1280
      },
      "image_sizes": [
        {
          "name": "236x",
          "url": "https://i.pinimg.com/236x/ec/e5/60/ece560c04cd90f749f8763c07acc7a57.jpg",
          "width": 236,
          "height": 419
        },
        {
          "name": "474x",
          "url": "https://i.pinimg.com/474x/ec/e5/60/ece560c04cd90f749f8763c07acc7a57.jpg",
          "width": 474,
          "height": 842
        },
        {
          "name": "736x",
          "url": "https://i.pinimg.com/736x/ec/e5/60/ece560c04cd90f749f8763c07acc7a57.jpg",
          "width": 736,
          "height": 1308
        }
      ],
      "dominant_color": "#a08c76",
      "video": {
        "id": "5523756123095691234",
        "url": "https://v1.pinimg.com/videos/iht/hls/ec/e5/60/ece560c04cd90f749f8763c07acc7a57.m3u8",
        "duration_s": 15.04,
        "width": 720,
        "height": 1280,
        "thumbnail_url": "https://i.pinimg.com/videos/thumbnails/originals/ec/e5/60/ece560c04cd90f749f8763c07acc7a57.0000000.jpg",
        "captions": [
          {
            "language": "en-us",
            "url": "https://v1.pinimg.com/videos/captions/en-us/ec/e5/60/ece560c04cd90f749f8763c07acc7a57.vtt"
          }
        ]
      },
      "digital_source_type": 16,
      "topics": [
        {
          "id": "935249274030",
          "name": "home decor"
        }
      ],
      "reactions_count": 1,
      "pinner": {
        "id": "1089871315982617983",
        "username": "acmerugs",
        "name": "Acme Rugs",
        "url": "https://www.pinterest.com/acmerugs/",
        "image_url": "https://i.pinimg.com/140x140_RS/29/58/a1/2958a1f52feb55d58ddaf04238942901.jpg",
        "followers_count": 17,
        "is_verified": false,
        "is_verified_merchant": true,
        "has_verified_website": true
      },
      "creator": {
        "id": "1089871315982617983",
        "username": "acmerugs",
        "name": "Acme Rugs",
        "url": "https://www.pinterest.com/acmerugs/",
        "image_url": "https://i.pinimg.com/140x140_RS/29/58/a1/2958a1f52feb55d58ddaf04238942901.jpg",
        "followers_count": 17,
        "is_verified": false,
        "is_verified_merchant": true,
        "has_verified_website": true
      },
      "site_account": {
        "id": "1089871315982617983",
        "username": "acmerugs",
        "name": "Acme Rugs",
        "url": "https://www.pinterest.com/acmerugs/",
        "image_url": "https://i.pinimg.com/140x140_RS/29/58/a1/2958a1f52feb55d58ddaf04238942901.jpg",
        "followers_count": 17,
        "is_verified": false,
        "is_verified_merchant": true,
        "has_verified_website": true
      },
      "board": {
        "id": "1089871247263140231",
        "name": "Living room rugs",
        "url": "https://www.pinterest.com/acmerugs/living-room-rugs/",
        "pins_count": 58,
        "sections_count": 2,
        "is_collaborative": false
      },
      "products": [
        {
          "pin_id": "1089871246181207513",
          "title": "Acme loop rug, cream",
          "link": "https://www.acme-rugs.com/product/loop-cream/",
          "image_url": "https://i.pinimg.com/345x/ec/e5/60/ece560c04cd90f749f8763c07acc7a57.jpg",
          "price": {
            "amount": 79,
            "currency": "USD"
          }
        }
      ],
      "linked_page": {
        "url": "https://www.acme-rugs.com/product/loop-cream/",
        "title": "Acme loop rug, cream",
        "site_name": "Acme Rugs",
        "type": "product",
        "product": {
          "name": "Acme loop rug, cream",
          "price": {
            "amount": 79,
            "currency": "USD"
          },
          "price_text": "$79.00",
          "original_price_text": "$89.00",
          "discount_percent": 11,
          "in_stock": true,
          "rating": {
            "value": 4.8,
            "scale": 5,
            "count": 5,
            "reviews_count": 2
          }
        }
      },
      "ad": {
        "advertiser": {
          "id": "1089871315982617983",
          "username": "acmerugs",
          "name": "Acme Rugs",
          "url": "https://www.pinterest.com/acmerugs/",
          "image_url": "https://i.pinimg.com/140x140_RS/29/58/a1/2958a1f52feb55d58ddaf04238942901.jpg",
          "followers_count": 17,
          "is_verified": false,
          "is_verified_merchant": true,
          "has_verified_website": true
        },
        "advertiser_id": "549770560633",
        "campaign_id": "626759287581",
        "promotion_id": "687323976195",
        "objective_code": 11,
        "destination_url": "https://www.acme-rugs.com/product/loop-cream/?utm_source=pinterest&utm_medium=paid",
        "call_to_action": "Visit site",
        "offer": "Up to 30% off",
        "badge": "Popular Pins",
        "carousel": [],
        "targeting": {
          "matched_keyword": "scandinavian living room",
          "matched_interest": "home decor",
          "matched_age_range": "25-34",
          "matched_locale": "en",
          "is_expanded_targeting": true,
          "is_shopping_retargeting": true,
          "is_shopping_prospecting": true,
          "has_first_party_personalization": true,
          "has_third_party_personalization": true
        }
      },
      "ids": {
        "pin_id": "AQDTAniKukTRExampleSponsoredPinId000000000000000000000000000000000",
        "image_signature": "ece560c04cd90f749f8763c07acc7a57"
      },
      "source_url": "https://www.pinterest.com/search/pins/?q=scandinavian%20living%20room&rs=typed",
      "observed_at": "2026-11-30T14:00:00Z"
    }
  ]
}

106 fields per pin

Every call returns them for each record, in the results of its JSON answer.

Signed out or with an account

13 fields
object
text
pin
id
id
Pinterest's id of the pin. With an `account`, its number (an ad's: an opaque id, AQ...), which its page opens (pinterest.com/pin/<id>/); signed out, Pinterest gives an id of its own instead (e1_...), the same for a pin from one search to the next, which opens no page. The same image in both ways is `ids.image_signature`.
1028580002431602629
position
number
Its rank in the search as Pinterest shows it, the pages before and the ads included.
1
is_promoted
yes / no
Whether it is an ad Pinterest places among the search's pins: a pin an advertiser pays for, shown to the connected account that reads (none signed out), described in `ad`. Given where Pinterest puts it.
No

With a connected accountFilled when the call names your connected account; null signed out.

93 fields
url
link
The pin's page on Pinterest; null signed out, where Pinterest's id of a pin (e1_...) opens no page.
pinterest.com/pin/1028580002431602629/
title
text
Its title, as its pinner wrote it; null signed out.
Scandinavian Living Room Ideas in Light Wood and Neutrals
description
text
Its description, as its pinner wrote it; null signed out.
A bright Scandinavian living room with pale oak furniture, neutral cushions and a round coffee table.
alt_text
text
The image's alt text, its pinner's or Pinterest's; null signed out and when there is none.
Bright Scandinavian living room with a pale oak coffee table, a cream sofa, linen cushions and a wool rug.
link
link
The page the pin links to (the source of the image, a shop); null for an image uploaded without one, and signed out.
example-decor.com/scandinavian-living-room/

What it costs

Billed by the call: 1 credits, whatever the page holds (up to 25 pins). Pick how many calls a month.

Every plan

1 credit a call

Calls a month

100

Per 100 calls

Free

On the free plan, up to 100 calls a month.

Live

Built to run

Every call counts; a day is green at 99.5% successful.

Successful calls
100.00%
Median call
2.8 s
90 days agoToday
99.5% or more (SLA)98 to 99.5%95 to 98%Under 95%

A call fails when the site does not answer or we cannot read its answer; a wrong input is not counted.

Frequently asked questions

What people ask before calling pinterest/pins/search.

Search pins

When do I use it?

You need the pins Pinterest shows for words, as its search box gives them: images to illustrate a page, a mood board, what a style looks like. Signed out (no account), each pin is its image (the original as it was saved, and the copies Pinterest serves), its dominant colour and its id: Pinterest gives a visitor signed out nothing more. With a connected Pinterest account, the whole pin: title, description, the image's alt text, the page it links to, when it was saved, who saved it and on which board, its reactions, its topics, the products tagged in it, how its image was made, its video, and the Less AI filter (less_ai); and the ads Pinterest places among them, where it puts them, marked is_promoted, each with its ad (the advertiser, the campaign, where the ad leads, its call to action, offer and carousel). 25 pins a page signed out, Pinterest's own page signed in (17 to 26 on 30/11).

What do I give it?
  • query (required): The words to search, as typed in Pinterest's search box, in any language. Pinterest corrects words it reads as a typo and searches the correction.
  • account: A connected Pinterest account to read with, connected with POST /v2/accounts {"site": "pinterest", "cookies": ...} (GET /v2/accounts lists yours). With it, each pin comes whole (its title, description, link, pinner, board...). Left out, the call goes out signed out, as a visitor's browser: each pin is its image, colour and id, the other fields null. Never an account taken in silence.
  • less_ai: Pinterest's Less AI filter: fewer images made or changed by AI. Pinterest offers it to logged-in members only: with an account (account_required without).
What does it return?

The pins of a Pinterest search, page after page, as Pinterest ranks them, each with its image at full size. Every record has the same fields, empty ones included: they are all listed above.

How do I get the next page?

Each answer ends with next: the following call, whole. Send it as it is; it is null after the last page. A page holds 25 records at most.

Pricing

What does a call cost?

1 credit per page of pins (25 signed out, about 10 to 15 with an account). An empty page and a failed call are free.

When is a call free?
  • an empty page (past the end, or nothing found)
  • a call that fails

Errors

What can go wrong?
  • invalid_query (422): query takes 1 to 200 characters.
  • account_required (422): Pinterest offers this to logged-in members only (Less AI). Connect a Pinterest account with POST /v2/accounts {"site": "pinterest", "cookies": ...} and pass its account (https://docs.lobstr.io/accounts).
  • account_rate_limited (429, retry): This Pinterest account cannot read right now: it pauses a few seconds between two calls and makes 1,000 a day. retry_after says when it can again, in seconds. Retrying before then gets this same answer: nothing is queued. Leave account out to read signed out.
  • account_unusable (409): Pinterest logged this account out. Open pinterest.com in the browser the account comes from, then connect it again with POST /v2/accounts and fresh cookies (the same account keeps its id).
  • site_unavailable (503, retry): Pinterest did not answer properly; retry later (not charged).
  • unexpected_answer (424): Pinterest answered in a shape we do not read yet; we are told and fix it (not charged).
How long can a call take?

30 seconds at most by default, up to 60 with timeout_s. A call past it answers timeout (408), is not charged, and can be sent again.

API and agents

Can my AI agent run it?

Yes: connect the lobstr.io MCP server (https://api.lobstr.io/v2/mcp, your API key as a Bearer token); its run_operation tool runs pinterest/pins/search. Its page for agents, in Markdown: pinterest/pins/search.md.

Where is its full description?

The contract, as JSON: https://api.lobstr.io/v2/catalog/pinterest/pins/search: every option, every field, the price and the errors. This page is drawn from it.

Ready to call it?

An API key in a minute, then the call above, from your code or your agent.