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

Pinterest API

Search pins as Pinterest’s search box gives them, page after page, with fewer AI images if you want, then get any pin whole: its image at full size, the page it comes from, its saves and the products tagged in it. JSON with the same fields every time, from your code or your agent.

Try the Pinterest API

Pick an operation: its request in cURL, Python or Node, and its answer.

1Request
The words to search, as typed in Pinterest's search box, in any language.
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. Run it on your own input.

{
  "object": "run",
  "id": "run_fnhnblr3mgfqdeaysmbgi7bfwy",
  "livemode": true,
  "source": "pinterest",
  "operation": "pins/search",
  "version": "2.4.0",
  "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,
      "carousel": [],
      "digital_source_type": 15,
      "topics": [
        {
          "id": "935249274030",
          "name": "home decor"
        }
      ],
      "annotations": null,
      "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,
        "is_ads_only_profile": 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,
        "is_ads_only_profile": 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,
        "is_ads_only_profile": false
      },
      "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"
      },
      "less_ai_applied": false,
      "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",
        "mp4_url": null,
        "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"
          }
        ]
      },
      "carousel": [],
      "digital_source_type": 16,
      "topics": [
        {
          "id": "935249274030",
          "name": "home decor"
        }
      ],
      "annotations": null,
      "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,
        "is_ads_only_profile": false
      },
      "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,
        "is_ads_only_profile": false
      },
      "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,
        "is_ads_only_profile": false
      },
      "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,
          "is_ads_only_profile": false
        },
        "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"
      },
      "less_ai_applied": false,
      "source_url": "https://www.pinterest.com/search/pins/?q=scandinavian%20living%20room&rs=typed",
      "observed_at": "2026-11-30T14:00:00Z"
    }
  ]
}

Pinterest API operations

2 operations, one key, the same envelope: results, count, cost and next for the following page.

Get a pin

1 credita call

One Pinterest pin whole, by its number or its address, with the page its image comes from and its saves.

OptionTakesWhat it is
pin*stringThe pin: its number (1109855901966859324), an ad's id (AQ..., from pinterest/pins/search with an account), or its address as the browser shows it, on any of Pinterest's domains (pinterest.com/pin/1109855901966859324/, pinterest.fr/pin/...).

Use the Pinterest API in your agent

One key, then your agent or your code calls every operation of this page.

  1. 01

    Connect lobstr.io

    Add the lobstr.io MCP server to Claude, ChatGPT, Cursor or any MCP client, or take an API key for your code.

    Claude
    ChatGPT
    Cursor
  2. 02

    Ask, or call

    Tell your agent what you need from Pinterest: it finds the operations that fit and runs them. From your code, it is one POST to /v2/run.

    Find photos of Scandinavian living rooms that are not made by AI, and tell me which websites the most saved ones come from.

    Search pins
    Get a pin
  3. 03

    Pay per call

    1 credit a call that returns data, from your plan’s credits. The free plan gives 100 credits a month.

    25 pins 1
    Empty pageFree
    Failed callFree

Why lobstr.io

What you get when your agent or your code calls Pinterest through lobstr.io.

01

One key, every source

No business account, no app review, no trial access to upgrade. One lobstr.io key reaches Pinterest and 20 other sources, from Google Maps to LinkedIn Sales Navigator, on the same credits.

02

Built for agents

Five MCP tools, nothing to learn: your agent finds the operation, reads what it takes and gives, runs it and follows next. Your code gets the same through the SDKs or plain HTTP.

lobstr.ioConnected
find_operations
get_operation
run_operation
get_balance
send_feedback
03

Measured in public

Every call of the last 90 days counts in the figures on this page, and a failed call is free. Each operation is also run every hour by our own checks.

Last 30 days

lobstr.io or the Pinterest API v5

What Pinterest’s own API v5 gives, and what lobstr.io gives, for the same pins.

Pinterest API v5lobstr.io
Searching pinsThe pins of the account that signs in; a search of Pinterest, its top 10 pins, is in beta and not available to all appsAny search, as Pinterest’s search box gives it, 25 pins a page, page after page, with its Less AI filter
A pinOne the account owns, or on a group board shared with itAny pin, by its number or its address, with its source page, saves, comments and tagged products
Calls1,000 a day per app on Trial access; 100 a second per user on Standard access1 credit a call: $0.50 to $2 per 1,000 calls
To startA business account and an app Pinterest approves; Standard access after a video of its OAuth flowAn API key, with 100 free credits a month

From Pinterest’s developer documentation, 3 December 2026.

What it costs

Set what you need from each operation in a month: the credits add up, and the plan that holds them is the price.

Every plan
Search pins1,00040 credits
Get a pin100100 credits

1 credit a call: 25 pins.

A month

$20

140 credits a month: Starter holds 10,000.

Live

Pinterest API reliability

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

Successful calls
100.00%
Median call
2.9 s
90 days agoToday
95% or more (SLA)90 to 95%75 to 90%Under 75%

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

Pinterest API FAQ

What people ask before calling the Pinterest API.

Pins and images

Is there an official Pinterest API?

Yes: Pinterest’s API v5, for apps Pinterest approves, run from a business account. It reads the pins of the accounts that sign in to the app; its search of all Pinterest, the top 10 pins, is in beta and not available to all apps. lobstr.io reads Pinterest as a visitor sees it: any search, page after page, any pin whole, with an API key.

Can I search all of Pinterest?

Yes. Give pinterest/pins/search the words you would type in Pinterest’s search box, in any language: you get its pins in Pinterest’s order, up to 25 a page, each with its image at full size, title, description, alt text, pinner, board and the page it links to. Follow next for the following page.

Can I leave out images made with AI?

Yes. Set lessai on pinterest/pins/search: it is Pinterest’s own Less AI filter, for photos of real things. Pinterest applies it only to the searches it offers it on, and lessai_applied says whether it was applied.

Can I find where an image comes from?

Yes. Each pin has its link, the page the image comes from or a shop, with its domain. pinterest/pins/get adds that page as Pinterest read it (its title, site and date), when the pin was saved, its saves, comments and repins, and who created it.

Using the API

Do I need a Pinterest account?

No. A lobstr.io API key is all it takes, and the free plan gives 100 credits a month: both operations go out signed out, as a visitor’s browser. A Pinterest account, connected once with the lobstr.io Chrome extension, adds to a search each pin’s page on Pinterest, its creator and the ads Pinterest places among the pins. lobstr.io never takes an account in silence.

What does a call cost?

1 credit a page of pins or a pin: 1,000 calls cost $0.50 to $2 depending on the plan. A page holds up to 25 pins signed out, about 10 to 15 with an account. An empty page, a pin that does not exist and a failed call are free.

Can my AI agent use it?

Yes. Add the lobstr.io MCP server to Claude, ChatGPT, Cursor or any MCP client: the agent finds the operation, runs it and follows next by itself. Setup for each agent.

Is there an SDK?

Yes: lobstrio, on PyPI and npm, with a typed method for each operation (client.pinterest.pins.search in Python) and a loop over every page. The SDKs.

Can I combine Pinterest with other sources?

Yes, on the same key and the same credits. Pass a pin’s image to google_lens/matches/search for the stores that sell what it shows, then look up what it costs on Google Shopping or secondhand on Facebook Marketplace. An agent chains them by itself.

How reliable is the Pinterest API on lobstr.io?

Every call of the last 90 days is drawn on this page, day by day, and a failed call is free. Each operation is also run every hour by our own checks, so a change on Pinterest shows within the hour.

Ready to call it?

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