{
  "openapi": "3.0.1",
  "info": {
    "title": "Pinterest Scraper · Pinterest Search, Pins & Profile Scraper",
    "description": "Pinterest scraper, no login: 2,000 search pins with saves in 9–15 s. Each row: title, image, saves, comments, reactions, outbound link, video, pinner, board. Also a profile's pins with working pin links, profile stats, boards. Real links for search pins with one tick. CSV, Excel, JSON.",
    "version": "1.0",
    "x-build-id": "6IjKE5MPZZ2poZ0Y1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/instagram-data-api~pinterest-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-instagram-data-api-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/instagram-data-api~pinterest-scraper/runs": {
      "post": {
        "operationId": "runs-sync-instagram-data-api-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/instagram-data-api~pinterest-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-instagram-data-api-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": {
          "searchQueries": {
            "title": "Search words",
            "type": "array",
            "description": "What you would type into Pinterest's search box, one search per line. Each search returns pins with saves, comments, the outbound link, the image, the pinner and the board. Pinterest links are fine here too.",
            "items": {
              "type": "string"
            }
          },
          "searchType": {
            "title": "Search for",
            "enum": [
              "pins",
              "videos",
              "boards",
              "profiles"
            ],
            "type": "string",
            "description": "What each search returns: pins, video pins only (with the video's HLS link), boards, or profiles.",
            "default": "pins"
          },
          "usernames": {
            "title": "Profiles — usernames or profile links",
            "type": "array",
            "description": "pinterest, @marthastewart or https://www.pinterest.com/marthastewart/ — one per line. Each gives a profile row (followers, pins, boards, monthly views, bio, website) and the account's pins, newest first, with working pin links.",
            "items": {
              "type": "string"
            }
          },
          "profileMode": {
            "title": "For each profile return",
            "enum": [
              "pinsAndProfile",
              "pins",
              "profile",
              "boards"
            ],
            "type": "string",
            "description": "«Pins + profile» — one profile row, then the account's pins. «Pins only» skips the profile row. «Profile only» — just the profile row. «Boards» — the profile row and the list of its boards.",
            "default": "pinsAndProfile"
          },
          "urls": {
            "title": "Pinterest links — boards, pins, profiles, searches",
            "type": "array",
            "description": "Any mix, one per line: a board (https://www.pinterest.com/pinterest/media-mindfulness/) — its pins; a pin (https://www.pinterest.com/pin/424605071145711021/ or a pin.it short link) — that pin's full row; a profile; a search page. Duplicates are dropped before anything is read.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max results per search, profile or board",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "How many rows each input returns at most, in Pinterest's own order. You pay for delivered rows only.",
            "default": 50
          },
          "findPinLinks": {
            "title": "Find real pin links (+$2.80 per 1,000 links found)",
            "type": "boolean",
            "description": "Pinterest gives logged-out visitors an opaque id (e1_…) for pins in search and board results, and that id opens no page. With this on, the Actor looks each pin up among its pinner's own newest pins and returns the real numeric id and the working pin link. Charged only for links found; pins of profiles and pin links always have real links for free.",
            "default": false
          },
          "minSaves": {
            "title": "Minimum saves",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only pins with at least this many saves. A pin Pinterest gives no saves number for is judged by its own repin count."
          },
          "onlyWithLink": {
            "title": "Only pins with an outbound link",
            "type": "boolean",
            "description": "Keep only pins that lead to a website (a shop, a blog, a video).",
            "default": false
          },
          "onlyVideos": {
            "title": "Only video pins",
            "type": "boolean",
            "description": "Keep only video pins of each result. For a search, «Search for: Videos» asks Pinterest for videos directly and is faster.",
            "default": false
          },
          "createdAfter": {
            "title": "Only pins saved after",
            "type": "string",
            "description": "A date (2026-10-01) or a period back from now (30 days, 2 weeks, 3 months). Pinterest's search is ordered by relevance, not by date — this filter keeps the newer pins of what it returns."
          },
          "maxConcurrency": {
            "title": "Requests at once",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many requests run at the same time. The default suits most runs.",
            "default": 8
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Nothing to set up: Apify Proxy is used by default and the Actor switches route by itself if Pinterest stops answering. Choose a group or your own proxies only if you need to.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}