{
  "openapi": "3.0.1",
  "info": {
    "title": "Pinterest Profile Scraper (No Login)",
    "description": "Scrape public Pinterest profiles: followers, following, monthly views, bio, website, pin and board counts and join date, plus each profile's boards and pins if you want them. Find accounts in a niche by keyword, and track follower changes on schedules. No login. $1 per 1,000 rows.",
    "version": "0.1",
    "x-build-id": "75ioFKCfmulOj0Glx"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/locaihost~pinterest-profiles/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-locaihost-pinterest-profiles",
        "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/locaihost~pinterest-profiles/runs": {
      "post": {
        "operationId": "runs-sync-locaihost-pinterest-profiles",
        "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/locaihost~pinterest-profiles/run-sync": {
      "post": {
        "operationId": "run-sync-locaihost-pinterest-profiles",
        "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": {
          "usernames": {
            "title": "Profiles (usernames)",
            "type": "array",
            "description": "Pinterest usernames as they appear in the profile link, like bhg for https://www.pinterest.com/bhg/. Each returns a profile row: display name, bio, website, followers, following, monthly views, pin and board counts, joined date.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Profile links",
            "type": "array",
            "description": "Or paste profile links. Any country site works (pinterest.co.uk, de.pinterest.com...). Pin and board links work too: they return that pin or board.",
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "Find profiles by keyword",
            "type": "array",
            "description": "Search Pinterest for accounts the way its search box does, for example interior designer or vegan recipes. Each match is a full profile row, so this is a quick way to list the accounts in a niche with their follower counts and websites.",
            "items": {
              "type": "string"
            }
          },
          "searchType": {
            "title": "Search for",
            "enum": [
              "pins",
              "videos",
              "boards",
              "profiles"
            ],
            "type": "string",
            "description": "What keyword searches return. Profiles by default; pins, video pins and boards also work.",
            "default": "profiles"
          },
          "maxItemsPerSource": {
            "title": "Max profiles per keyword (and pins per profile)",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Pinterest shows a signed-out visitor about 25 results per search or profile, then asks them to log in. This Actor reads what a signed-out visitor sees, so 25 is the practical most. For more profiles, add more keywords.",
            "default": 25
          },
          "profileBoards": {
            "title": "Boards of each profile ($)",
            "type": "boolean",
            "description": "For each username or profile link, also return its public boards (name, description, pin and follower counts, cover image). Each board is a row.",
            "default": false
          },
          "maxBoardsPerProfile": {
            "title": "Max boards per profile",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Up to about 25, the boards a signed-out visitor is shown.",
            "default": 25
          },
          "profilePins": {
            "title": "Pins from profiles ($)",
            "enum": [
              "none",
              "created",
              "saved"
            ],
            "type": "string",
            "description": "For each username or profile link, also return pins: the ones it created (its Created tab) or its latest saves. Off by default.",
            "default": "none"
          },
          "fullDetails": {
            "title": "Full details for every pin",
            "type": "boolean",
            "description": "Open each profile found by keyword on its own page for bio, website, following and monthly views, and each pin for saves, comments and outbound link. Turn off for a faster, lighter run: rows then carry what the list showed (details: listing).",
            "default": true
          },
          "includeProductFields": {
            "title": "Product and rich-pin fields",
            "type": "boolean",
            "description": "Adds `price` and `priceCurrency` (product pins), `isBuyable`, `inStock`, `richPinType` (product, article, recipe...), `isRepin`, `isCarousel` and `carouselImages` to pin rows, when Pinterest sends them. Same price.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new since the last run",
            "type": "boolean",
            "description": "Profile rows are always returned fresh, so a schedule tracks follower and monthly view changes. Pins and boards that an earlier run with the same lookups already returned are skipped and not charged.",
            "default": false
          },
          "maxResults": {
            "title": "Max rows in total",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many charged rows. 0 means no limit.",
            "default": 0
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}