{
  "openapi": "3.0.1",
  "info": {
    "title": "AliExpress Scraper: Products, Prices, Details, Reviews",
    "description": "AliExpress scraper with no login: search keywords or paste product links and get every product as a row with price, discount, rating, sold count and search rank, plus optional details (store, shipping fee, delivered price, stock), one row per variant and per buyer review. Any country and currency.",
    "version": "1.0",
    "x-build-id": "ornGNVk1SMiDfGMPE"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ntriqpro~aliexpress-product-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ntriqpro-aliexpress-product-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/ntriqpro~aliexpress-product-scraper/runs": {
      "post": {
        "operationId": "runs-sync-ntriqpro-aliexpress-product-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/ntriqpro~aliexpress-product-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-ntriqpro-aliexpress-product-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": {
          "mode": {
            "title": "Output mode",
            "enum": [
              "standard",
              "bulk-sku-offers"
            ],
            "type": "string",
            "description": "bulk-sku-offers accepts only direct product addresses/item ids: clear keywords (including the prefilled keyword) and search/category URLs. Each successful address returns one sku-offer row with all SKU paths returned by the detail service, observed currencies and explicit missingFields. One product event plus one product-details event per delivered offer; no separate variant/review rows or events. Set includeDescription to add the seller description and pictures to the same offer without an additional event. includeVariants and maxReviewsPerProduct do not add separate rows. Failures are notices without result events. The platform's unchanged memory-based start fee still applies. Free plan: fixed sample and estimate only.",
            "default": "standard"
          },
          "keywords": {
            "title": "Search keywords",
            "maxItems": 200,
            "type": "array",
            "description": "One AliExpress search per entry. store:<numeric-id> is reserved as a store address alias. Paid plans (Bronze prices): run start $0.005 per GB (minimum one GB), each search page read $0.0018, each product row $0.00095; the layers below add their own events. Free plan runs are a preview: a fixed public sample (10 products, 1 detail, 3 variants, 5 reviews, the same in every free run, marked isSample) and one summary row of your input — the result count of your first keyword (one search request) and what the whole input costs on a paid plan. No result event is charged; the platform charges the memory-based run start ($0.005 per GB, minimum one GB) on every run.",
            "items": {
              "type": "string"
            }
          },
          "maxProductsPerKeyword": {
            "title": "Products per keyword or store",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many products to collect for each keyword. A search page holds 60 products, so 60 is one request. Maximum 1,000 on paid plans. The free plan returns no product of yours: it reads the first keyword's result count only, to price this number."
          },
          "includeKeywordSummary": {
            "title": "Keyword market report",
            "type": "boolean",
            "description": "One extra row per keyword, never charged: total results, related and rising keywords, the site's own text about the keyword, the filters it offers, and the market of the products handed over (median and quartile prices, delivered price median, rating median, shares of ads, Choice and free shipping, top stores). Free plan runs get the first keyword's report without product numbers.",
            "default": true
          },
          "searchQueries": {
            "title": "Imported search keywords",
            "type": "array",
            "description": "For an imported searchQueries JSON input, omit keywords. The imported format accepts maxProducts per query (default 50), sortBy and enrichDetails.",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerKeyword": {
            "title": "Imported limit per search term",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Limits each keyword separately. Product and store URLs are outside this per-term limit. Zero removes this extra cap; the Actor limit remains 1,000 per keyword. With this input the run-wide maxResults defaults to 50."
          },
          "maxRetryMinutes": {
            "title": "Time limit for listing retries",
            "minimum": 0,
            "maximum": 240,
            "type": "integer",
            "description": "Stop retrying a keyword listing page after this many minutes. Zero permits the first request only. A positive value lets other keywords run while a page waits after HTTP 502–504 or HTTP 429 with Retry-After; the Actor resumes within the time and charge limits."
          },
          "maxConcurrency": {
            "title": "Maximum products enriched in parallel",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "An upper bound for standard-mode product enrichment. The Actor runs up to three products at once by default. Choose 1 for sequential enrichment, or up to 20 for larger batches."
          },
          "maxProducts": {
            "title": "Imported maximum per query",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Used with searchQueries when maxProductsPerKeyword is omitted."
          },
          "sortBy": {
            "title": "Imported search order",
            "enum": [
              "default",
              "price_asc",
              "price_desc",
              "orders",
              "priceAsc",
              "priceDesc",
              "newest"
            ],
            "type": "string",
            "description": "Search order for imported searchQueries."
          },
          "enrichDetails": {
            "title": "Enrich imported search results",
            "type": "boolean",
            "description": "With searchQueries, request the same paid detail layer as includeDetails."
          },
          "storeUrls": {
            "title": "Store addresses or ids",
            "maxItems": 100,
            "type": "array",
            "description": "Read a public store catalogue using its /store/<id> address or numeric address id. Up to maxProductsPerKeyword products per store. Each returned page uses search-page and each delivered product uses product; optional layers keep their events. Access is best effort. A refused store stops immediately with a notice. Free plan returns samples and an estimate without reading the store.",
            "items": {
              "type": "string"
            }
          },
          "storeSearch": {
            "title": "Search within stores",
            "maxLength": 200,
            "type": "string",
            "description": "Text sent to the public catalogue search for every store address. Empty reads the returned catalogue."
          },
          "storeSort": {
            "title": "Store order",
            "enum": [
              "relevance",
              "orders",
              "newest",
              "price_asc",
              "price_desc"
            ],
            "type": "string",
            "description": "Store order. Price sorting first verifies the whole catalogue within ceil(maxProductsPerKeyword/40)+2 pages, including unique IDs, stable totals and known prices in your currency. A partial or larger catalogue produces a notice and no catalogue result fee. All verified source pages are charged before the selected products; maxItems applies after sorting.",
            "default": "relevance"
          },
          "productUrls": {
            "title": "Product addresses or ids",
            "maxItems": 500,
            "type": "array",
            "description": "Read these products directly, without a search: addresses (https://www.aliexpress.com/item/1005…html) or the numeric item ids. Each one reads its own detail (charged as a product plus its details) and does not turn on the details of your search products. Best effort: a link whose detail cannot be received gives no row and no charge. An address with no product behind it is one target-check row ($0.004 on Bronze). Free plan: not read; the summary row prices them.",
            "items": {
              "type": "string"
            }
          },
          "productIds": {
            "title": "Pasted product IDs",
            "maxItems": 500,
            "type": "array",
            "description": "Paste numeric AliExpress product IDs separated by spaces, commas or newlines. Direct item URLs, app share links (a.aliexpress.com/_…) and affiliate links (s.click.aliexpress.com/e/_…) work in productIds, productUrls and startUrls. Paid runs resolve shared links and look up each distinct item ID once. The free preview estimates before resolving links.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Pasted AliExpress addresses",
            "maxItems": 200,
            "type": "array",
            "description": "Paste addresses instead of typing keywords: a search address (aliexpress.com/w/wholesale-…, its selectedSwitches, shpf_co, minPrice, maxPrice and SortType are kept (also when the same words are in keywords; of two addresses with the same words, the first one's filters are used)), a category address (aliexpress.com/category/<id>/<words>.html: read as a search of its words kept to that category) or a product address (aliexpress.com/item/…, read like Product addresses). A store address (/store/<id>) is collected like storeUrls. Free plan: the first keyword only.",
            "items": {
              "type": "string"
            }
          },
          "includeDetails": {
            "title": "Include details",
            "type": "boolean",
            "description": "Adds the product page's fields to every product row of your keywords: store, shipping fee and delivered price, attributes, stock, coupons, picture gallery, video, documents, description address. $0.0047 per product on Bronze ($0.004 on Silver, $0.0035 on Gold and above) when the detail is received, once per product per run. Best effort: AliExpress's detail service refuses requests for hours at a time; a refused detail is not charged and the row says why (detailsFailureReason).",
            "default": false
          },
          "includeVariants": {
            "title": "Include variants (one row per SKU)",
            "type": "boolean",
            "description": "One extra row per variant of each product (at most 200 a product): options, price, list price, stock, picture, quantity prices. Turns the detail on, so variants are best effort too. $0.0001 per variant row on every paid tier.",
            "default": false
          },
          "includeDescription": {
            "title": "Include description",
            "type": "boolean",
            "description": "Adds the seller's description to every detailed product row: descriptionText (plain text), descriptionHtml (as the seller wrote it) and descriptionImages (picture addresses). Turns the detail on and costs nothing extra: it is part of the product detail event. Best effort: a description that cannot be received is told in descriptionFailureReason and the detail is still delivered.",
            "default": false
          },
          "scrapeType": {
            "title": "Imported job type",
            "enum": [
              "search",
              "productDetails",
              "reviews"
            ],
            "type": "string",
            "description": "Select reviews to read buyer feedback directly from product addresses. Clear search keywords in this mode."
          },
          "maxReviewsPerProduct": {
            "title": "Reviews per product",
            "minimum": 0,
            "maximum": 2000,
            "type": "integer",
            "description": "One extra row per buyer review, up to this many per product (0 = none). Reviews are read a page at a time (up to 100 a page): each page read is one review-page row ($0.0018 on Bronze), then $0.0007 per review row on Bronze. Also adds the product-wide star counts, photo-review share and buyer-country counts (from the first review page) to the product row.",
            "default": 0
          },
          "reviewFilter": {
            "title": "Review filter",
            "enum": [
              "all",
              "photos",
              "image",
              "local",
              "additional",
              "5",
              "4",
              "3",
              "2",
              "1"
            ],
            "type": "string",
            "description": "Which reviews to read. AliExpress takes one filter at a time. Review order is selected with reviewsSort.",
            "default": "all"
          },
          "reviewsSort": {
            "title": "Review order",
            "enum": [
              "default",
              "newest",
              "newest_complete_page"
            ],
            "type": "string",
            "description": "default preserves source order. newest verifies every matching source page within maxReviewSourcePages and your charge limit before selecting maxReviewsPerProduct by date. Each source page has the existing review-page fee, even if only one review is selected; selected reviews have existing review fees. Dates have day precision and ties keep original page/position order. Incomplete, blocked, inconsistent, or over-budget sets are refused with no new review/review-page events; product/detail events remain applicable. Saved pages are reused on restart. newest_complete_page retains its stricter one-page, up-to-100 matching reviews contract and refuses ambiguous selected dates. Free plans use fixed samples and a budget estimate without live reviews.",
            "default": "default"
          },
          "maxReviewSourcePages": {
            "title": "Source-page budget for newest reviews",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Applies only to reviewsSort=newest. Maximum matching source pages to read and charge per product (20 reviews per page). If omitted, uses max(1, ceil(maxReviewsPerProduct / 100)), preserving the existing page-fee estimate. Increase explicitly to select a small output from a larger complete review set. The entire source set must fit this budget AND the run charge limit; otherwise review output is refused."
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "best_match",
              "relevance",
              "orders",
              "price_asc",
              "price_desc",
              "newest_complete_page",
              "newest"
            ],
            "type": "string",
            "description": "The four normal choices use AliExpress sorting. newest_complete_page sorts by listing timestamps only when one page contains the entire matching set (at most 60 unique products with valid dates). Larger, incomplete or refused results produce a notice and no search-page/product fee. Equal timestamps keep source order. position retains the original search position; listingRecencyRank gives the sorted position. A restart reuses the saved complete set. newest reads every matching page within the existing per-keyword page allowance (ceil(maxProductsPerKeyword/60)+2, capped at 19), verifies stable totals, unique IDs and listing dates, then sorts before maxItems. Every original page is billed before selected products. Incomplete sets are refused without search-page/product charges; saved complete pages are reused after restart. This describes the observed set, not an atomic site snapshot.",
            "default": "best_match"
          },
          "filters": {
            "title": "Quick filters",
            "type": "array",
            "description": "Narrow the search like the site's own switches: free shipping, on sale, Choice (sent to AliExpress with the search) and 4 stars and up (AliExpress has no such filter: the search card's own rating decides, so a page can hold few matches and more pages are read, up to the page limit of Products per keyword).",
            "items": {
              "type": "string",
              "enum": [
                "free_shipping",
                "discounted",
                "choice",
                "four_stars_up",
                "freeShipping",
                "bigSale",
                "big_sale",
                "fourStarPlus",
                "four_star_plus"
              ],
              "enumTitles": [
                "Free shipping",
                "On sale",
                "AliExpress Choice",
                "4 stars and up",
                "Free shipping (freeShipping)",
                "On sale (bigSale)",
                "On sale (big_sale)",
                "4 stars and up (fourStarPlus)",
                "4 stars and up (four_star_plus)"
              ]
            },
            "default": []
          },
          "shipFromCountry": {
            "title": "Ships from",
            "type": "string",
            "description": "Two-letter code (US, ES, CN…): only products shipped from this country (sent to AliExpress with the search). Empty: any."
          },
          "categoryId": {
            "title": "Category ID",
            "type": "string",
            "description": "Keep only products of this AliExpress category id (read it from a category address or a row's categoryIds). AliExpress ignores a category in the search address, so the card's own category ids decide: the pages are read as usual and the others are left out (their page charge stays)."
          },
          "maxItems": {
            "title": "Maximum products in the whole run",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "One cap for the products of all keywords and product addresses together; the run stops when it is reached. Empty: only the limits of Products per keyword and your charge limit apply. Variant, review and report rows are not products and are not counted."
          },
          "maxPages": {
            "title": "Maximum listing pages per keyword or store",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "An additional page cap per search or store. Full-catalogue ordering requires every matching page to fit. Review pages have a separate budget."
          },
          "maxResults": {
            "title": "Imported total product limit",
            "minimum": 0,
            "type": "integer",
            "description": "A positive value caps products across the run. If maxItems is also set, the lower positive limit wins. Zero leaves the native per-input and charge limits in place."
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "number",
            "description": "Only products priced at or above this, in the currency chosen below. Leave empty for no lower limit."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "number",
            "description": "Only products priced at or below this, in the currency chosen below. Leave empty for no upper limit."
          },
          "priceMin": {
            "title": "Imported minimum search price",
            "minimum": 0,
            "type": "number",
            "description": "Search price floor in the selected currency when minPrice is omitted."
          },
          "priceMax": {
            "title": "Imported maximum search price",
            "minimum": 0,
            "type": "number",
            "description": "Search price ceiling in the selected currency when maxPrice is omitted."
          },
          "country": {
            "title": "Country",
            "enum": [
              "US",
              "GB",
              "DE",
              "FR",
              "ES",
              "BR",
              "KR",
              "JP"
            ],
            "type": "string",
            "description": "The shopper's country.",
            "default": "US"
          },
          "shipTo": {
            "title": "Shipping destination override",
            "type": "string",
            "description": "Overrides Country when provided. Enter a two-letter code or an English region name, such as DE, Germany or Canada. Currency and language are set separately."
          },
          "currency": {
            "title": "Currency",
            "enum": [
              "USD",
              "EUR",
              "GBP",
              "BRL",
              "KRW",
              "JPY"
            ],
            "type": "string",
            "description": "Prices come back in this currency (the row also carries the formatted price text).",
            "default": "USD"
          },
          "language": {
            "title": "Language",
            "enum": [
              "en_US",
              "de_DE",
              "fr_FR",
              "es_ES",
              "pt_BR",
              "ko_KR",
              "ja_JP"
            ],
            "type": "string",
            "description": "Language of product names and badges.",
            "default": "en_US"
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "For search and review pages. Apify Proxy is on by default: a blocked page is retried from a new address, which is what lets one keyword go deep. Datacenter proxy (the default) was enough in our runs; residential also works. Turning the proxy off limits a run to roughly ten pages before AliExpress shows a captcha. Product details use the setting below.",
            "default": {
              "useApifyProxy": true
            }
          },
          "detailProxyConfiguration": {
            "title": "Proxy for product details",
            "type": "object",
            "description": "Leave empty (recommended): product details go through Apify residential proxy outside the US, a new IP and country on every try. AliExpress refuses the detail call from datacenter and US residential addresses (our runs, November 2026) and answers about one call in five from residential addresses elsewhere, so a detail takes about five tries. Set this only to use your own proxies for the details; a datacenter setting here will get most details refused. \"No proxy\" here counts as empty."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}