{
  "openapi": "3.0.1",
  "info": {
    "title": "Pinterest Scraper — Pins, Boards, Profiles & Search",
    "description": "Scrape Pinterest without an account: pins, boards, profiles and search results by keyword or URL. Export to JSON, CSV or Excel.",
    "version": "0.0",
    "x-build-id": "gTmPPJj4qNZw7bkJT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nice_dev~pinterest-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nice_dev-pinterest-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/nice_dev~pinterest-scraper/runs": {
      "post": {
        "operationId": "runs-sync-nice_dev-pinterest-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/nice_dev~pinterest-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-nice_dev-pinterest-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "startUrls": {
            "title": "Start URLs",
            "maxItems": 1000,
            "type": "array",
            "description": "Pinterest URLs, any country domain (pinterest.com, .fr, .de, .co.uk, .ca…): a pin (`https://www.pinterest.com/pin/142567144449027286/`), a board (`/nasa/learn-with-nasa/`) or a board section, a profile (`/nasa/`, `/nasa/_created/`, `/nasa/pins/`, `/nasa/boards/`) or a search (`/search/pins/?q=wedding`). Pagination is automatic. When this list is not empty, the search fields below (keywords) are ignored; filters, caps and monitoring still apply. Max 1 000 URLs.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "query": {
            "title": "Search keyword",
            "maxLength": 200,
            "type": "string",
            "description": "Free-text search, exactly as typed in the Pinterest search bar (e.g. `home decor`). What is searched (pins, videos, boards or users) is set by **Search type**."
          },
          "searchQueries": {
            "title": "More search keywords",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "Several keywords in one run: one search per keyword. Added to **Search keyword**; pins found by several searches are saved once.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "searchScope": {
            "title": "Search type",
            "enum": [
              "pins",
              "videos",
              "boards",
              "users"
            ],
            "type": "string",
            "description": "What the keyword search returns: pins, video pins, boards or user profiles (same tabs as on pinterest.com).",
            "default": "pins"
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of rows (pins, boards, profiles, keyword suggestions) to save for the whole run (after deduplication and filters). 0 = no limit.",
            "default": 100
          },
          "maxItemsPerQuery": {
            "title": "Max results per search",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Cap for EACH list read, so that the first one cannot use up the whole **Max results** budget: a keyword's results, its keyword suggestions, a profile's pins and its boards each count separately (the profile row itself is not counted; the board row of a board URL counts in its list: a cap of 10 gives that row and 9 pins). 0 = no per-search cap.",
            "default": 0
          },
          "extractDetails": {
            "title": "Extract pin details",
            "type": "boolean",
            "description": "Open the page of each pin that has a public numeric id (1 extra request per pin) to add saves, repins, comment and share counts, category, hashtags, full description, product price and the original creator. Paid option, charged per enriched pin (see Pricing). A pin URL you paste in Start URLs is the exception: it is always read from its page and charged `pin-details`, even with this option unticked. Pins found by keyword search, in a board or among related pins have an encrypted id that Pinterest does not open to visitors without an account: they keep the list fields only. Pins of boards, sections and profiles already include their saves without this option (repins too on boards and on a profile's created pins); the number of comments comes only with it.",
            "default": false
          },
          "includeVisualObjects": {
            "title": "Include visual objects",
            "type": "boolean",
            "description": "With **Extract pin details**: also save the objects Pinterest detects in the pin image (column `visualObjects`: name, position and score of each). Free, no extra request. Ignored when **Extract pin details** is off.",
            "default": true
          },
          "includeRelatedPins": {
            "title": "Include related pins",
            "type": "boolean",
            "description": "For each pin URL in **Start URLs**, also save the 'More like this' pins that Pinterest shows under it (column `relatedToPinId` = the source pin). Paid option, charged per related pin (see Pricing).",
            "default": false
          },
          "maxRelatedPinsPerPin": {
            "title": "Max related pins per pin",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Cap of related pins saved for each pin URL (used when **Include related pins** is on).",
            "default": 25
          },
          "profilePins": {
            "title": "Pins of a profile",
            "enum": [
              "created",
              "saved",
              "none"
            ],
            "type": "string",
            "description": "Which pins to save for a profile URL: the pins the user created, the pins the user saved, or none (profile row and boards only).",
            "default": "created"
          },
          "includeProfileBoards": {
            "title": "Include the boards of a profile",
            "type": "boolean",
            "description": "For a profile URL, also save one row per public board of the user (name, pin count, followers, sections, cover image). Paid option, charged per board (see Pricing). Off: a profile URL gives the profile row and its pins only.",
            "default": false
          },
          "includeUserInfoOnly": {
            "title": "Profile info only",
            "type": "boolean",
            "description": "For a profile URL, save only the profile row (followers, following, pins, boards, monthly views, website…), without its pins or boards. Fastest way to check many profiles.",
            "default": false
          },
          "includeKeywordSuggestions": {
            "title": "Include keyword suggestions",
            "type": "boolean",
            "description": "For each search keyword, also save the related keyword suggestions Pinterest offers for it (about 12 per keyword) as rows of type `keyword`. Paid option, charged per suggestion (see Pricing).",
            "default": false
          },
          "keywordSuggestionDepth": {
            "title": "Keyword suggestion depth",
            "minimum": 1,
            "maximum": 3,
            "type": "integer",
            "description": "1 = suggestions of your keywords only. 2 or 3 = also the suggestions of each suggestion (about 12 times more rows per level). Used only when 'Include keyword suggestions' is on.",
            "default": 1
          },
          "includePinAnalysis": {
            "title": "AI pin analysis",
            "type": "boolean",
            "description": "An AI looks at the picture of each pin and writes an analysis of it in English: what it shows, subject, niche and sub-niche, content type, styles, colors, objects, the text written in the picture, whether people are visible, target audience, product category, brand when its logo is visible, a purchase-intent score from 0 to 100 and keywords. Applies to the pins only (boards, profiles and keyword suggestions are delivered without it). Paid Apify plans only. Charged as a separate event, once per pin analyzed; nothing is charged when the analysis is skipped or fails (the pin is delivered without it and the reason is in `pinAnalysisStatus`).",
            "default": false
          },
          "maxPinAnalyses": {
            "title": "Max AI pin analyses",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Most analyses made (and charged) in one run, used when **AI pin analysis** is on. The pins beyond it are delivered without analysis.",
            "default": 100
          },
          "excludeAiGenerated": {
            "title": "Exclude AI-generated images",
            "type": "boolean",
            "description": "Ask Pinterest to leave AI-generated images out of the keyword search results (the site's own filter).",
            "default": false
          },
          "postedAfter": {
            "title": "Posted after",
            "type": "string",
            "description": "Only pins created on or after this date (pin creation date, `createdAt`): `2026-09-01`, or a period before now such as `7 days`, `2 weeks`, `1 month` (API: `24 hours` and full ISO date-times work too). Pins without a creation date are dropped. Pins of a section have a date only with **Extract pin details** (their page gives it), so without it they are dropped; pins of a board never have one, so a board is dropped whole. Boards and profiles are not filtered."
          },
          "postedBefore": {
            "title": "Posted before",
            "type": "string",
            "description": "Only pins created on or before this date (the whole day is included), or older than a period such as `30 days`. Pins of a section have a date only with **Extract pin details** (their page gives it), so without it they are dropped; pins of a board never have one, so a board is dropped whole."
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Drop the pins whose title or description contains one of these whole words (`art` does not match `party`), case and accents ignored. A word in Chinese, Japanese, Thai, Lao, Khmer or Burmese is looked for as a piece of text.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "verifiedOnly": {
            "title": "Verified creators only",
            "type": "boolean",
            "description": "Keep only the pins whose creator is a verified merchant or has a verified identity on Pinterest.",
            "default": false
          },
          "minSaves": {
            "title": "Min saves",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Keep only the pins saved at least this many times. Applies to pins whose saves are known (pins of boards, sections, profiles and related lists, or pins with **Extract pin details** that have a page of their own); pins without a page of their own (for example most pins from a keyword search) have no saves count and are kept (their number is given in the log). 0 = no filter.",
            "default": 0
          },
          "videoOnly": {
            "title": "Video pins only",
            "type": "boolean",
            "description": "Keep only video pins.",
            "default": false
          },
          "excludePromoted": {
            "title": "Exclude promoted pins",
            "type": "boolean",
            "description": "Drop ads (promoted pins) from the results.",
            "default": false
          },
          "onlyWithLink": {
            "title": "Only pins with a link",
            "type": "boolean",
            "description": "Keep only the pins that link to a website (`link` not empty), e.g. to collect shop or blog pages.",
            "default": false
          },
          "minReactions": {
            "title": "Min reactions",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Keep only the pins with at least this many reactions (`reactionCount`, known for every pin but the ones listed under a pasted pin: those are kept). 0 = no filter.",
            "default": 0
          },
          "minFollowers": {
            "title": "Min creator followers",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Keep only the pins whose creator has at least this many followers, and the profiles / boards with at least this many followers. The creator's followers are given on keyword searches and on pin pages only: pins of boards, sections, profiles and related lists (without **Extract pin details**) are kept. 0 = no filter.",
            "default": 0
          },
          "maxFollowers": {
            "title": "Max creator followers",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Keep only the pins whose creator has at most this many followers, and the profiles / boards with at most this many followers (find small creators). Unknown counts are kept, as above. 0 = no limit.",
            "default": 0
          },
          "onlyNew": {
            "title": "Only new results",
            "type": "boolean",
            "description": "Skip the rows that a previous run (same **Memory key**) already delivered: they are not saved and not charged, and their page is not even opened. First run = everything is new.",
            "default": false
          },
          "stateKey": {
            "title": "Memory key",
            "pattern": "^[a-zA-Z0-9_-]{1,64}$",
            "maxLength": 64,
            "type": "string",
            "description": "Name of the memory used by **Only new results**. Give each schedule / task its own key (e.g. `wedding-ideas`) so that they do not share their memory. Letters, digits, `-` and `_`.",
            "default": "default"
          },
          "resetState": {
            "title": "Reset the memory",
            "type": "boolean",
            "description": "Forget everything remembered under this **Memory key** before the run: this run returns (and charges) every row again. Untick it afterwards. It only works together with **Only new results**: without it no memory is opened, nothing is forgotten, and the run says so.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy or your own proxies. Keep the default: it is included in the price. The residential Apify proxy is not available in this Actor.",
            "default": {
              "useApifyProxy": true
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of requests processed in parallel.",
            "default": 8
          },
          "maxRequestsPerMinute": {
            "title": "Max requests per minute",
            "minimum": 10,
            "maximum": 2000,
            "type": "integer",
            "description": "Most requests to the site in any 60 seconds, all of them counted: results pages, pin pages and the extra page read for a pin. A budget, not an even pace: up to this many can leave at once when the minute starts (spread them with the minimum delay below). Lower it if the site answers HTTP 429 / 403 in the log.",
            "default": 120
          },
          "minRequestIntervalMs": {
            "title": "Min delay between requests",
            "minimum": 0,
            "maximum": 60000,
            "type": "integer",
            "description": "Smallest gap between two requests, in milliseconds. Unlike the per-minute rate, this spreads the requests evenly instead of letting them go out in a burst. 0 = no gap.",
            "default": 0
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Retries per request before it is marked as failed. Behind a proxy, a request the site turns away is also retried on a new proxy session up to 10 times without using up these retries.",
            "default": 5
          },
          "debugLog": {
            "title": "Debug log",
            "type": "boolean",
            "description": "Include debug messages in the run log.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}