{
  "openapi": "3.0.1",
  "info": {
    "title": "Amazon ASIN Scraper: Bulk Product Lookup",
    "description": "Amazon ASIN scraper and bulk ASIN lookup: paste ASINs or product URLs, get one full row each with price, seller offers, rating, Best Sellers Rank, Prime, Best Seller and Climate Pledge flags, specs, images and variants. Any marketplace. Failed lookups listed free. No login.",
    "version": "0.1",
    "x-build-id": "YPYv1VJjhm1HwDBTb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/deepmine~amazon-asin-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-deepmine-amazon-asin-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/deepmine~amazon-asin-scraper/runs": {
      "post": {
        "operationId": "runs-sync-deepmine-amazon-asin-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/deepmine~amazon-asin-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-deepmine-amazon-asin-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": {
          "asins": {
            "title": "🆔 ASINs",
            "type": "array",
            "description": "Amazon product IDs, one per line (10 letters and digits, e.g. B0DCH8VDXF; a book's ISBN-10 works too). A pasted list separated by commas or spaces is split for you, and product URLs work here as well.",
            "items": {
              "type": "string"
            }
          },
          "domain": {
            "title": "🌍 Marketplace",
            "pattern": "^\\s*(https?://)?((www|smile|m)\\.)?amazon\\.[a-z.]{2,8}/?\\s*$",
            "type": "string",
            "description": "The Amazon site the ASINs are looked up on. Product URLs keep their own site. Pick one, or type a host such as amazon.de or www.amazon.de.",
            "default": "www.amazon.com"
          },
          "productUrls": {
            "title": "🔗 Product URLs",
            "type": "array",
            "description": "Amazon product pages (amazon.com/dp/B0…, amazon.de/…/dp/…, /gp/product/…), on any marketplace. Search and best seller pages belong to the Amazon Search Scraper and the Amazon Best Sellers Scraper.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxOffers": {
            "title": "🛍️ Seller offers per product (included)",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Also list up to this many seller offers per product in the row (price, condition, seller, ships from, delivery; the buy box first), from Amazon's all-offers panel. Included in the product price. 0 = skip the panel (a little faster).",
            "default": 10
          },
          "zipCode": {
            "title": "📍 Delivery postcode",
            "type": "string",
            "description": "Read prices and delivery for this postcode, e.g. 10001 (amazon.com) or 10115 (amazon.de). Empty = each marketplace's capital; amazon.com uses the proxy's US location. The run stops if Amazon rejects it."
          },
          "countryCode": {
            "title": "🌐 Deliver to country",
            "type": "string",
            "description": "Two-letter country to deliver to, for international shipping prices, e.g. DE on amazon.com. Empty = the marketplace's own country. Not used with a postcode."
          },
          "maxProductVariantsAsSeparateResults": {
            "title": "🎨 Variants as separate products ($)",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Also return up to this many variants (sizes, colors…) of each product as their own rows, each with its own price, stock and offers, charged as products. Every row already lists its variant ASINs. 0 = none.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Leave as is: Apify datacenter proxies work for Amazon. Residential is replaced by datacenter (it costs more per page than a product row earns).",
            "default": {
              "useApifyProxy": true
            }
          },
          "amazonDomain": {
            "title": "Amazon domain",
            "type": "string",
            "description": "Kept for saved junglee/amazon-asins-scraper inputs (e.g. amazon.de): wins over Marketplace when set."
          },
          "asin": {
            "title": "ASIN",
            "type": "string",
            "description": "One ASIN, for inputs that send a single one: added to ASINs."
          },
          "bulkAsins": {
            "title": "Bulk ASINs",
            "type": "string",
            "description": "ASINs as one text (comma, space or line separated): added to ASINs."
          },
          "maxConcurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 32,
            "type": "integer",
            "description": "Engine setting.",
            "default": 12
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Kept for saved junglee inputs: rows are read from Amazon's English pages."
          },
          "useCaptchaSolver": {
            "title": "Captcha solver",
            "type": "boolean",
            "description": "Kept for saved junglee inputs: not needed (a refused page is retried on a new IP)."
          },
          "proxyCountry": {
            "title": "Proxy country",
            "type": "string",
            "description": "Kept for saved junglee inputs: not used (see Delivery location)."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}