{
  "openapi": "3.0.1",
  "info": {
    "title": "AliExpress Price Tracker - Best Sellers & Ratings [NO LOGIN] ✅",
    "description": "AliExpress price tracker: get prices, sales counts, ratings and links from AliExpress search results. 23 ship-to countries, 18 currencies, 13 title languages, sort by best selling or price, price range filter, organic/ad/promoted labels. Error rows are free. Export to CSV, Excel, JSON or API.",
    "version": "0.0",
    "x-build-id": "yBi14a69kAE5SQ2pg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/unseenuser~aliexpress-product-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-unseenuser-aliexpress-product-search",
        "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/unseenuser~aliexpress-product-search/runs": {
      "post": {
        "operationId": "runs-sync-unseenuser-aliexpress-product-search",
        "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/unseenuser~aliexpress-product-search/run-sync": {
      "post": {
        "operationId": "run-sync-unseenuser-aliexpress-product-search",
        "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",
        "required": [
          "keywords"
        ],
        "properties": {
          "keywords": {
            "title": "Search keywords (one per line)",
            "type": "array",
            "description": "One AliExpress search per line, in any language. Empty lines are ignored and a repeated keyword runs once.",
            "default": [
              "wireless earbuds"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxProductsPerKeyword": {
            "title": "Max products per keyword (0 = all results, free plan: up to 5)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum products to return for each keyword. 0 = all results. Minimum 0. Default 100. AliExpress returns up to 20 products per page. Free Apify plan: up to 5 results per run, whatever this field says; paid plans: no limit.",
            "default": 100
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "default",
              "salesDesc",
              "priceAsc",
              "priceDesc"
            ],
            "type": "string",
            "description": "Order of the results.",
            "default": "default"
          },
          "minPrice": {
            "title": "Minimum price (min 0)",
            "minimum": 0,
            "type": "number",
            "description": "Only products priced at or above this amount. Minimum 0. Must not be higher than the maximum price."
          },
          "maxPrice": {
            "title": "Maximum price (min 0)",
            "minimum": 0,
            "type": "number",
            "description": "Only products priced at or below this amount. Minimum 0."
          },
          "shipTo": {
            "title": "Ship-to country (23 countries)",
            "enum": [
              "US",
              "DE",
              "FR",
              "ES",
              "IT",
              "NL",
              "BE",
              "PL",
              "CH",
              "SE",
              "BR",
              "MX",
              "CL",
              "CA",
              "AU",
              "KR",
              "JP",
              "IL",
              "SA",
              "AE",
              "TR",
              "KZ",
              "RU"
            ],
            "type": "string",
            "description": "The country AliExpress shows prices and results for. Prices and rankings change by country.",
            "default": "US"
          },
          "currency": {
            "title": "Currency (18 currencies)",
            "enum": [
              "auto",
              "USD",
              "EUR",
              "PLN",
              "CHF",
              "SEK",
              "BRL",
              "MXN",
              "CLP",
              "CAD",
              "AUD",
              "KRW",
              "JPY",
              "ILS",
              "SAR",
              "AED",
              "TRY",
              "KZT",
              "RUB"
            ],
            "type": "string",
            "description": "Currency for prices. Auto = the ship-to country's own currency. Any currency works with any country.",
            "default": "auto"
          },
          "language": {
            "title": "Title language (13 languages)",
            "enum": [
              "en_US",
              "de_DE",
              "fr_FR",
              "es_ES",
              "it_IT",
              "nl_NL",
              "pl_PL",
              "pt_BR",
              "ko_KR",
              "ja_JP",
              "ar_MA",
              "tr_TR",
              "ru_RU"
            ],
            "type": "string",
            "description": "Language of the product titles. Works with any ship-to country.",
            "default": "en_US"
          },
          "includeRepeats": {
            "title": "Include repeated products",
            "type": "boolean",
            "description": "When on, products that appear again on later pages are written again, marked isRepeat: true. When off, each product is written once per keyword.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}