{
  "openapi": "3.0.1",
  "info": {
    "title": "Amazon Sellers Scraper - Seller Leads & Contacts",
    "description": "Collect Amazon seller leads fast: business names, addresses, phones, emails, websites, feedback stats and catalog sizes. Enable keyword search, category rankings, listing URLs, seller lists or product links — cap each source separately across 24 marketplaces. Free plans export a small sample.",
    "version": "0.0",
    "x-build-id": "Ypgc7YfLqCPEhoNTX"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/b2b_leads~Amazon-Sellers-Real-Time-Data-Scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-b2b_leads-Amazon-Sellers-Real-Time-Data-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/b2b_leads~Amazon-Sellers-Real-Time-Data-Scraper/runs": {
      "post": {
        "operationId": "runs-sync-b2b_leads-Amazon-Sellers-Real-Time-Data-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/b2b_leads~Amazon-Sellers-Real-Time-Data-Scraper/run-sync": {
      "post": {
        "operationId": "run-sync-b2b_leads-Amazon-Sellers-Real-Time-Data-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": {
          "enableKeywordSearch": {
            "title": "Keyword search",
            "type": "boolean",
            "description": "Discover sellers from marketplace search results for your keywords.",
            "default": true
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "One or more search keywords, comma or newline separated. Example: \"wireless earbuds, yoga mat\".",
            "default": ""
          },
          "maxSellersPerKeyword": {
            "title": "Max sellers (all keywords combined)",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of unique sellers to export from keyword search in this run.",
            "default": 10
          },
          "enableCategoryRankings": {
            "title": "Category rankings",
            "type": "boolean",
            "description": "Discover sellers from a category's best sellers, new releases, or movers & shakers list.",
            "default": false
          },
          "rankListType": {
            "title": "Ranking list",
            "enum": [
              "bestsellers",
              "new-releases",
              "movers-shakers"
            ],
            "type": "string",
            "description": "Which ranking list to use.",
            "default": "bestsellers"
          },
          "category": {
            "title": "Category",
            "type": "string",
            "description": "Category path (e.g. \"fashion\", \"sports-and-outdoors\") or a numeric node id.",
            "default": ""
          },
          "maxSellersPerCategory": {
            "title": "Max sellers",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of unique sellers to export from this ranking list.",
            "default": 10
          },
          "enableListingUrls": {
            "title": "Listing URLs",
            "type": "boolean",
            "description": "Collect sellers directly from listing URLs you paste (any ranking or search listing).",
            "default": false
          },
          "categoryUrls": {
            "title": "Listing URLs",
            "type": "array",
            "description": "Full listing URLs to collect sellers from directly. The first URL is used per run.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxSellersPerListing": {
            "title": "Max sellers",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of unique sellers to export from the listing URL.",
            "default": 10
          },
          "enableSellerList": {
            "title": "Seller list",
            "type": "boolean",
            "description": "Enrich sellers you already know — no discovery, direct enrichment with business details and contacts.",
            "default": false
          },
          "sellerUrls": {
            "title": "Seller profile URLs",
            "type": "array",
            "description": "Seller profile URLs to enrich. Seller IDs from URLs and the ID list below are merged.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "sellerIds": {
            "title": "Seller IDs",
            "type": "array",
            "description": "Seller IDs to enrich directly.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "enableProductLinks": {
            "title": "Product links",
            "type": "boolean",
            "description": "Find every seller offering specific products — ideal for brand protection and competitor monitoring.",
            "default": false
          },
          "productUrls": {
            "title": "Product URLs / ASINs",
            "type": "array",
            "description": "Product page URLs or ASINs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxOffersPerProduct": {
            "title": "Max sellers per product",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum sellers collected per product.",
            "default": 10
          },
          "country": {
            "title": "Marketplace",
            "enum": [
              "US",
              "GB",
              "DE",
              "FR",
              "IT",
              "ES",
              "CA",
              "AU",
              "IN",
              "JP",
              "MX",
              "AE",
              "NL",
              "SE",
              "PL",
              "BE",
              "SG",
              "BR",
              "TR",
              "SA",
              "EG",
              "ZA",
              "IE",
              "CN"
            ],
            "type": "string",
            "description": "Amazon marketplace country code (US, GB, DE, FR, IT, ES, CA, AU, IN, JP, MX, ...).",
            "default": "US"
          },
          "maxDepth": {
            "title": "Max depth per keyword/category",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How deep to go into each keyword or category listing (safety cap for very large runs).",
            "default": 10
          },
          "concurrency": {
            "title": "Parallel tasks",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "How many sellers/products are processed in parallel. Higher is faster; 8 is a good default.",
            "default": 8
          },
          "retries": {
            "title": "Retries",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How often each step is retried when the marketplace refuses or times out.",
            "default": 4
          },
          "enableLeadDetails": {
            "title": "Enable lead details",
            "type": "boolean",
            "description": "Adds business name, address, phone, emails, feedback stats, and catalog size on every seller row. Every seller is exported even when no lead details are found — runtime stays predictable. Adds a little extra time per seller.",
            "default": true
          },
          "includeEmailsFromWebsites": {
            "title": "Find emails on seller websites",
            "type": "boolean",
            "description": "When the seller profile has no email, check the seller's own website for contact emails. Adds a little extra time per seller. Only used when Enable lead details is on.",
            "default": false
          },
          "webhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "Optional. Every seller is always saved to the run's dataset — this webhook is an ADDITIONAL real-time push. When set, each new seller is also POSTed to this URL (CRM, Slack incoming webhook, Zapier, Make, Google Sheets).",
            "default": ""
          },
          "webhookFormat": {
            "title": "Webhook format",
            "enum": [
              "json",
              "slack"
            ],
            "type": "string",
            "description": "json = full seller object; slack = Slack-friendly message payload.",
            "default": "json"
          },
          "proxyConfiguration": {
            "title": "Proxy settings",
            "type": "object",
            "description": "Apify residential proxy (US) is enabled by default for reliable collection.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}