Pinterest Section Scraper API
Collect every pin in a board section, in chunks of up to 1,000 you continue with a cursor.
- 1 credit per 250 results per call
- Failed calls are free
- Updated
- pinterest.section.get
{ "reported_pin_count": 45, "outcome": { "reason": "requested_limit_reached", "status": "complete" }, "pagination": { "has_more": true, "retrieved_total": 10 }, "section": { "title": "Chill Escape", "id": "3808942912646860800", "pin_count": 10, "slug": "chill-escape", "url": "https://www.pinterest.com/pinterest/taking-a-trip/chill-escape/", "pins": [ { "dominant_color": "#7d7f83", "id": "424605071145756772", "is_repin": true, "is_story_pin": false, "is_video": false, "media_type": "unknown", "repin_count": 0, "save_count": 157, "board": { "name": "Taking a Trip", "url": "/pinterest/taking-a-trip/" }, "pinner": { "full_name": "Pinterest", "username": "pinterest", "verified_identity": { "verified": true } } }, { "dominant_color": "#847474", "id": "424605071145755445", "is_repin": true, "is_story_pin": false, "is_video": false, "media_type": "unknown", "repin_count": 0, "save_count": 5615, "board": { "name": "Taking a Trip", "url": "/pinterest/taking-a-trip/" }, "pinner": { "full_name": "Pinterest", "username": "pinterest", "verified_identity": { "verified": true } } } ] }}
| # | Pin | Saves | Repins | Dominant color | Is repin | Is story pin | Is video | Media type | Id |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 157 | 0 | #7d7f83 | true | false | false | unknown | 424605071145756772 | |
| 2 | 5615 | 0 | #847474 | true | false | false | unknown | 424605071145755445 | |
| 3 | Dieux Forever Eye Mask Reusable 100% Silicone Patches 1 set | 73 | 0 | #ebeded | true | false | false | unknown | 424605071145755582 |
| 4 | GREEN PISTACHIO ORIGINAL SILK SLEEP MASK | 1 | 0 | #b2a16b | true | false | false | unknown | 424605071145755544 |
| 5 | 4189 | 0 | #b3a695 | true | false | false | unknown | 424605071145755469 | |
| 6 | 285 | 0 | #937e5a | true | false | false | unknown | 424605071145755484 | |
| 7 | 5458 | 0 | #3e3828 | true | false | false | unknown | 424605071145756356 | |
| 8 | 255 | 0 | #775e45 | true | true | false | unknown | 424605071145755482 | |
| 9 | Lombok yoga. | 13 | 0 | #484e41 | true | true | false | unknown | 424605071145755460 |
| 10 | 4124 | 0 | #707169 | true | false | false | unknown | 424605071145755468 |
What you send
The input
object of the request, with every field the endpoint accepts.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| url | string | yes | Full Pinterest section URL | https://www.pinterest.com/pinterest/taking-a-tr… |
| cursor | string | no | Keep the same URL and section selection. | |
| max_pins | integer | no | Optional pin bound for this response. Each response returns at most 1,000 pins; follow pagination.next_cursor while has_more is true. Zero uses the default chunk bound. At least 0. | 10 |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | What it is | Example |
|---|---|---|---|
| section.pins[].save_count | integer | 157 | |
| section.pins[].repin_count | integer | 0 | |
| section.pins[].is_video | boolean | false | |
| section.pins[].board | object | 2 fields | |
| section.pins[].dominant_color | string | #7d7f83 | |
| section.pins[].id | string | Pinterest's ID for the pin. | 424605071145756772 |
| section.pins[].is_repin | boolean | true | |
| section.pins[].is_story_pin | boolean | false | |
| section.pins[].media_type | string | unknown | |
| section.pins[].pinner | object | 3 fields | |
| outcome | object | Whether every pin was read, and why reading stopped. | 2 fields |
| outcome.reason | string | requested_limit_reached | |
| outcome.status | string | Whether every pin was read: complete or incomplete. | complete |
| pagination | object | Paging details for this answer. | 2 fields |
| pagination.has_more | boolean | Whether more pins are available. | true |
| pagination.retrieved_total | integer | How many pins were read for this answer. | 10 |
| reported_pin_count | integer | Pins Pinterest reports for the section. | 45 |
| section | object | The section. | 6 fields |
| section.id | string | Pinterest's ID for the section. | 3808942912646860800 |
| section.pin_count | integer | Pins Pinterest reports for the section. | 10 |
| section.pins | array | The section's pins. | 10 records |
| section.slug | string | chill-escape | |
| section.title | string | Chill Escape | |
| section.url | string | https://www.pinterest.com/pinterest/taking-a-trip/chill-escape/ |
Call it from your code, or ask your agent
Set UPSCRAPE_API_KEY to your key and copy a working request.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "pinterest.section.get", "input": { "max_pins": 10, "url": "https://www.pinterest.com/pinterest/taking-a-trip/chill-escape/" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "pinterest.section.get", "input": { "max_pins": 10, "url": "https://www.pinterest.com/pinterest/taking-a-trip/chill-escape/" }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "pinterest.section.get", "input": { "max_pins": 10, "url": "https://www.pinterest.com/pinterest/taking-a-trip/chill-escape/" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
https://data.upscrape.com/mcp
With Upscrape, get the Pinterest section for max pins "10" and https://www.pinterest.com/pinterest/taking-a-trip/chill-escape/. Tell me what it costs before you run it, then show the results as a table.
More from the Pinterest API
- Pinterest Full Board Scraper API1 credit per 250 results
- Pinterest Board Pins Scraper API1 credit
- Pinterest Board Info Scraper API1 credit
- Pinterest User Scraper API1 credit
- Pinterest User Boards Scraper API1 credit
- Pinterest Pin Scraper API1 credit
- Pinterest Section Pins Scraper API1 credit
- Pinterest Board ID Scraper API1 credit
Pinterest Section Scraper API FAQ
The short answers. The docs have the long ones.
How much does the Pinterest Section Scraper API cost?
1 credit per 250 results per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Send url. The input fields below list every option with its type and limits.
Do I need a Pinterest login?
No. It reads public Pinterest data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds pinterest.section.get, checks its price and runs it with the same credits as the REST API.
Your first Pinterest call is free.
Up to 100 free credits to start, no card needed.