Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APIPinterest

    pinterest.board

    One public board on Pinterest: its name, description, follower and pin counts, its owner as shown, and its most recent pins.

    Id
    pinterest.board
    Version
    1
    Billed per
    request — 1 unit for a charged run
    Runs
    within one request

    Start it with POST /v1/scrapers/pinterest.board/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.

    Inputs

    The fields of input. A field that is not listed here is refused.

    Inputs of pinterest.board
    FieldTypeDescription
    boardrequiredstringThe board as its address names it: username/board-name (e.g. pinterest/official-news), or the whole address (https://www.pinterest.com/pinterest/official-news/).Limit: at least 3 characters, at most 2048 characters.
    • board is username/board-name as the board's address writes it (pinterest/official-news), or the whole address.
    • pins is the board's most recent pins, 50 at most, most recent first; pins_listed counts them and pin_count is how many the board holds in all.
    • saves is how many times a pin's image was saved across Pinterest; repins how many times that pin itself was.
    • owner and each pin's creator are the account as the board or pin shows it. No profile is read.
    • A board Pinterest does not have, or a secret one, ends the run failed with not_found.

    Record fields

    Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.

    Record fields of pinterest.board
    FieldTypeNotes
    idstring or nullPinterest's id of the board.
    urlstringThe board's address on Pinterest.
    namestringThe board's name.
    descriptionstring or nullThe board's description, as text.
    pin_countinteger or nullHow many pins the board holds in all.
    followersinteger or nullHow many followers the board has.
    ownerobject or nullThe account the board belongs to, as the board shows it.
    name (in owner)string or nullThe account's name, as shown.
    username (in owner)string or nullThe account's username: the name in its address.
    url (in owner)string or nullThe account's address on Pinterest.
    followers (in owner)integer or nullHow many followers the account has, as shown with the pin or board.
    pins_listedintegerHow many pins are in pins: the board's most recent 50 at most.
    pinsarray of objectThe board's most recent pins, most recent first.
    id (in pins[])stringPinterest's id of the pin.
    url (in pins[])stringThe pin's address on Pinterest.
    title (in pins[])string or nullThe title of the page the pin links to, when Pinterest shows one.
    description (in pins[])string or nullThe pin's description, as text.
    link (in pins[])string or nullThe address the pin links to.
    domain (in pins[])string or nullThe site the pin links to, e.g. flickr.com.
    is_video (in pins[])boolean or nullWhether the pin is a video.
    image (in pins[])string or nullThe address of the pin's image (the largest size given).
    image_width (in pins[])integer or nullThat image's width in pixels.
    image_height (in pins[])integer or nullThat image's height in pixels.
    dominant_color (in pins[])string or nullThe image's dominant colour as Pinterest states it, e.g. #e77b60.
    saves (in pins[])integer or nullHow many times the pin's image has been saved across Pinterest.
    repins (in pins[])integer or nullHow many times this pin itself was saved to other boards.
    creator (in pins[])object or nullThe account that pinned it, as the pin shows it.
    name (in pins[].creator)string or nullThe account's name, as shown.
    username (in pins[].creator)string or nullThe account's username: the name in its address.
    url (in pins[].creator)string or nullThe account's address on Pinterest.
    followers (in pins[].creator)integer or nullHow many followers the account has, as shown with the pin or board.
    position (in pins[])integerIts place in the board's list, from 1: most recent first.
    fetched_atstring (date-time)When the board was read, in UTC.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    curl -X POST "https://api.enrichednow.com/v1/scrapers/pinterest.board/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"board":"pinterest/official-news"}}'
    
    # Read its records, with the id the first call answered
    curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start a run, wait for it to end, and get its records
    result = client.scrape("pinterest.board", {"board": "pinterest/official-news"})
    print(result.run.id, result.run.status, result.run.record_count)
    
    # Read its records: pages are fetched as you go
    for record in result.records:
        print(record)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start a run, wait for it to end, and get its records
    const { run, records } = await client.scrape("pinterest.board", { board: "pinterest/official-news" });
    console.log(run.id, run.status, run.record_count);
    
    // Read its records: pages are fetched as you go
    for await (const record of records) console.log(record);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
    	defer cancel()
    
    	// Start a run, wait for it to end, and get its records
    	run, records, err := client.Scrape(ctx, "pinterest.board", map[string]any{"board": "pinterest/official-news"})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RecordCount)
    
    	// Read its records: pages are fetched as you go
    	for records.Next() {
    		fmt.Println(string(records.Current()))
    	}
    	if err := records.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.ScrapeResult;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start a run, wait for it to end, and get its records
            ScrapeResult result = client.scrape("pinterest.board", Map.of("board", "pinterest/official-news"));
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
    
            // Read its records: pages are fetched as you go
            for (Map<String, Object> record : result.records()) {
                System.out.println(record);
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow run pinterest.board --input board=pinterest/official-news

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.

    The body on its own:

    JSON
    {
      "input": {
        "board": "pinterest/official-news"
      }
    }

    Example response

    The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.

    JSON
    {
      "id": "run_841742f37553189ff9c27ba1",
      "scraper_id": "pinterest.board",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "board": "pinterest/official-news"
      },
      "record_count": 1,
      "units": 1,
      "units_per_request": 1,
      "units_per_record": null,
      "units_per_page": null,
      "diagnostics": {
        "requests": 1,
        "bytes": 259214,
        "wall_ms": 885,
        "facts": {}
      },
      "created_at": "2026-11-16T22:37:50.170950Z",
      "started_at": "2026-11-16T22:37:50.178331Z",
      "finished_at": "2026-11-16T22:37:51.066313Z"
    }

    Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.

    JSON
    {
      "records": [
        {
          "id": "424605139806979476",
          "url": "https://www.pinterest.com/pinterest/official-news/",
          "name": "Official news",
          "description": "Get the inside scoop on Pinterest news. Be the first to know about new products, program updates and behind-the-scenes.",
          "pin_count": 50,
          "followers": 4257349,
          "owner": {
            "name": "Pinterest",
            "username": "pinterest",
            "url": "https://www.pinterest.com/pinterest/",
            "followers": 6270812
          },
          "pins_listed": 3,
          "pins": [
            {
              "id": "424605071136961057",
              "url": "https://www.pinterest.com/pin/424605071136961057/",
              "title": null,
              "description": "Your favorite plus-size fashion tastemakers helped Pinterest develop new tech that champions diversity. Now you'll see more body shapes, sizes and skin tones when browsing our women’s fashion and wedding categories. But it won’t stop there. … [truncated]",
              "link": "https://www.pinterest.com/today/best/ideas-in-every-shape-and-size/113552/?utm_campaign=Consumer_InclusiveTech_Pinterest_US_Hero_972023&utm_source=Pinterest",
              "domain": "pinterest.com",
              "is_video": false,
              "image": "https://i.pinimg.com/564x/dc/59/c7/dc59c78056607f0250deb7611d387731.jpg",
              "image_width": 564,
              "image_height": 1002,
              "dominant_color": "#aa9e96",
              "saves": 58,
              "repins": 55,
              "creator": {
                "name": "Pinterest",
                "username": "pinterest",
                "url": "https://www.pinterest.com/pinterest/",
                "followers": 6270812
              },
              "position": 1
            },
            {
              "id": "424605071135728666",
              "url": "https://www.pinterest.com/pin/424605071135728666/",
              "title": null,
              "description": "Learn more about our recent updates: https://pin.it/3eZQ4dx",
              "link": null,
              "domain": "Uploaded by user",
              "is_video": false,
              "image": "https://i.pinimg.com/564x/a6/e9/40/a6e940fe72053b353e011543ae29163e.jpg",
              "image_width": 564,
              "image_height": 1002,
              "dominant_color": "#ffffff",
              "saves": 140,
              "repins": 134,
              "creator": {
                "name": "Pinterest",
                "username": "pinterest",
                "url": "https://www.pinterest.com/pinterest/",
                "followers": 6270812
              },
              "position": 2
            }
          ],
          "fetched_at": "2026-11-19T18:07:41.060531Z"
        }
      ],
      "next_cursor": null
    }

    What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].

    • Shortened: pins: 3 items, the first 2 shown.
    • Shortened: pins[0].description: 434 characters, the first 240 shown.

    A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Pinterest scrapers are in their own section there.