← API documentation

AliExpress: get product details

Inspect one public product page for pricing, identity, images and other fields when available from the source.

5 credits per request. Public data only; GeckoAPI is independent of the marketplace.

Try this endpoint

Region, pagination and limitations

Use keyword or a search URL for discovery, then send a full product URL for details. PDP returns the raw upstream JSON rather than normalized fields. Do not pass region: this endpoint does not accept it. Use the returned currency; do not assume a currency from your own location.

HTTP request

cURL
curl -X POST https://api.geckoapi.com.br/v1/extract \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://pt.aliexpress.com/item/1005007515734290.html",
  "target": "aliexpress.com",
  "type": "pdp"
}'

Replace YOUR_API_KEY with your own server-side credential. Read the quickstart for authentication and error handling.

Supported inputs

FieldRequirementMeaning
urlrequiredComplete public search or product URL. Keep its country and query parameters.
targetrequiredSource identifier shown in the example.
typerequiredplp for search; pdp for product details.

Conditional means an alternative input can satisfy the request, such as keyword or search URL. Fields absent from this table are unsupported for this endpoint.

Example response

One possible response, not a guarantee of current price or availability. Product text stays in the source language. Fields may be missing or null; preserve that distinction in your database.

JSON
{
  "requestId": "a7cbe4a5-c2c8-4d2d-a4b6-6a0f6d67c4c7",
  "executionId": "7f6c74f6-7d8d-4d19-8f28-14d2a6e9d1d2",
  "data": {
    "api": "mtop.aliexpress.mobile.gw.item.detail",
    "data": {
      "result": {
        "global": {
          "bizContext": {
            "itemInfo": {
              "itemId": "1005007515734290"
            }
          }
        },
        "components": []
      }
    },
    "ret": [
      "SUCCESS::调用成功"
    ],
    "v": "1.0"
  }
}

Response fields

Field paths and types
{
  "requestId": "string (uuid)",
  "executionId": "string (uuid)",
  "notFound": "boolean (optional; true when the upstream entity was not found and data is null)",
  "data": "object (raw AliExpress PDP endpoint JSON; upstream-defined schema)"
}