{
  "openapi": "3.0.1",
  "info": {
    "title": "ResellerRatings Scraper [$2.10/1K💰] | Merchants | Reviews",
    "description": "Scrape merchant profiles and full review archives from ResellerRatings - store ratings, sub-ratings, verified-buyer flags, review text, votes, sentiment and merchant replies. Discover 35,500+ sellers from the sitemap. No browser needed.",
    "version": "0.1",
    "x-build-id": "tIPbfPHgTS2pOIfw6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ahmed_jasarevic~resellerratings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ahmed_jasarevic-resellerratings-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/ahmed_jasarevic~resellerratings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-ahmed_jasarevic-resellerratings-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/ahmed_jasarevic~resellerratings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-ahmed_jasarevic-resellerratings-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": {
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Store profile URLs (https://www.resellerratings.com/store/Pro_star) or category landing pages (https://www.resellerratings.com/category/adult). Bare slugs such as \"Pro_star\" also work. Category URLs are discovered into their stores, then each store is crawled. Ignored if empty.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "storeSlugs": {
            "title": "Store slugs",
            "type": "array",
            "description": "Store SEO names to crawl, e.g. [\"Pro_star\", \"JustAnswer\"]. Used when startUrls is empty.",
            "items": {
              "type": "string"
            }
          },
          "categoryUrls": {
            "title": "Category URLs",
            "type": "array",
            "description": "Category landing pages whose stores should be scraped, e.g. [\"https://www.resellerratings.com/category/adult\"]. Each URL is read as JSON, the merchants it lists are ranked, and the top maxStores are crawled. Bare slugs (\"adult\") work too.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Category discovery",
            "type": "array",
            "description": "Discover merchants by category slug through the internal /search JSON endpoint, e.g. [\"adult\"], [\"Computers & Electronics\"]. Unlike categoryUrls this walks every /search page, so it finds more merchants in the same category.",
            "items": {
              "type": "string"
            }
          },
          "discoverySort": {
            "title": "How discovered stores are ranked",
            "enum": [
              "reviewCount",
              "rating",
              "site"
            ],
            "type": "string",
            "description": "Which stores survive maxStores. 'reviewCount' (default) picks the merchants with the deepest review archives - the site's own default order ranks 10.00-rated shops with a single review first, which returns almost no reviews. 'site' keeps the endpoint order (see searchSort).",
            "default": "reviewCount"
          },
          "minReviewsPerStore": {
            "title": "Min reviews per store",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Skip discovered stores that advertise fewer than this many reviews. 0 = no filter. Use it with a high maxStores to crawl only the merchants worth paginating.",
            "default": 0
          },
          "maxDiscoveryPages": {
            "title": "Max discovery pages",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many /search result pages to read per category before ranking (20 stores per page). Raise it when a category is larger than the top stores you need. Ignored for categoryUrls, whose landing page is not paginated.",
            "default": 1
          },
          "searchSort": {
            "title": "Search sort (discoverySort = site only)",
            "type": "string",
            "description": "Sort passed to /search when discoverySort is 'site'. Try: \"overallscore desc\", \"reviewcount desc\", \"replyrate desc\".",
            "default": "overallscore desc"
          },
          "useSitemap": {
            "title": "Use seller sitemap",
            "type": "boolean",
            "description": "When no startUrls/storeSlugs/categories are given, seed store URLs from the seller_info sitemap index (~35.5k merchants). Set to false for an empty run.",
            "default": false
          },
          "sort": {
            "title": "Review sort order",
            "type": "string",
            "description": "Optional review sort: date, rating, overallscore, relevance, updated. Empty = site default (newest first).",
            "default": ""
          },
          "mode": {
            "title": "Output mode",
            "enum": [
              "all",
              "stores",
              "reviews"
            ],
            "type": "string",
            "description": "all = store profiles + reviews (default). stores = merchant profiles only. reviews = review archive only.",
            "default": "all"
          },
          "maxStores": {
            "title": "Max stores",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Maximum number of stores to crawl per category/discovery source. Applied after discoverySort ranking.",
            "default": 10
          },
          "maxReviewsPerStore": {
            "title": "Max reviews per store",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop paginating a store after this many reviews.",
            "default": 5
          },
          "maxRequestsPerCrawl": {
            "title": "Max requests per crawl",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Hard cap on total HTTP requests for this run. Each store page holds ~15 reviews, so budget roughly maxRequestsPerCrawl / 4 stores, plus maxDiscoveryPages.",
            "default": 200
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Select proxies to be used by your crawler."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}