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
- 1Selected implementation · last 30 days
- Success rate · 30d
- 100.00%Selected implementation · last 30 days
AliExpress Search API
Prepare your request, then continue with your agent.
Selected price
$0.00015 / call
- Provider
- API
- Pricing
On this page
Overview
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
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
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
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
litescrapeCurrent AliExpress Search · POST · View API reference | $0.00015 / call | 1 | 100.00%successP503.35s |
- 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.
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
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
query | JSON request bodybody | string | Yes | Product keywords to search for. minLength: 1 · maxLength: 500 |
timeout | URL query parametersquery | number | No | 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 |
page | JSON request bodybody | integer | No | 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
paginationobjectcurrentintegernext_pageintegertotal_resultsinteger
productsobject[]imagestringoriginal_priceobjectamountnumbercurrencystring
priceobjectamountnumbercurrencystringtextstring
product_idstringtitlestringurlstring
search_metadataobjectprovider_urlstringretailerstringtotal_time_takennumber
search_parametersobjectpageintegerquerystring
submit_feedback_for_this_response_herestring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect 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.
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 / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'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 · cURLcurl \ '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" }'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" }