OpenAny
Get API keyAPI Key
APIE-commerceScrapers

aliexpress logo
AliExpress Search API

Search AliExpress via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by LiteScrape, pass parameters such as query, and retrieve structured data including source product identifier, product title, product image URL, listed product price amount, and source-formatted price text for marketplace discovery, and price comparisons.

Selected price
$0.00015 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

AliExpress Search API

Prepare your request, then continue with your agent.

Selected price

$0.00015 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
AliExpress Search API

AliExpress Search API

The JSON body requires query and supports optional page from 1 to 100. products carries price and original_price objects alongside source IDs and links; pagination provides available page and total-result metadata.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs JSON body requires query; optional body fields: page. Optional query parameter: timeout (greater than 0, at most 90 seconds).
Selected implementation litescrape · AliExpress Search
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Marketplace discovery: Build keyword result lists with item links and currency-aware prices.
  • Price comparisons: Keep current and original price objects distinct for each source item.

Returned Data

Field Meaning
products[].product_id Source product identifier.
products[].title Product title.
products[].image Product image URL.
products[].price.amount Listed product price amount.
products[].price.currency Currency of the listed price.
products[].price.text Source-formatted price text.
products[].original_price.amount Original product price when returned.
products[].original_price.currency Currency of the original price.
products[].url Source item URL.
pagination.current Returned page.
pagination.next_page Next page number when available.
pagination.total_results Source-reported result count.

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request POST \
  https://api.openany.si/v1/agent-apis/litescrape/api/aliexpress/search \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  -H "Content-Type: application/json" \
  --data-raw '{"query":"coffee mug"}'

Request and Response Examples

The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.

Published AliExpress Search API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body* object
Product keywords to search for.
One-based result page.
Search AliExpress products with prices.
Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
litescrapeCurrent
AliExpress Search · POST · View API reference
$0.00015 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · litescrapeUSD / call
Unit price
$0.00015

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.

calls

Total $0.015

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/litescrape/api/aliexpress/search
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
queryJSON request bodybodystringYes

Product keywords to search for.

minLength: 1 · maxLength: 500

timeoutURL query parametersquerynumberNo

Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.

maximum: 90

pageJSON request bodybodyintegerNo

One-based result page.

minimum: 1 · maximum: 100

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • paginationobject
    • currentinteger
    • next_pageinteger
    • total_resultsinteger
  • productsobject[]
    • imagestring
    • original_priceobject
      • amountnumber
      • currencystring
    • priceobject
      • amountnumber
      • currencystring
      • textstring
    • product_idstring
    • titlestring
    • urlstring
  • search_metadataobject
    • provider_urlstring
    • retailerstring
    • total_time_takennumber
  • search_parametersobject
    • pageinteger
    • querystring
  • submit_feedback_for_this_response_herestring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 2

    Review these request fields before running. Keep the published provider and request method unchanged.

    timeout
    Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.
    body
    Search AliExpress products with prices.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/litescrape/api/aliexpress/search' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '{
      "query": "coffee mug"
    }'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "pagination": {
        "current": 1,
        "next_page": 2,
        "total_results": 32962
      },
      "products": [
        {
          "image": "https://ae-pic-a1.aliexpress-media.com/kf/S6f9d3df50807410fa7e5a6fb7133342ep.jpg",
          "original_price": {
            "amount": 50.73,
            "currency": "USD"
          },
          "price": {
            "amount": 3.73,
            "currency": "USD",
            "text": "US $3.73"
          },
          "product_id": "3256813114203051",
          "title": "1PC Pumpkin Ceramic Coffee Mug Cute Pumpkin Shaped Fall Tea Cup, Microwave, Halloween Thanksgiving Christmas Gift Home Decor",
          "url": "https://www.aliexpress.com/item/3256813114203051.html"
        },
        {
          "image": "https://ae-pic-a1.aliexpress-media.com/kf/S39f1193adbf847689c05b991486a0cb44.jpg",
          "original_price": {
            "amount": 10.72,
            "currency": "USD"
          },
          "price": {
            "amount": 1.33,
            "currency": "USD",
            "text": "US $1.33"
          },
          "product_id": "3256809857674133",
          "title": "Japanese Style Ceramic Tea Cup Kiln Transformation Espresso Cup Porcelain Kung Fu Teacup Pottery Coffee Mug Wine Drinkware",
          "url": "https://www.aliexpress.com/item/3256809857674133.html"
        },
        {
          "image": "https://ae-pic-a1.aliexpress-media.com/kf/S1ce995985a0244359d7fa315b8537e2cI.jpg",
          "original_price": {
            "amount": 50.78,
            "currency": "USD"
          },
          "price": {
            "amount": 7.59,
            "currency": "USD",
            "text": "US $7.59"
          },
          "product_id": "3256813107898640",
          "title": "V8 Engine Stainless Steel Coffee Mug, 3D Metal Mechanical Car Engine Water Bottle, Unique Automotive Enthusiast Gift For Fathers Day, Novelty Collectible Mug For Car Guys & Mechanics, Perfect For Hot/Cold Beverages",
          "url": "https://www.aliexpress.com/item/3256813107898640.html"
        }
      ],
      "search_metadata": {
        "provider_url": "https://www.aliexpress.com/w/wholesale-coffee-mug.html?page=1",
        "retailer": "AliExpress",
        "total_time_taken": 1.84
      },
      "search_parameters": {
        "page": 1,
        "query": "coffee mug"
      },
      "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token"
    }

Common questions

How do I select keywords and pages?

query accepts 1–500 characters. page is a one-based integer from 1 to 100 and defaults to 1; use next_page when available.

How should I interpret price and original_price?

Preserve each amount with its currency and keep the source-formatted price text where useful. A price difference alone does not establish shipping cost or a guaranteed discount.

Can I filter by destination or product variant?

The exposed body fields are query and page. Destination, variant and seller selectors are not part of this implementation’s request schema.

How do I match a result to a product record?

Keep product_id and url together, using the identifier as a string. The separate product lookup accepts the full supported item URL.

Where should I set the request timeout?

Set timeout in the query string, including for POST requests. It must be greater than 0 and at most 90 seconds; page_timeout cannot extend this total execution budget.

Can I add arbitrary parameters to the JSON body?

Use the body fields exposed by this implementation. Its JSON schema rejects additional properties; query parameters such as timeout belong outside the JSON body.

Use AliExpress Search API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.