{
  "openapi": "3.0.1",
  "info": {
    "title": "AliExpress Product Details Scraper: SKUs, Shipping, $2.49/1K",
    "description": "$2.49/1K products in full, no start fee. 679 of 684 products read in our tests, failures free. No login. Product links or ids in: every SKU with price and stock, shipping fee and delivery dates to your country, landed price, store rating and age, specs, video.",
    "version": "0.1",
    "x-build-id": "xgaekjztTMO6yfugL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/laptime~aliexpress-product-details-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-laptime-aliexpress-product-details-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/laptime~aliexpress-product-details-scraper/runs": {
      "post": {
        "operationId": "runs-sync-laptime-aliexpress-product-details-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/laptime~aliexpress-product-details-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-laptime-aliexpress-product-details-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": "Product links or ids",
            "type": "array",
            "description": "Paste AliExpress product links, one per line: any country site (<code>de.aliexpress.com/item/…</code>, aliexpress.us), app share links (<code>a.aliexpress.com/_…</code>) or the whole share message, or bare product ids (<code>1005005566622938</code>). Each product is read in full. Store, search and category links work too (see \"Search terms, stores and categories\"). Optional when you add search terms.",
            "items": {
              "type": "string"
            }
          },
          "shipTo": {
            "title": "Ship to",
            "type": "string",
            "description": "The country you buy for: prices, shipping fees, delivery days and what is for sale are the ones shoppers there see. Pick one or type any two-letter code (e.g. <code>NL</code>) or country name. Default United States.",
            "default": "US"
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "Currency of every price in the results. Pick one or type a three-letter code (e.g. <code>SEK</code>). The same currency is used for every country, so landed prices compare directly. Default USD.",
            "default": "USD"
          },
          "compareCountries": {
            "title": "Compare with other countries",
            "type": "array",
            "description": "More ship-to countries for products opened in full, e.g. Germany and United Kingdom: each adds that country's price, shipping fee, delivery days and landed price to the row's markets list. $1.49 per 1,000 product-countries. Optional.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "US",
                "GB",
                "DE",
                "FR",
                "ES",
                "IT",
                "NL",
                "BE",
                "PL",
                "PT",
                "SE",
                "CH",
                "AT",
                "IE",
                "CA",
                "AU",
                "NZ",
                "BR",
                "MX",
                "CL",
                "IL",
                "KR",
                "JP",
                "SA",
                "AE",
                "TR",
                "UA",
                "KZ"
              ],
              "enumTitles": [
                "United States",
                "United Kingdom",
                "Germany",
                "France",
                "Spain",
                "Italy",
                "Netherlands",
                "Belgium",
                "Poland",
                "Portugal",
                "Sweden",
                "Switzerland",
                "Austria",
                "Ireland",
                "Canada",
                "Australia",
                "New Zealand",
                "Brazil",
                "Mexico",
                "Chile",
                "Israel",
                "South Korea",
                "Japan",
                "Saudi Arabia",
                "United Arab Emirates",
                "Turkey",
                "Ukraine",
                "Kazakhstan"
              ]
            }
          },
          "includeDescription": {
            "title": "Include long description",
            "type": "boolean",
            "description": "Adds the seller's long description as text plus its image links (descriptionText, descriptionImages) to products opened in full. Free.",
            "default": false
          },
          "includeReviews": {
            "title": "Include reviews",
            "type": "boolean",
            "description": "Adds review rows under each product: stars, text with English translation, buyer photos, buyer country, the variant bought and follow-ups. $0.49 per 1,000 reviews. Off by default.",
            "default": false
          },
          "maxReviewsPerProduct": {
            "title": "Max reviews per product",
            "minimum": -1,
            "maximum": 5000,
            "type": "integer",
            "description": "Reviews per product when \"Include reviews\" is on. 0 = all of them, up to 5,000. Default 20.",
            "default": 20
          },
          "reviewsFilter": {
            "title": "Which reviews",
            "enum": [
              "all",
              "photos",
              "additional",
              "local"
            ],
            "type": "string",
            "description": "All reviews, only reviews with buyer photos, only reviews with a follow-up, or only reviews from buyers in your ship-to country. Default: all.",
            "default": "all"
          },
          "reviewsSort": {
            "title": "Review order",
            "enum": [
              "default",
              "newest"
            ],
            "type": "string",
            "description": "Most useful first is AliExpress's own order. Newest first reads up to 5,000 reviews per product and sorts them by date, so it takes a little longer on products with thousands of reviews.",
            "default": "default"
          },
          "reviewsSince": {
            "title": "Reviews since",
            "type": "string",
            "description": "Only reviews from this date on: a date (<code>2026-01-31</code>) or a period back from today (<code>30 days</code>, <code>6 months</code>). Reads up to 5,000 reviews per product and returns the matching ones newest first. Optional; empty = all dates."
          },
          "reviewsMinRating": {
            "title": "Min review stars",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Only reviews with at least this many stars, 1–5 (e.g. 4 for praise only). With \"All reviews\", AliExpress filters the stars itself, so you get your full count even on products with thousands of reviews. Optional."
          },
          "reviewsMaxRating": {
            "title": "Max review stars",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Only reviews with at most this many stars, 1–5 (e.g. 2 to read only complaints, 1-star first). Optional."
          },
          "reviewsWithTextOnly": {
            "title": "Only reviews with text",
            "type": "boolean",
            "description": "Skip star-only reviews: AliExpress lists many reviews without any text, mostly after the first pages. Off by default.",
            "default": false
          },
          "aiAnalysis": {
            "title": "AI review analysis",
            "type": "boolean",
            "description": "Reads each product's reviews (up to 60) and adds buyer sentiment, pros and cons, quality risk, \"as described\", counterfeit risk and a 0–100 resell score. Opens products in full. $4.99 per 1,000 products analysed. Off by default.",
            "default": false
          },
          "aiApiKey": {
            "title": "Your own LLM API key",
            "type": "string",
            "description": "An OpenRouter, OpenAI or Anthropic key to run the AI analysis on your own account; AI is then never charged here. Optional; empty = our models."
          },
          "aiModel": {
            "title": "Your model",
            "type": "string",
            "description": "Model id for your own key, e.g. <code>openai/gpt-4.1-mini</code> on OpenRouter. Optional; empty = the provider's default."
          },
          "keywords": {
            "title": "Search terms",
            "type": "array",
            "description": "Optional: also search AliExpress for these terms (e.g. <code>phone case</code>); every result is opened in full.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max products per search or link",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "How many products each search term, search link, category or store returns (product links are all read). AliExpress shows at most 60 pages per search (about 2,700 different products in our test); 0 = all of them (stores: up to 5,000). Default 20.",
            "default": 20
          },
          "includeDetails": {
            "title": "Open each product in full",
            "type": "boolean",
            "description": "Open every search, store or category result in full (on by default here). Product links and ids are always opened in full.",
            "default": true
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "orders",
              "price-asc",
              "price-desc"
            ],
            "type": "string",
            "description": "The order of search and store results, like the sort bar on AliExpress. AliExpress sorts each page of 60 on its own: sort the dataset for one ranking across pages. Default: best match.",
            "default": "relevance"
          },
          "minPrice": {
            "title": "Min price",
            "minimum": 0,
            "type": "number",
            "description": "Only products from this price, in your currency (e.g. <code>5</code>), as AliExpress shows it. Optional."
          },
          "maxPrice": {
            "title": "Max price",
            "minimum": 0,
            "type": "number",
            "description": "Only products up to this price, in your currency (e.g. <code>20</code>). Optional."
          },
          "minRating": {
            "title": "Min product rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Only products rated at least this, out of 5 (e.g. <code>4.5</code>). Products without a rating are skipped. Optional."
          },
          "minOrders": {
            "title": "Min sold",
            "minimum": 0,
            "type": "integer",
            "description": "Only products sold at least this many times (e.g. <code>1000</code>), to skip untested listings. Sort by best sellers to find them fast. Optional."
          },
          "freeShippingOnly": {
            "title": "Free shipping only",
            "type": "boolean",
            "description": "Only products with free shipping to your ship-to country (AliExpress's own filter, checked again on the product page when products are opened in full).",
            "default": false
          },
          "choiceOnly": {
            "title": "AliExpress Choice only",
            "type": "boolean",
            "description": "Only AliExpress Choice products: faster tracked delivery and free returns in most countries.",
            "default": false
          },
          "shipFrom": {
            "title": "Ships from",
            "type": "string",
            "description": "Only products shipped from warehouses in this country, e.g. a local warehouse for fast delivery. Optional; empty = anywhere."
          },
          "excludeKeywords": {
            "title": "Exclude words",
            "type": "array",
            "description": "Skip products whose title contains any of these words or phrases (not case-sensitive), e.g. <code>for iphone 11</code>, <code>replica</code>. Optional.",
            "items": {
              "type": "string"
            }
          },
          "includeAds": {
            "title": "Include sponsored products",
            "type": "boolean",
            "description": "Keep AliExpress's sponsored (ad) results, marked isAd: true. Turn off for organic results only. On by default.",
            "default": true
          },
          "onlyMatchingTitles": {
            "title": "Only titles that match the search",
            "type": "boolean",
            "description": "AliExpress fills thin searches with suggestions (\"few results\"). On = keep only products whose title contains every search word (typos and plurals allowed; for English titles). Every row has matchesQuery either way. Off by default.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Name a scheduled watch (e.g. <code>usb-cables-daily</code>): every product row then shows isNew, previousPrice, priceChange and soldCountChange versus the last run with this name. Optional; empty = no memory."
          },
          "onlyNew": {
            "title": "Only new products",
            "type": "boolean",
            "description": "With a monitor name: deliver (and charge) only products no earlier run delivered. A run with nothing new costs $0.",
            "default": false
          },
          "onlyPriceDrops": {
            "title": "Only new products and price drops",
            "type": "boolean",
            "description": "With a monitor name: deliver only new products and products that got cheaper since the last run. Unchanged products are free.",
            "default": false
          },
          "onlyNewReviews": {
            "title": "Only new reviews",
            "type": "boolean",
            "description": "Deliver (and charge) only reviews no earlier run with this monitor name read; products with no new review are skipped for free. The first run delivers the newest \"Max reviews per product\". Without a monitor name, one is made from your links.",
            "default": false
          },
          "alertWebhookUrl": {
            "title": "Alert webhook URL",
            "type": "string",
            "description": "An <code>https://</code> webhook (Slack, Discord, Zapier, Make, n8n) that gets one message per run listing new products and price drops. Needs a monitor name. Optional."
          },
          "proxyTier": {
            "title": "IP type",
            "enum": [
              "auto",
              "residential"
            ],
            "type": "string",
            "description": "Auto uses fast datacenter IPs for searches and reviews and residential IPs for product pages, which AliExpress only serves to residential IPs (recommended). Residential uses residential IPs for everything.",
            "default": "auto"
          },
          "telemetry": {
            "title": "Anonymous error reports",
            "type": "boolean",
            "description": "Send anonymous error counts (never inputs, outputs, links or ids) so breakages get fixed fast. Off = nothing is sent.",
            "default": 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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}