{
  "openapi": "3.0.1",
  "info": {
    "title": "Amazon Seller Leads - Emails, Phones, VAT & Addresses",
    "description": "Turn Amazon searches, bestseller lists, categories, products or seller URLs into third-party seller leads. Extracts business name, address, email, phone, VAT, trade register, ratings and storefronts across 18 marketplaces. Enriches missing emails from public company websites.",
    "version": "0.1",
    "x-build-id": "fh4cBWoNovVLVq9i8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ahmed_jasarevic~amazon-seller-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ahmed_jasarevic-amazon-seller-leads",
        "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~amazon-seller-leads/runs": {
      "post": {
        "operationId": "runs-sync-ahmed_jasarevic-amazon-seller-leads",
        "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~amazon-seller-leads/run-sync": {
      "post": {
        "operationId": "run-sync-ahmed_jasarevic-amazon-seller-leads",
        "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": {
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Amazon keywords such as \"phone case\", \"yoga mat\" or \"dog toys\". Each query is searched on every selected marketplace. Products are inspected for their buy-box seller and other offer merchants.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs, ASINs or seller IDs",
            "type": "array",
            "description": "Optional direct sources, mixed freely: seller profile URLs (/sp?seller=...), storefront URLs (/?me=...), product URLs (/dp/ASIN), search URLs, bestseller lists (/gp/bestsellers/...) or category pages. Bare 10-character ASINs and Amazon seller IDs are also accepted. Any supported Amazon domain works; the domain wins over the marketplace list.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "marketplaces": {
            "title": "Marketplaces for search queries",
            "type": "array",
            "description": "Search queries run on these Amazon marketplaces. Use marketplace IDs: com, co.uk, de, fr, it, es, ca, com.au, co.jp, in, nl, se, pl, com.be, ae, com.mx, com.tr, sg. Start URLs ignore this list and use the domain in the URL. EU marketplaces usually return the richest contact data because seller profiles contain a legal impressum with email, phone, VAT and trade-register number. US profiles contain business name and address under the INFORM Act.",
            "items": {
              "type": "string"
            },
            "default": [
              "com"
            ]
          },
          "maxSellers": {
            "title": "Max seller leads to save",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Hard ceiling of seller rows pushed to the dataset. Sellers filtered out by country, business type or email do not count toward this limit.",
            "default": 50
          },
          "maxProducts": {
            "title": "Max products to inspect (whole run)",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Global cap on product pages / offer lists inspected. One product can reveal several sellers. Keep this reasonably close to maxSellers to avoid unnecessary requests.",
            "default": 300
          },
          "maxProductsPerSource": {
            "title": "Max products per query or URL",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Initial products inspected per search query, bestseller list or category. If found sellers fall short of the max-sellers target, the Actor automatically keeps fetching further pages (up to Max products) until the target is covered — so low-yield queries don't stop the run early. Higher values discover deeper-tail sellers but increase runtime.",
            "default": 20
          },
          "autoExpandProducts": {
            "title": "Auto-expand products to reach max sellers",
            "type": "boolean",
            "description": "When maxSellers is higher than what maxProductsPerSource would realistically produce, keep fetching more search pages up to maxProducts. This prevents a run that asks for 25 leads but stops after 10 products. Turn off if you want a strict product budget.",
            "default": true
          },
          "includeOtherOffers": {
            "title": "Include non-buy-box offers",
            "type": "boolean",
            "description": "Inspect all offers for each product, not only the buy-box seller. This discovers more sellers per product but costs one extra offer-list request per product (skipped automatically on amazon.com, where Amazon hides other offers per location). Recommended on.",
            "default": true
          },
          "maxOffersPerProduct": {
            "title": "Max offers per product",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Cap on seller offers parsed from one product's offer list. Amazon usually shows 10 offers at a time.",
            "default": 20
          },
          "fallbackToProductPage": {
            "title": "Deep product-page fallback",
            "type": "boolean",
            "description": "Off by default for speed. When an offer list returns no sellers, a lightweight mobile product page is still checked for the buy-box seller. Turn this on to additionally fetch the full desktop product page and browser fallback for maximum coverage (slower).",
            "default": false
          },
          "businessOnly": {
            "title": "Business sellers only",
            "type": "boolean",
            "description": "Skip private/individual sellers with no business name, VAT number, trade-register number or business type. Recommended for B2B lead lists.",
            "default": true
          },
          "excludeAmazon": {
            "title": "Exclude Amazon retail",
            "type": "boolean",
            "description": "Skip Amazon's own retail accounts (Amazon.com, Amazon EU, Amazon Warehouse, etc.). Recommended.",
            "default": true
          },
          "requireEmail": {
            "title": "Only sellers with an email",
            "type": "boolean",
            "description": "Save only rows that have at least one email after Amazon-profile parsing and website enrichment. Off by default so you can see sellers with phone/address but no published email.",
            "default": false
          },
          "sellerCountries": {
            "title": "Seller countries (ISO codes)",
            "type": "array",
            "description": "Only keep sellers whose business address is in these countries, for example US, GB, DE, FR, CN. Values are normalized to ISO 3166-1 alpha-2. When this filter is used, sellers with an unknown country are excluded.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "minPositivePercent": {
            "title": "Minimum positive feedback %",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep only sellers whose 12-month positive feedback percentage is at least this value. Strict: sellers with no rating data are excluded. Set 0 to disable.",
            "default": 0
          },
          "minRatingCount": {
            "title": "Minimum lifetime ratings",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Keep only sellers with at least this many lifetime seller ratings. Strict: sellers with no rating data are excluded. Set 0 to disable.",
            "default": 0
          },
          "enrichEmails": {
            "title": "Enrich missing emails from company websites",
            "type": "boolean",
            "description": "When a seller has no email on Amazon, find the company website (from the seller profile, email domain, business-name domain guesses or web search), scan its contact/imprint pages and extract publicly published emails and phones. Best-effort; adds runtime.",
            "default": true
          },
          "findCompanyWebsite": {
            "title": "Find the company website",
            "type": "boolean",
            "description": "Also resolve the seller's company website when an email is already known. Off by default for speed. Turn on for deeper CRM enrichment.",
            "default": false
          },
          "useWebSearch": {
            "title": "Use web search for website discovery",
            "type": "boolean",
            "description": "Off by default for speed. Turn on to search DuckDuckGo/Bing for company websites by brand or business name; this finds more contacts for US/Chinese sellers but makes runs significantly slower.",
            "default": false
          },
          "verifyEmails": {
            "title": "Check email domains (MX)",
            "type": "boolean",
            "description": "Run a DNS MX lookup for each unique email and flag role, free and disposable addresses. No email is sent. MX-valid is not the same as guaranteed deliverable.",
            "default": true
          },
          "maxWebsitePages": {
            "title": "Max website pages per seller",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Total pages checked on a seller website, including the homepage. Contact, about and imprint pages are discovered automatically. 2 is a good speed/coverage balance; raise it for deeper contact discovery.",
            "default": 2
          },
          "concurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Global parallel request budget for products, offers and seller profiles. Each pipeline gets the full budget (they run overlapped), so total in-flight requests can reach roughly twice this number. Higher is faster but more likely to trigger Amazon rate limits; 20-25 is the sweet spot on residential proxies.",
            "default": 8
          },
          "sourceConcurrency": {
            "title": "Parallel sources",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "How many search queries / start URLs run at the same time. 2 doubles throughput for multi-query or multi-marketplace runs while keeping total request concurrency bounded.",
            "default": 2
          },
          "useBrowserFallback": {
            "title": "Browser fallback for WAF challenges",
            "type": "boolean",
            "description": "Use Chrome only when Amazon returns a JavaScript WAF challenge. Keep on for UK/EU marketplaces. Turn off for pure HTTP/Cheerio runs; then 512 MB memory is enough, but some seller profiles will be skipped.",
            "default": true
          },
          "requestDelayMs": {
            "title": "Delay between requests to the same domain (ms)",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Small pause between consecutive requests to the same Amazon or company domain. 40-100 ms is a good balance at high concurrency.",
            "default": 50
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 5,
            "maximum": 180,
            "type": "integer",
            "description": "Timeout for each HTTP request or browser page load.",
            "default": 30
          },
          "maxRetries": {
            "title": "Max retries",
            "minimum": 0,
            "maximum": 6,
            "type": "integer",
            "description": "Retries for rate-limited, blocked or empty Amazon responses. Each retry rotates to a fresh proxy session when Apify Proxy is configured.",
            "default": 2
          },
          "maxRunSeconds": {
            "title": "Soft run limit (seconds)",
            "minimum": 15,
            "maximum": 7200,
            "type": "integer",
            "description": "Stop discovering and enriching after this many seconds and save the leads collected so far. Increase for large searches.",
            "default": 600
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy for Amazon and company websites. The default uses residential proxies because Amazon seller profiles on EU/UK marketplaces are often blocked on datacenter IPs. For amazon.com speed runs, try no proxy at all ({\"useApifyProxy\": false}) with high concurrency: direct datacenter HTTP is free and an order of magnitude faster when Amazon serves it. Switch back to residential if you see blocks.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "debug": {
            "title": "Debug logging",
            "type": "boolean",
            "description": "Log each product, skipped seller and enrichment decision. Useful when tuning filters.",
            "default": false
          },
          "includeRaw": {
            "title": "Include raw profile text",
            "type": "boolean",
            "description": "Keep the full seller about/impressum text in the row. It is already included as aboutText (truncated); this flag is reserved for debugging.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}