{
  "openapi": "3.0.1",
  "info": {
    "title": "Thomann Product Search Scraper",
    "description": "[💰 $4 / 1K] Scrape Thomann, Europe's biggest music gear retailer. Get brand, model, numeric price, currency, discount, rating, stock and article number. Search by keyword or paste URLs, across 9 country stores in EUR, GBP, PLN or SEK plus the VAT-free International store.",
    "version": "1.0",
    "x-build-id": "fb0Tl8MywFEe5WaMo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/solidcode~thomann-de-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-solidcode-thomann-de-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/solidcode~thomann-de-scraper/runs": {
      "post": {
        "operationId": "runs-sync-solidcode-thomann-de-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/solidcode~thomann-de-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-solidcode-thomann-de-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": {
          "searchTerms": {
            "title": "Search Terms",
            "type": "array",
            "description": "Type what you are looking for, for example 'shure sm7b' or 'fender stratocaster'. Each term runs as its own Thomann search. Leave empty if you are pasting URLs below.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Thomann URLs",
            "type": "array",
            "description": "Paste one or more Thomann search or category page URLs, for example https://www.thomann.de/gb/electric_guitars.html. Any filters and sorting already built into the URL are kept as they are.",
            "items": {
              "type": "string"
            }
          },
          "storefront": {
            "title": "Thomann Store",
            "enum": [
              "intl",
              "de",
              "gb",
              "at",
              "fr",
              "es",
              "it",
              "nl",
              "pl",
              "se"
            ],
            "type": "string",
            "description": "Which Thomann store to read. This sets the currency of the prices and the language of the product text and stock messages. The International store quotes VAT-free export prices and picks its currency automatically, so pick a country store when you need one specific currency. When you paste a URL above, that URL's own store is used for it instead."
          },
          "category": {
            "title": "Department",
            "enum": [
              "all",
              "GI",
              "TA",
              "DR",
              "ST",
              "PA",
              "LI",
              "DJ",
              "MI",
              "SW",
              "BL",
              "TR",
              "KA",
              "CA",
              "NO",
              "ZU"
            ],
            "type": "string",
            "description": "Limit results to one Thomann department. Works alongside your search terms, or on its own to browse a whole department when you enter no search term and no URL. When you paste a URL, that URL's own department is used instead."
          },
          "manufacturers": {
            "title": "Brands",
            "type": "array",
            "description": "Only return products from these brands, for example 'Fender', 'Shure' or 'Harley Benton'. Spell the brand the way Thomann does. Leave empty for all brands.",
            "items": {
              "type": "string"
            }
          },
          "minRating": {
            "title": "Minimum Rating",
            "enum": [
              "any",
              "3",
              "4",
              "5"
            ],
            "type": "string",
            "description": "Only return products customers rated at or above this level. Products with no reviews yet are excluded when you set this."
          },
          "minPrice": {
            "title": "Minimum Price",
            "minimum": 0,
            "type": "integer",
            "description": "Only return products priced at or above this amount, in the currency of the store you picked above. Leave empty for no minimum."
          },
          "maxPrice": {
            "title": "Maximum Price",
            "minimum": 0,
            "type": "integer",
            "description": "Only return products priced at or below this amount, in the currency of the store you picked above. Leave empty for no maximum."
          },
          "inStockOnly": {
            "title": "In Stock Only",
            "type": "boolean",
            "description": "Only return products Thomann can ship right now. Turn this off to also include pre-orders, back-orders and special-order items."
          },
          "sortBy": {
            "title": "Sort Results By",
            "enum": [
              "popularity",
              "priceAsc",
              "priceDesc",
              "rating",
              "newest",
              "nameAsc",
              "nameDesc"
            ],
            "type": "string",
            "description": "The order products are collected in. This matters when you cap the number of results: 'Price: low to high' with a cap of 100 gives you the 100 cheapest matches rather than the 100 most popular. Note that 'Newest products first', 'Name: A to Z' and 'Name: Z to A' leave out the few products Thomann has nothing to order them by, so they return a slightly smaller set (about 4% fewer) than the other sorts."
          },
          "maxResults": {
            "title": "Max Results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of products to collect per search term and per pasted URL. For example, 2 search terms with this set to 100 returns up to 200 products in total. Results come back a page at a time, so a run finishes the page it is on and can end slightly above this number. It can land a few short when Thomann has fewer matches than you asked for, or serves a page with a couple of items missing. Set to 0 to collect every match Thomann has, which can be tens of thousands."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}