{
  "openapi": "3.0.1",
  "info": {
    "title": "Reverb Scraper - Gear Listings, Prices & Seller Leads",
    "description": "Scrape Reverb musical-instrument listings with make/model/year, condition, real prices, photos & the selling shop. Plus a Price Guide (live used/new low prices) and seller leads with website, address & feedback. Search by keyword, brand, category or URL. Monitoring mode. JSON, CSV, Excel.",
    "version": "0.1",
    "x-build-id": "L9eOaPgrfnw3sLglf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapesage~reverb-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapesage-reverb-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/scrapesage~reverb-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapesage-reverb-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/scrapesage~reverb-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapesage-reverb-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": {
          "mode": {
            "title": "What to scrape",
            "enum": [
              "listings",
              "priceGuide",
              "shops"
            ],
            "type": "string",
            "description": "<b>Listings</b> = live gear for sale (the default). <b>Price guide</b> = canonical product pages with the live used/new lowest price + listing counts (great for valuation & market research). <b>Seller leads</b> = music-shop / dealer profiles with website, address, feedback & a lead score.",
            "default": "listings"
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Keywords to search on Reverb, e.g. <code>Gibson Les Paul</code>, <code>stratocaster</code>, <code>moog synthesizer</code>, <code>shure sm7b</code>. Each query is combined with the filters below. Leave empty to browse purely by filters (e.g. all Gibson electric guitars).",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Direct Reverb URLs: listing pages (<code>reverb.com/item/...</code>), shop pages (<code>reverb.com/shop/...</code>), price-guide pages (<code>reverb.com/p/...</code>), or marketplace search URLs (<code>reverb.com/marketplace?query=...</code>). Used in addition to search queries.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "make": {
            "title": "Brand / make",
            "type": "string",
            "description": "Filter by brand, e.g. <code>Fender</code>, <code>Gibson</code>, <code>Roland</code>, <code>Shure</code>, <code>Boss</code>."
          },
          "productType": {
            "title": "Category (product type slug)",
            "type": "string",
            "description": "Reverb category slug, e.g. <code>electric-guitars</code>, <code>acoustic-guitars</code>, <code>bass-guitars</code>, <code>amps</code>, <code>effects-and-pedals</code>, <code>keyboards-and-synths</code>, <code>pro-audio</code>, <code>folk-instruments</code>."
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "any",
              "new",
              "used",
              "b-stock",
              "non-functioning"
            ],
            "type": "string",
            "description": "Filter listings by condition.",
            "default": "any"
          },
          "priceMin": {
            "title": "Min price",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings at or above this price (in the listing's display currency)."
          },
          "priceMax": {
            "title": "Max price",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings at or below this price."
          },
          "yearMin": {
            "title": "Year from",
            "type": "integer",
            "description": "Only instruments made in this year or later (e.g. vintage searches)."
          },
          "yearMax": {
            "title": "Year to",
            "type": "integer",
            "description": "Only instruments made in this year or earlier."
          },
          "currency": {
            "title": "Display currency",
            "type": "string",
            "description": "ISO currency code to price listings in, e.g. <code>USD</code>, <code>EUR</code>, <code>GBP</code>, <code>CAD</code>, <code>AUD</code>, <code>JPY</code>. Defaults to USD."
          },
          "itemRegion": {
            "title": "Item location (country code)",
            "type": "string",
            "description": "Only items located in this country, e.g. <code>US</code>, <code>GB</code>, <code>DE</code>, <code>JP</code>. Reverb is global; use this to localize results."
          },
          "shipsTo": {
            "title": "Ships to (country code)",
            "type": "string",
            "description": "Only items that ship to this country, e.g. <code>US</code>, <code>GB</code>, <code>AU</code>."
          },
          "sort": {
            "title": "Sort order",
            "enum": [
              "relevance",
              "newest",
              "price_asc",
              "price_desc",
              "most_watched"
            ],
            "type": "string",
            "description": "How to order listing / price-guide results.",
            "default": "relevance"
          },
          "enrichListingDetails": {
            "title": "Fetch full listing details (views, watchers, offers, policies)",
            "type": "boolean",
            "description": "For each listing, fetch its detail endpoint to add engagement stats (views, watchers), offer count, return policy and accepted payment methods. Adds one API call per listing.",
            "default": false
          },
          "emitSellerLeads": {
            "title": "Also emit seller-lead records (Listings mode)",
            "type": "boolean",
            "description": "In Listings mode, also push one deduplicated seller-lead record (type = \"shop\") for every unique selling shop — including website, address, feedback score and a 0–100 lead score.",
            "default": false
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of listings (or price-guide pages) to scrape across all queries. Reverb caps a single filter set at ~2,500 results — use several narrower queries to go deeper.",
            "default": 200
          },
          "maxShops": {
            "title": "Max seller leads",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of seller-lead shop profiles to fetch (Seller-leads mode, or when \"emit seller-lead records\" is on).",
            "default": 200
          },
          "deduplicateResults": {
            "title": "Deduplicate within a run",
            "type": "boolean",
            "description": "Skip records already emitted in this run (recommended).",
            "default": true
          },
          "monitorMode": {
            "title": "Monitoring mode — only new records",
            "type": "boolean",
            "description": "Remember ids across runs in a named key-value store and emit ONLY records not seen before (new listings, new price-guide pages, new sellers). Perfect for deal alerts and price-watching. Works with Apify Schedules.",
            "default": false
          },
          "monitorKey": {
            "title": "Monitor key",
            "type": "string",
            "description": "Names the memory used by monitoring mode. Use a distinct key per saved search so different watches don't share state.",
            "default": "default"
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum parallel requests. Reverb's API is fast; 6–10 is a good balance.",
            "default": 6
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy settings. The default Apify Proxy (datacenter) works well with Reverb's API.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}