{
  "openapi": "3.0.1",
  "info": {
    "title": "Pinterest Trends Scraper: Keyword Growth & History",
    "description": "Scrape Pinterest Trends with no login: trending keyword lists for 30 markets by interest, age, gender and season, your own keywords looked up, related keywords, product categories and featured topics. Week, month and year growth, 2 years of weekly history, US forecast. JSON, CSV or API.",
    "version": "0.1",
    "x-build-id": "Hk6wFbD9ezWdbWFVI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automation_craft~pinterest-trends-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automation_craft-pinterest-trends-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/automation_craft~pinterest-trends-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automation_craft-pinterest-trends-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/automation_craft~pinterest-trends-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automation_craft-pinterest-trends-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": {
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "Pinterest Trends markets: US, CA, GB, DE, FR, IT, ES, BR, MX, AR, CO, IN, ID, MY, PH, TH, KR, SA, EG, TR and the groups GB+IE, AU+NZ, DE+AT+CH, NL+BE+LU, SE+DK+FI+NO and more. A country Pinterest serves only inside a group is read as that group (AU as AU+NZ, NL as NL+BE+LU), and each row names both. Leave empty for the United States. Product categories and featured topics: US, CA and GB+IE only.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "US",
                "CA",
                "GB",
                "GB+IE",
                "DE",
                "DE+AT+CH",
                "FR",
                "IT",
                "ES",
                "IT+ES+PT+GR+MT",
                "NL+BE+LU",
                "SE+DK+FI+NO",
                "PL+RO+HU+SK+CZ",
                "CY+CZ+GR+HU+MT+PL+RO+SK",
                "AU+NZ",
                "BR",
                "MX",
                "AR",
                "CO",
                "MX+AR+CO+CL",
                "CR+DO+EC+GT+PE",
                "IN",
                "ID",
                "MY",
                "PH",
                "TH",
                "KR",
                "SA",
                "EG",
                "TR",
                "AU",
                "NZ",
                "IE",
                "AT",
                "CH",
                "NL",
                "BE",
                "LU",
                "SE",
                "DK",
                "FI",
                "NO",
                "PT",
                "GR",
                "MT",
                "PL",
                "RO",
                "HU",
                "SK",
                "CZ",
                "CL",
                "CR",
                "DO",
                "EC",
                "GT",
                "PE",
                "CY",
                "UK"
              ],
              "enumTitles": [
                "US: United States",
                "CA: Canada",
                "GB: United Kingdom",
                "GB+IE: United Kingdom and Ireland",
                "DE: Germany",
                "DE+AT+CH: Germany, Austria and Switzerland",
                "FR: France",
                "IT: Italy",
                "ES: Spain",
                "IT+ES+PT+GR+MT: Italy, Spain, Portugal, Greece and Malta",
                "NL+BE+LU: Netherlands, Belgium and Luxembourg",
                "SE+DK+FI+NO: Sweden, Denmark, Finland and Norway",
                "PL+RO+HU+SK+CZ: Poland, Romania, Hungary, Slovakia and Czechia",
                "CY+CZ+GR+HU+MT+PL+RO+SK: Cyprus, Czechia, Greece, Hungary, Malta, Poland, Romania and Slovakia",
                "AU+NZ: Australia and New Zealand",
                "BR: Brazil",
                "MX: Mexico",
                "AR: Argentina",
                "CO: Colombia",
                "MX+AR+CO+CL: Mexico, Argentina, Colombia and Chile",
                "CR+DO+EC+GT+PE: Costa Rica, Dominican Republic, Ecuador, Guatemala and Peru",
                "IN: India",
                "ID: Indonesia",
                "MY: Malaysia",
                "PH: Philippines",
                "TH: Thailand",
                "KR: South Korea",
                "SA: Saudi Arabia",
                "EG: Egypt",
                "TR: Turkey",
                "AU: Australia (read as AU+NZ)",
                "NZ: New Zealand (read as AU+NZ)",
                "IE: Ireland (read as GB+IE)",
                "AT: Austria (read as DE+AT+CH)",
                "CH: Switzerland (read as DE+AT+CH)",
                "NL: Netherlands (read as NL+BE+LU)",
                "BE: Belgium (read as NL+BE+LU)",
                "LU: Luxembourg (read as NL+BE+LU)",
                "SE: Sweden (read as SE+DK+FI+NO)",
                "DK: Denmark (read as SE+DK+FI+NO)",
                "FI: Finland (read as SE+DK+FI+NO)",
                "NO: Norway (read as SE+DK+FI+NO)",
                "PT: Portugal (read as IT+ES+PT+GR+MT)",
                "GR: Greece (read as IT+ES+PT+GR+MT)",
                "MT: Malta (read as IT+ES+PT+GR+MT)",
                "PL: Poland (read as PL+RO+HU+SK+CZ)",
                "RO: Romania (read as PL+RO+HU+SK+CZ)",
                "HU: Hungary (read as PL+RO+HU+SK+CZ)",
                "SK: Slovakia (read as PL+RO+HU+SK+CZ)",
                "CZ: Czechia (read as PL+RO+HU+SK+CZ)",
                "CL: Chile (read as MX+AR+CO+CL)",
                "CR: Costa Rica (read as CR+DO+EC+GT+PE)",
                "DO: Dominican Republic (read as CR+DO+EC+GT+PE)",
                "EC: Ecuador (read as CR+DO+EC+GT+PE)",
                "GT: Guatemala (read as CR+DO+EC+GT+PE)",
                "PE: Peru (read as CR+DO+EC+GT+PE)",
                "CY: Cyprus (read as CY+CZ+GR+HU+MT+PL+RO+SK)",
                "UK: United Kingdom (read as GB)"
              ]
            }
          },
          "trendTypes": {
            "title": "Trend types",
            "type": "array",
            "description": "Which ranked lists to read: growing trends, top monthly, top yearly, seasonal. Leave empty to read no list (only keywords, categories or featured topics).",
            "items": {
              "type": "string",
              "enum": [
                "growing",
                "top_monthly",
                "top_yearly",
                "seasonal"
              ],
              "enumTitles": [
                "Growing trends",
                "Top monthly trends",
                "Top yearly trends",
                "Seasonal trends"
              ]
            }
          },
          "interests": {
            "title": "Interests",
            "type": "array",
            "description": "Read one list per interest (Pinterest's 24 top level interests, such as Home decor, Beauty or Food and drinks). Leave empty for the list across all interests.",
            "items": {
              "type": "string",
              "enum": [
                "womens_fashion",
                "mens_fashion",
                "kids_fashion",
                "beauty",
                "health",
                "design",
                "wedding",
                "travel",
                "gardening",
                "finance",
                "vehicles",
                "architecture",
                "food_and_drinks",
                "sport",
                "parenting",
                "education",
                "animals",
                "diy_and_crafts",
                "home_decor",
                "event_planning",
                "quotes",
                "entertainment",
                "electronics",
                "art"
              ],
              "enumTitles": [
                "Women's fashion",
                "Men's fashion",
                "Children's fashion",
                "Beauty",
                "Health",
                "Design",
                "Wedding",
                "Travel",
                "Gardening",
                "Finance",
                "Vehicles",
                "Architecture",
                "Food and drinks",
                "Sport",
                "Parenting",
                "Education",
                "Animals",
                "DIY and crafts",
                "Home decor",
                "Event planning",
                "Quotes",
                "Entertainment",
                "Electronics",
                "Art"
              ]
            }
          },
          "seasonalEvents": {
            "title": "Seasonal events",
            "type": "array",
            "description": "Read one list per seasonal event of the region, such as christmas, thanksgiving, halloween, valentines day, mothers day (US) or karneval and oktoberfest (DE), with Pinterest's own names. An event the region does not track is a free status row.",
            "items": {
              "type": "string"
            }
          },
          "ageGroups": {
            "title": "Age groups",
            "type": "array",
            "description": "Only searches by people of these ages: the lists, the history and the related keywords are filtered together. Leave empty for everyone.",
            "items": {
              "type": "string",
              "enum": [
                "18-20",
                "21-24",
                "25-34",
                "35-44",
                "45-49",
                "50-54",
                "55-64",
                "65+"
              ],
              "enumTitles": [
                "18-20",
                "21-24",
                "25-34",
                "35-44",
                "45-49",
                "50-54",
                "55-64",
                "65+"
              ]
            }
          },
          "genders": {
            "title": "Genders",
            "type": "array",
            "description": "Only searches by people of these genders (Pinterest's own groups: male, female, unspecified). Leave empty for everyone.",
            "items": {
              "type": "string",
              "enum": [
                "male",
                "female",
                "unspecified"
              ],
              "enumTitles": [
                "Male",
                "Female",
                "Unspecified"
              ]
            }
          },
          "includeKeywords": {
            "title": "Only keywords containing",
            "type": "array",
            "description": "Keep only list keywords that contain one of these words or phrases (Pinterest matches inside the keyword, in lower case: \"nail\" keeps \"nail art\" and \"fall nails\").",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Leave out keywords containing",
            "type": "array",
            "description": "Leave out list keywords that contain any of these words or phrases (matched inside the keyword, in lower case).",
            "items": {
              "type": "string"
            }
          },
          "endDate": {
            "title": "List date",
            "type": "string",
            "description": "Read the lists as of this date (YYYY-MM-DD). Leave empty for the latest week Pinterest Trends has (a few days behind today). Recent days are daily lists; older dates are read as Pinterest's weekly list of that week; Pinterest serves about the last 12 months."
          },
          "maxRowsPerList": {
            "title": "Rows per list",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How many keywords to deliver from each list, after your filters and sort (Pinterest ranks at most 100). Leave empty for all of them."
          },
          "sortBy": {
            "title": "Sort each list by",
            "enum": [
              "rank",
              "search_interest",
              "weekly_growth",
              "monthly_growth",
              "yearly_growth",
              "seasonality"
            ],
            "type": "string",
            "description": "The order the rows of each list are delivered in (and which rows Rows per list keeps): Pinterest's own rank, search interest, or weekly, monthly or yearly growth."
          },
          "minWeeklyGrowth": {
            "title": "Minimum weekly growth (%)",
            "type": "number",
            "description": "Keep only list keywords that grew at least this much week over week, in percent (for example 20). Keywords Pinterest marks as new from almost nothing always pass. Left out keywords are free."
          },
          "minMonthlyGrowth": {
            "title": "Minimum monthly growth (%)",
            "type": "number",
            "description": "Keep only list keywords that grew at least this much month over month, in percent."
          },
          "minYearlyGrowth": {
            "title": "Minimum yearly growth (%)",
            "type": "number",
            "description": "Keep only list keywords that grew at least this much year over year, in percent."
          },
          "keywords": {
            "title": "Keywords to look up",
            "type": "array",
            "description": "Your own keywords, looked up in every region: one row per keyword with its growth, weekly history and forecast. Pinterest Trends stores keywords in lower case; a keyword it does not hold is a free status row with what Pinterest's search box suggests instead.",
            "items": {
              "type": "string"
            }
          },
          "compareOnOneScale": {
            "title": "Compare keywords on one scale",
            "type": "boolean",
            "description": "Put all looked up keywords (up to 100) on one 0 to 100 scale, so their search interest can be compared with each other. Off: each keyword has its own 0 to 100 scale."
          },
          "relatedKeywords": {
            "title": "Add related keywords",
            "type": "boolean",
            "description": "For every looked up keyword found (and the top list keywords you expand), add Pinterest's 5 related keywords as rows of their own, each with its history."
          },
          "keywordSuggestions": {
            "title": "Add keyword suggestions",
            "type": "boolean",
            "description": "For every looked up keyword found (and the top list keywords you expand), add the 10 suggestions of Pinterest's search box as rows of their own, each with its history."
          },
          "expandTopListKeywords": {
            "title": "Expand top list keywords",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Also add related keywords and suggestions (whichever of the two you turned on) for the top N keywords of every list read (0 for none, at most 20)."
          },
          "historyLength": {
            "title": "History length",
            "enum": [
              "1_month",
              "3_months",
              "6_months",
              "12_months",
              "24_months"
            ],
            "type": "string",
            "description": "How much weekly search interest history every keyword row carries (free in every row)."
          },
          "forecast": {
            "title": "Forecast",
            "enum": [
              "none",
              "4_weeks",
              "8_weeks",
              "13_weeks"
            ],
            "type": "string",
            "description": "Pinterest's own forecast of the coming weeks, with its upper and lower bounds (free in every row). Pinterest forecasts United States keywords only, and not every keyword."
          },
          "productCategories": {
            "title": "Product categories",
            "type": "boolean",
            "description": "Add Pinterest's ranked shopping categories (US, CA and GB+IE): every category with its growth, relative volume and related searches."
          },
          "categoryActivity": {
            "title": "Category activity",
            "enum": [
              "outbound_clicks",
              "saves",
              "engagement"
            ],
            "type": "string",
            "description": "Which shopping activity ranks the categories: outbound clicks to shops, saves or engagement."
          },
          "categoryRanking": {
            "title": "Category ranking",
            "enum": [
              "growth",
              "high_volume",
              "viral"
            ],
            "type": "string",
            "description": "Fastest growing, highest volume or viral categories."
          },
          "categoryParents": {
            "title": "Only categories under",
            "type": "array",
            "description": "Keep only the categories under these top level groups (Fashion, Home decor, Beauty and 11 more). Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "Fashion",
                "Home decor",
                "Beauty",
                "DIY",
                "Media",
                "Arts & entertainment",
                "Toys & games",
                "Wedding",
                "Electronics",
                "Food & beverages",
                "Animals & pet supplies",
                "Vehicles & parts",
                "Sporting goods",
                "Hardware"
              ],
              "enumTitles": [
                "Fashion",
                "Home decor",
                "Beauty",
                "DIY",
                "Media",
                "Arts & entertainment",
                "Toys & games",
                "Wedding",
                "Electronics",
                "Food & beverages",
                "Animals & pet supplies",
                "Vehicles & parts",
                "Sporting goods",
                "Hardware"
              ]
            }
          },
          "featuredTopics": {
            "title": "Featured topics",
            "type": "boolean",
            "description": "Add Pinterest's featured trend topics and editorial picks (US, CA and GB+IE): name, description, growth, related searches, weekly series and pin images."
          },
          "audienceBreakdown": {
            "title": "Audience breakdown (paid add-on)",
            "type": "boolean",
            "description": "Add the age and gender split of the people searching each delivered keyword (percent per age group and gender). Charged per keyword that gets it, see Pricing."
          },
          "topPinsPerKeyword": {
            "title": "Top pins per keyword (paid add-on)",
            "minimum": 0,
            "maximum": 25,
            "type": "integer",
            "description": "Attach up to this many top Pinterest pins to each delivered keyword (title, image, outbound link, creator, reactions), from Pinterest search. 0 for none. Charged per pin delivered, see Pricing."
          },
          "keywordImages": {
            "title": "Keyword images (free)",
            "type": "boolean",
            "description": "Attach the 3 pin images Pinterest Trends shows for each delivered keyword (image links). Free."
          },
          "maxRows": {
            "title": "Maximum billed rows",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many billed trend rows in the whole run (up to 100000). Leave empty for no limit beyond the charge limit."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Leave it as is: the run reads from its own address and adds Apify datacenter exits when Pinterest's per address limit needs them. Set your own proxy only if you have a reason to."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}