{
  "openapi": "3.0.1",
  "info": {
    "title": "Pinterest Search Scraper: Pins & Boards, No Login",
    "description": "Scrape Pinterest search, boards, board sections, profiles and pin URLs without login or cookies. Get pins, video pins, boards or people: title, image and video URL, outbound link, saves, repins, created date, followers. JSON, CSV or Excel.",
    "version": "0.2",
    "x-build-id": "WXnNtVRTnXKJxDVmR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cliqtomedia~pinterest-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cliqtomedia-pinterest-search-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/cliqtomedia~pinterest-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-cliqtomedia-pinterest-search-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/cliqtomedia~pinterest-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-cliqtomedia-pinterest-search-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "What to scrape",
            "enum": [
              "search",
              "board",
              "profile"
            ],
            "type": "string",
            "description": "search: keywords or Pinterest search URLs (pins, boards, videos or people). board: board or board section URLs (pinterest.com/username/board-name/ or …/board-name/section/). profile: profile URLs or usernames. In every mode a pinterest.com/pin/<number>/ URL returns that one pin.",
            "default": "search"
          },
          "queries": {
            "title": "Search keywords",
            "maxItems": 50,
            "type": "array",
            "description": "Search mode: up to 50 keywords, e.g. home office ideas. Each keyword is searched separately; duplicates are searched once. In board or profile mode you may put board paths (username/board) or usernames here instead of URLs.",
            "items": {
              "type": "string"
            }
          },
          "urls": {
            "title": "Pinterest URLs",
            "maxItems": 50,
            "type": "array",
            "description": "Any of: search URLs (https://www.pinterest.com/search/pins/?q=..., /search/boards/, /search/videos/, /search/users/), board URLs (https://www.pinterest.com/username/board-name/), board section URLs (…/board-name/section-name/), profile URLs (https://www.pinterest.com/username/) or pin URLs with a numeric ID (https://www.pinterest.com/pin/424605071146328377/). Any Pinterest country domain works. Short pin.it links, e1_ pin IDs and non-Pinterest URLs are skipped and listed in RUN_SUMMARY.",
            "items": {
              "type": "string"
            }
          },
          "resultType": {
            "title": "Results",
            "enum": [
              "pins",
              "boards",
              "videos",
              "users"
            ],
            "type": "string",
            "description": "pins: one row per pin. boards: one row per board (board search, or the boards of a profile). videos: video pins only, with a videoUrl (search mode). users: one row per Pinterest account, with followers, pins and boards (search mode). Board mode always returns pins. A search URL's own /pins/, /boards/, /videos/ or /users/ path wins over this setting.",
            "default": "pins"
          },
          "maxItems": {
            "title": "Max results per keyword or URL",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Stop each keyword, board, section or profile after this many rows (1–1000). You pay per saved row. To cap the whole run, use \"Max results for the whole run\" or the run option Max items.",
            "default": 50
          },
          "maxTotalItems": {
            "title": "Max results for the whole run (optional)",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Stop the whole run after this many rows across all keywords and URLs (1–50000). The run then ends as Succeeded with RUN_SUMMARY limitReached: MAX_ITEMS. If the Apify run option \"Max items\" is also set, the smaller of the two applies. Empty means no run-wide limit."
          },
          "includePinDetails": {
            "title": "Try to add saves to search pins",
            "type": "boolean",
            "description": "Pinterest search pages do not include the saves count, outbound link for some pins, or comment count. When on, the Actor opens search pins that have a numeric ID to fill these fields (one extra request per pin, same price per row). Most search pins now have new-style IDs (e1_…) that this lookup does not accept; they keep these fields empty. For saves, use board or profile mode.",
            "default": false
          },
          "onlyPinsWithLink": {
            "title": "Only pins with an outbound link",
            "type": "boolean",
            "description": "Keep only pins that link to a website (link field filled). Dropped pins are not saved and not charged.",
            "default": false
          },
          "minSaves": {
            "title": "Minimum saves",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only pins saved at least this many times. Works for board, section, profile and pin URLs; Pinterest search results carry no saves count, so search mode rejects this filter. Pins with an unknown saves count are dropped."
          },
          "createdAfter": {
            "title": "Created on or after",
            "type": "string",
            "description": "Keep only pins created on or after this date, e.g. 2026-01-01. Pins with no creation date are dropped."
          },
          "excludeWords": {
            "title": "Exclude words",
            "maxItems": 50,
            "type": "array",
            "description": "Drop rows whose title, description or alt text (board name, user name) contains any of these words, case-insensitive. Up to 50 words.",
            "items": {
              "type": "string"
            }
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy is used by default so Pinterest sees ordinary visitor IPs. Change only if Pinterest blocks runs (try the RESIDENTIAL group).",
            "default": {
              "useApifyProxy": true
            }
          },
          "deliveryConnector": {
            "title": "Send results to (optional)",
            "type": "string",
            "description": "Your Slack, Notion or other MCP connector. After the run the Actor posts a short summary there. Connect services once in Apify Console → MCP connectors."
          },
          "deliveryTarget": {
            "title": "Notion page or channel (optional)",
            "type": "string",
            "description": "Where to post the summary: a Notion page link (each run is added on top of that page) or a Slack channel ID. Notion needs a page here; without it the summary is not sent and the run summary says why."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}