{
  "openapi": "3.0.1",
  "info": {
    "title": "Fragrantica Perfume Scraper",
    "description": "Extract perfume data from Fragrantica.com including name, brand, year, perfumer, fragrance pyramid (top, middle, base notes), main accords, ratings, and more. Supports scraping by direct perfume URL or by designer/brand page.\n",
    "version": "0.1",
    "x-build-id": "KtTZaeayqSKLNsmrt"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jungle_synthesizer~fragrantica-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jungle_synthesizer-fragrantica-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/jungle_synthesizer~fragrantica-scraper/runs": {
      "post": {
        "operationId": "runs-sync-jungle_synthesizer-fragrantica-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/jungle_synthesizer~fragrantica-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-jungle_synthesizer-fragrantica-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": [
          "maxItems"
        ],
        "properties": {
          "sp_intended_usage": {
            "title": "What is the intended usage of this data?",
            "minLength": 1,
            "type": "string",
            "description": "What will this data feed? E.g. lead lists, KYB checks, price tracking."
          },
          "sp_improvement_suggestions": {
            "title": "How can we improve this crawler for you?",
            "minLength": 1,
            "type": "string",
            "description": "Provide any feedback or suggestions for improvements."
          },
          "sp_contact": {
            "title": "Contact email (optional)",
            "minLength": 1,
            "type": "string",
            "description": "We'll personally help with your use case. No spam."
          },
          "startUrls": {
            "title": "Perfume URLs",
            "type": "array",
            "description": "Direct links to individual perfume pages (e.g. https://www.fragrantica.com/perfume/Chanel/Coco-Mademoiselle-611.html)\n",
            "items": {
              "type": "string"
            }
          },
          "designerUrls": {
            "title": "Designer/Brand URLs",
            "type": "array",
            "description": "Brand pages to expand into all perfumes (e.g. https://www.fragrantica.com/designers/Chanel.html)\n",
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "Search keywords",
            "type": "array",
            "description": "Find perfumes by name or keyword (e.g. Aventus). Each keyword is searched on its own.",
            "items": {
              "type": "string"
            }
          },
          "brands": {
            "title": "Brands",
            "type": "array",
            "description": "Only perfumes from these brands (e.g. Chanel). Spelled as on Fragrantica.",
            "items": {
              "type": "string"
            }
          },
          "notes": {
            "title": "Notes",
            "type": "array",
            "description": "Only perfumes containing every one of these notes (e.g. Vanilla). Spelled in the language chosen below.",
            "items": {
              "type": "string"
            }
          },
          "language": {
            "title": "Site language",
            "enum": [
              "en",
              "de",
              "fr",
              "es",
              "it",
              "pt",
              "ru",
              "ja"
            ],
            "type": "string",
            "description": "Read perfume pages from this language edition of the site (notes, family, perfumer and audience in that language; the edition's own domain). Default English. Edition runs take perfume page URLs (startUrls/perfumeUrls); brand pages and search stay English.\n",
            "default": "en"
          },
          "notesLanguage": {
            "title": "Notes language",
            "enum": [
              "EN",
              "DE",
              "FR",
              "ES",
              "IT",
              "PL",
              "PT",
              "RU",
              "NL",
              "ZH",
              "RO"
            ],
            "type": "string",
            "description": "Language the note names above are written in. Default English; record text stays English.",
            "default": "EN"
          },
          "perfumerNames": {
            "title": "Perfumers",
            "type": "array",
            "description": "Only perfumes by these perfumers (e.g. Jacques Polge).",
            "items": {
              "type": "string"
            }
          },
          "gender": {
            "title": "Gender",
            "type": "array",
            "description": "Only perfumes marketed for the selected audiences.",
            "items": {
              "type": "string",
              "enum": [
                "women",
                "men",
                "unisex"
              ],
              "enumTitles": [
                "Women",
                "Men",
                "Unisex"
              ]
            }
          },
          "yearFrom": {
            "title": "Launched from (year)",
            "type": "integer",
            "description": "Earliest launch year."
          },
          "yearTo": {
            "title": "Launched until (year)",
            "type": "integer",
            "description": "Latest launch year."
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Minimum community rating, rounded, from 1 to 5."
          },
          "minVotes": {
            "title": "Minimum rating votes",
            "minimum": 1,
            "type": "integer",
            "description": "Minimum number of community rating votes."
          },
          "includeReviews": {
            "title": "Include reviews",
            "type": "boolean",
            "description": "Add the reviews shown on each perfume page. No extra charge.",
            "default": false
          },
          "maxReviewsPerPerfume": {
            "title": "Max reviews per perfume",
            "minimum": 1,
            "maximum": 250,
            "type": "integer",
            "description": "How many reviews to add per perfume (the page shows up to about 200)."
          },
          "includeCommunityVotes": {
            "title": "Include community votes",
            "type": "boolean",
            "description": "Add each perfume's community vote charts (rating split, when to wear, longevity, sillage, gender, price value), read in a real browser. Charged as one extra record per perfume with votes. English edition only. Run with at least 2048 MB of memory when this is on.",
            "default": false
          },
          "maxItems": {
            "title": "Max Items",
            "type": "integer",
            "description": "Maximum number of perfume records to scrape"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}