{
  "openapi": "3.0.1",
  "info": {
    "title": "AliExpress Scraper — Product Details & Search",
    "description": "AliExpress scraper, no login — 58 fields per product: every variant (SKU) with its own price and stock, shipping cost and delivery time to your country, store, specs, rating, units sold. Search by keyword or paste product links / IDs. Missing and failed products are free. CSV, Excel, JSON.",
    "version": "1.0",
    "x-build-id": "t0fQcnpdqts67SRfh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/instagram-data-api~aliexpress-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-instagram-data-api-aliexpress-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/instagram-data-api~aliexpress-scraper/runs": {
      "post": {
        "operationId": "runs-sync-instagram-data-api-aliexpress-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/instagram-data-api~aliexpress-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-instagram-data-api-aliexpress-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": {
          "queries": {
            "title": "Keywords, links or product IDs",
            "type": "array",
            "description": "One per line, any mix: a keyword (wireless earbuds), an AliExpress search or category link, a product link, or a product ID (1005006959700436). A keyword or search link returns search results; a product link or ID returns that product with full details. Duplicates are dropped and never charged.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max products per keyword or search link",
            "minimum": 1,
            "maximum": 3600,
            "type": "integer",
            "description": "How many products to take from each keyword or search / category link. A page holds up to 60, and later pages repeat some products (repeats are dropped and not charged): 1,200 products took 26–28 pages. AliExpress shows at most 60 pages of a search. Product links and IDs are not counted here — each one is always read.",
            "default": 50
          },
          "includeDetails": {
            "title": "Include product details for search results ($6.30 per 1,000 instead of $3.19)",
            "type": "boolean",
            "description": "Off: each search product is one light row (title, price, discount, rating, units sold, images). On: every search product is opened and comes with full details — variants with their own price and stock, shipping to your country, store, specifications — and is charged as a product-details row instead of a search result (not on top).",
            "default": false
          },
          "sort": {
            "title": "Sort search results by",
            "enum": [
              "default",
              "orders",
              "price_asc",
              "price_desc"
            ],
            "type": "string",
            "description": "The order AliExpress itself offers. A search link that already has a sort keeps it. AliExpress sorts by price inside each page of results, not across the whole search: every page starts again from the low (or high) end — sort the exported file for one order.",
            "default": "default"
          },
          "minPrice": {
            "title": "Min price",
            "minimum": 0,
            "type": "number",
            "description": "Lowest price, in the chosen currency. A search link's own range wins."
          },
          "maxPrice": {
            "title": "Max price",
            "minimum": 0,
            "type": "number",
            "description": "Highest price, in the chosen currency."
          },
          "country": {
            "title": "Ship to (country)",
            "enum": [
              "US",
              "GB",
              "DE",
              "FR",
              "ES",
              "IT",
              "NL",
              "PL",
              "PT",
              "BE",
              "AT",
              "CH",
              "IE",
              "SE",
              "DK",
              "NO",
              "FI",
              "CZ",
              "SK",
              "HU",
              "RO",
              "BG",
              "GR",
              "HR",
              "SI",
              "LT",
              "LV",
              "EE",
              "CY",
              "MT",
              "LU",
              "IS",
              "UA",
              "TR",
              "IL",
              "SA",
              "AE",
              "QA",
              "KW",
              "EG",
              "MA",
              "ZA",
              "NG",
              "KE",
              "CA",
              "MX",
              "BR",
              "AR",
              "CL",
              "CO",
              "PE",
              "AU",
              "NZ",
              "JP",
              "KR",
              "SG",
              "MY",
              "TH",
              "VN",
              "ID",
              "PH",
              "IN",
              "PK",
              "HK",
              "TW",
              "KZ"
            ],
            "type": "string",
            "description": "Prices, stock, shipping cost and delivery time are the ones AliExpress shows a buyer in this country.",
            "default": "US"
          },
          "currency": {
            "title": "Currency",
            "enum": [
              "USD",
              "EUR",
              "GBP",
              "CAD",
              "AUD",
              "NZD",
              "CHF",
              "SEK",
              "NOK",
              "DKK",
              "PLN",
              "CZK",
              "HUF",
              "RON",
              "BGN",
              "TRY",
              "ILS",
              "SAR",
              "AED",
              "QAR",
              "KWD",
              "EGP",
              "MAD",
              "ZAR",
              "NGN",
              "MXN",
              "BRL",
              "ARS",
              "CLP",
              "COP",
              "PEN",
              "JPY",
              "KRW",
              "SGD",
              "MYR",
              "THB",
              "VND",
              "IDR",
              "PHP",
              "INR",
              "PKR",
              "HKD",
              "TWD",
              "UAH",
              "KZT"
            ],
            "type": "string",
            "description": "Currency of every price in the rows.",
            "default": "USD"
          },
          "language": {
            "title": "Language",
            "enum": [
              "en_US",
              "es_ES",
              "fr_FR",
              "de_DE",
              "it_IT",
              "nl_NL",
              "pt_BR",
              "pl_PL",
              "tr_TR",
              "ja_JP",
              "ko_KR",
              "th_TH",
              "vi_VN",
              "in_ID",
              "ar_MA",
              "iw_IL",
              "uk_UA",
              "ru_RU"
            ],
            "type": "string",
            "description": "Language of titles, specifications and option names (AliExpress's own translation).",
            "default": "en_US"
          },
          "includeDescription": {
            "title": "Include the seller's description (text and images)",
            "type": "boolean",
            "description": "Adds descriptionText and descriptionImages to every product-details row. One more request per product, no extra charge.",
            "default": false
          },
          "includeReviews": {
            "title": "Include buyer reviews ($1.59 per 1,000 reviews)",
            "type": "boolean",
            "description": "Adds buyer reviews to every product-details row: rating, text, translation, date, country, variant bought, photos. Charged per review delivered.",
            "default": false
          },
          "maxReviewsPerProduct": {
            "title": "Max reviews per product",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Reviews come 20 a request, in AliExpress's default order.",
            "default": 20
          },
          "maxConcurrency": {
            "title": "Products read at once",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many products are read in parallel. Lower it if you see many retries in the log.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Residential proxies are the default; the exit country follows «Ship to» unless you pick one. Leave as it is: with datacenter proxies alone search results still work, but AliExpress refused most product reads (69 of 200 read, 17 Nov 2026).",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}