# AliExpress price tracker: USB-C cables with price history

**Use case:** 

Track the prices of AliExpress's best-selling USB-C cables: each run gives every cable's store price (the same for every visitor), its change since the last run and its lowest, highest and average price over your runs. Schedule it daily to build the price history.

## Input

```json
{
  "searchQueries": [
    "usb c cable"
  ],
  "country": "US",
  "currency": "auto",
  "sortBy": "orders",
  "freeShipping": false,
  "choiceOnly": false,
  "fourStarsAndUp": false,
  "shipFrom": "",
  "includeSponsored": true,
  "includeRelated": false,
  "reviewSummary": false,
  "latestReviews": 0,
  "includeVariants": true,
  "includeDelivery": false,
  "maxResults": 60,
  "trackChanges": true,
  "priceHistoryRuns": 30,
  "onlyChanges": false,
  "onlyPriceDrops": false,
  "minPriceChangePercent": 1
}
```

## Output

```json
{
  "searchQuery": {
    "label": "Search keyword",
    "format": "string"
  },
  "organicPosition": {
    "label": "Organic position",
    "format": "integer"
  },
  "changes": {
    "label": "Changes",
    "format": "array"
  },
  "movement": {
    "label": "Movement",
    "format": "string"
  },
  "positionChange": {
    "label": "Position change",
    "format": "integer"
  },
  "imageUrl": {
    "label": "Image",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "storePrice": {
    "label": "Store price",
    "format": "number"
  },
  "previousStorePrice": {
    "label": "Previous store price",
    "format": "number"
  },
  "storePriceChange": {
    "label": "Store price change",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "soldCount": {
    "label": "Units sold",
    "format": "integer"
  },
  "soldChange": {
    "label": "Sold since",
    "format": "integer"
  },
  "soldPerDay": {
    "label": "Sold per day",
    "format": "number"
  },
  "firstSeenAt": {
    "label": "First seen",
    "format": "string"
  },
  "lowestStorePrice": {
    "label": "Lowest store price",
    "format": "number"
  },
  "highestStorePrice": {
    "label": "Highest store price",
    "format": "number"
  },
  "averageStorePrice": {
    "label": "Average store price",
    "format": "number"
  },
  "atLowestStorePrice": {
    "label": "At lowest store price",
    "format": "boolean"
  },
  "storePriceReadings": {
    "label": "Store price readings",
    "format": "integer"
  },
  "url": {
    "label": "Link",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The AliExpress Price Tracker & Scraper - Price History Actor is ready to run with the inputs already set for "AliExpress price tracker: USB-C cables with price history". [Sign up or log in](https://console.apify.com/create-task-from-example/0Vg60a1QmeMkgUjWB) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "AliExpress price tracker: USB-C cables with price history" task

The AliExpress Price Tracker & Scraper - Price History Actor will start running based on the input automatically. You can also change all the input fields, like search keywords, ship to, and more, to match your specific use case.

### 3. Receive the "AliExpress price tracker: USB-C cables with price history" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as search keyword, organic position, changes, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "AliExpress price tracker: USB-C cables with price history" task via API](https://apify.com/akhil_rajesh/aliexpress-price-tracker.md).

## About this Actor

This example demonstrates how to use [AliExpress Price Tracker & Scraper - Price History](https://apify.com/akhil_rajesh/aliexpress-price-tracker.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/akhil_rajesh/aliexpress-price-tracker.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/akhil_rajesh/aliexpress-price-tracker.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
