{
  "openapi": "3.0.1",
  "info": {
    "title": "Musician's Friend Scraper",
    "description": "Scrape Musician's Friend - instruments, guitars, keyboards, drums, pro audio, and DJ gear. Browse any category or brand hub, run keyword search, or fetch full product detail (variants, pricing, reviews) by URL. No auth, no proxy required.",
    "version": "1.0",
    "x-build-id": "kbCTvXrhv4AHj0I8D"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~musiciansfriend-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-musiciansfriend-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/crawlerbros~musiciansfriend-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-musiciansfriend-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/crawlerbros~musiciansfriend-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-musiciansfriend-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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "category",
              "search",
              "byUrl"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "category"
          },
          "categorySlug": {
            "title": "Category / brand hub (mode=category)",
            "enum": [
              "guitars",
              "electric-guitars",
              "acoustic-guitars",
              "acoustic-electric-guitars",
              "classical-nylon-guitars",
              "solid-body-electric-guitars",
              "semi-hollow-and-hollow-body-electric-guitars",
              "left-handed-electric-guitars",
              "left-handed-acoustic-guitars",
              "12-string-acoustic-guitars",
              "extended-range-electric-guitars",
              "guitar-amplifiers",
              "guitar-pickups",
              "guitar-strings",
              "guitar-cases-and-gig-bags",
              "bass",
              "electric-bass",
              "acoustic-bass",
              "fretless-electric-bass",
              "4-string-electric-bass",
              "5-string-electric-bass",
              "double-basses",
              "bass-amplifiers",
              "bass-guitar-strings",
              "keyboards-midi",
              "digital-pianos",
              "home-digital-pianos",
              "stage-digital-pianos",
              "synthesizers",
              "arranger-keyboards",
              "keyboard-workstations",
              "portable-keyboards",
              "midi-controllers",
              "drums-percussion",
              "acoustic-drums",
              "acoustic-drum-sets",
              "electronic-drums",
              "electronic-drum-sets",
              "cymbals",
              "snare-drums",
              "drum-sticks-mallets",
              "drum-hardware",
              "world-percussion",
              "pa-speakers",
              "powered-pa-speakers",
              "microphones",
              "condenser-microphones",
              "dynamic-microphones",
              "wireless-systems",
              "mixers",
              "powered-mixers",
              "recording-gear",
              "audio-interfaces",
              "studio-monitors",
              "effects-pedals",
              "multi-effects-pedals",
              "pedalboards",
              "amplifiers-effects",
              "dj-gear",
              "live-sound",
              "lighting-stage-effects",
              "accessories",
              "straps-strap-locks",
              "cases-gig-bags-covers",
              "stands-racks",
              "tuners-metronomes",
              "cables-snakes",
              "ukuleles",
              "banjos",
              "mandolins",
              "folk-traditional-instruments",
              "headphones",
              "clothing",
              "books-sheet-music-media",
              "new-arrivals",
              "used-gear",
              "clearance",
              "open-box-musical-instruments",
              "demo-gear-sale",
              "fender-stratocaster",
              "fender-telecaster",
              "fender-jazz-bass",
              "fender-precision-bass",
              "fender-deals",
              "gibson-les-paul",
              "gibson-sg",
              "gibson-deals",
              "ibanez-rg",
              "ibanez-sr-series",
              "ibanez-deals",
              "epiphone-deals",
              "prs-deals",
              "taylor-gs-mini",
              "martin-grand-performance",
              "schecter-stiletto-basses",
              "yamaha-bb-electric-basses"
            ],
            "type": "string",
            "description": "Curated list of the most popular categories and brand hubs. For anything not listed, use `customCategory` below.",
            "default": "guitars"
          },
          "customCategory": {
            "title": "Custom category slug override (mode=category)",
            "type": "string",
            "description": "Any valid musiciansfriend.com category or brand-hub slug not in the dropdown above, e.g. `taylor-114ce`, `boss-katana`. Takes precedence over `categorySlug` when set."
          },
          "searchQuery": {
            "title": "Search query (mode=search)",
            "type": "string",
            "description": "Free-text keyword search, e.g. `fender stratocaster` or `usb audio interface`.",
            "default": "electric guitar"
          },
          "productUrls": {
            "title": "Product URLs (mode=byUrl)",
            "type": "array",
            "description": "Direct musiciansfriend.com product URLs to fetch full detail for (variants, pricing, reviews).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort order (mode=category/search)",
            "enum": [
              "bestMatch",
              "bestSellers",
              "relevance",
              "customerRatings",
              "priceHighToLow",
              "priceLowToHigh",
              "newestFirst",
              "brandNameAZ"
            ],
            "type": "string",
            "description": "Sort order applied to the listing. Note: when a search query exactly matches a category or brand name, Musician's Friend redirects to that category's own listing and this setting may not apply — use `mode=category` instead for guaranteed sort control.",
            "default": "bestMatch"
          },
          "minPrice": {
            "title": "Min price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Drop products whose starting price is below this amount."
          },
          "maxPrice": {
            "title": "Max price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Drop products whose starting price is above this amount."
          },
          "brandName": {
            "title": "Filter by brand name",
            "type": "string",
            "description": "Only keep products whose brand contains this text (case-insensitive), e.g. `Fender`."
          },
          "onSaleOnly": {
            "title": "On-sale items only",
            "type": "boolean",
            "description": "Only keep products currently marked on sale.",
            "default": false
          },
          "condition": {
            "title": "Condition (mode=category)",
            "enum": [
              "any",
              "new",
              "used",
              "openBox",
              "restock"
            ],
            "type": "string",
            "description": "Filter a category or brand hub listing to a single stock condition, using Musician's Friend's own Condition facet. Only applies to mode=category; mode=search does not support this filter.",
            "default": "any"
          },
          "minRating": {
            "title": "Minimum customer rating",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5"
            ],
            "type": "string",
            "description": "Only keep products with an average customer rating at or above this many stars. Products with no rating data yet always pass through."
          },
          "includeFullDetails": {
            "title": "Include full product details",
            "type": "boolean",
            "description": "For mode=category/search, fetch each product's detail page for full description, per-variant pricing/availability, and sample reviews. Slower (one extra request per product) but much richer output. Always on for mode=byUrl.",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Hard cap on the number of products emitted.",
            "default": 60
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Not required in normal operation (the actor uses a browser-impersonating HTTP client that works without a proxy). Enable the free Apify AUTO proxy group only if you start seeing non-200 responses."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}