> ## Documentation Index
> Fetch the complete documentation index at: https://docs.querying.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Lotte ON API

> Search Lotte ON and read its product pages as JSON: ranked products with prices, ratings, review counts and brands, and each product's price, stock, seller, images and specs.

Search Lotte ON (lotteon.com) and read its product pages through the async task API. Send `COMMERCE_SERP` with `site` `lotteon` to get the products a search shows, in the store's order, or `COMMERCE_PRODUCT` with a product's `url` to read that product. A completed search or product page costs **0.5 credits**.

## Search

```bash theme={"theme":"css-variables"}
curl -X POST https://api.querying.ai/v1/async/task \
  -H "Authorization: Bearer $QUERYING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "taskType": "COMMERCE_SERP", "payload": { "site": "lotteon", "query": "airpods", "limit": 3 } }'
```

Submit the task, then poll `GET /v1/async/task/{id}` or receive its webhook. See [Async tasks](https://docs.querying.ai/concepts/async-tasks.md).

### Parameters

* `site`: Required. `lotteon`.
* `query`: Required. The search query, 1-500 characters.
* `limit`: Optional integer from 1 to 40, default 20.
* `country`: Optional. Defaults to `KR`, the store's country. Any other country is rejected with `422 REGION_UNSUPPORTED`.

Only the payload fields listed above are accepted. Omit `include`: even `include: {}` returns `422 VALIDATION_ERROR` on `payload.include` before credits are held.

### Response example

```json theme={"theme":"css-variables"}
{
  "site": "lotteon",
  "query": "airpods",
  "country": "KR",
  "returnedCount": 3,
  "products": [
    {
      "rank": 1,
      "productId": "LO2762983012",
      "title": "알루무 A39 에어팟 프로 3 호환 이어폰 보호 케이스 스트랩포함 AirPods",
      "url": "https://www.lotteon.com/p/product/LO2762983012?sitmNo=LO2762983012_2762983014&mall_no=1",
      "price": 57800,
      "currency": "KRW",
      "brand": "알루무",
      "imageUrl": "https://contents.lotteon.com/itemimage/20261011194224/LO/27/62/98/30/12/_2/76/29/83/01/4/LO2762983012_2762983014_1.png/dims/optimize/resizemc/400x400"
    },
    {
      "rank": 2,
      "productId": "LO2545544028",
      "title": "Apple Airpods Pro 3 애플 에어팟 프로 3 노이즈캔슬링 블루투스 이어폰/ 관부가세포함",
      "url": "https://www.lotteon.com/p/product/LO2545544028?sitmNo=LO2545544028_2545544029&mall_no=1",
      "price": 335330,
      "currency": "KRW",
      "rating": 5,
      "reviewCount": 2,
      "brand": "Apple",
      "imageUrl": "https://contents.lotteon.com/itemimage/20260828122445/LO/25/45/54/40/28/_2/54/55/44/02/9/LO2545544028_2545544029_1.jpg/dims/optimize/resizemc/400x400"
    },
    {
      "rank": 3,
      "productId": "LO2797494125",
      "title": "SUPCASE 에어팟 프로3 케이스 AirPods Pro3 방수케이스 맥세이프 섭케이스",
      "url": "https://www.lotteon.com/p/product/LO2797494125?sitmNo=LO2797494125_2797494126&mall_no=1",
      "price": 69870,
      "currency": "KRW",
      "imageUrl": "https://contents.lotteon.com/itemimage/20261020093459/LO/27/97/49/41/25/_2/79/74/94/12/6/LO2797494125_2797494126_1.jpg/dims/optimize/resizemc/400x400"
    }
  ]
}
```

### Result fields

* `site`, `query` and `country` echo the request. `returnedCount` is the number of entries in `products`.
* Each product includes `rank`, `productId`, `title` and `url`. `productId` is the store's own product ID. `rank` follows the store's default order, and listings the store marks as sponsored are left out.
* `price`, `rating`, `reviewCount`, `imageUrl` and `brand` appear when the results page shows them. `price` is a number in the product's `currency` (ISO 4217); when sizes are priced apart, it is the lowest one.
* `rating` uses a five-point scale. Abbreviated review counts such as 999+ are left out.
* Each search returns products from the store's first results page.

## Product page

```bash theme={"theme":"css-variables"}
curl -X POST https://api.querying.ai/v1/async/task \
  -H "Authorization: Bearer $QUERYING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "taskType": "COMMERCE_PRODUCT", "payload": { "url": "https://www.lotteon.com/p/product/LO2762983012?sitmNo=LO2762983012_2762983014&mall_no=1" } }'
```

### Parameters

* `url`: Required. A product page on Lotte ON, up to 2,048 characters: `lotteon.com/p/product/{id}`. Product `url` values from a search work as they are. Parameters the result does not depend on, such as tracking codes, are dropped before the page is read.
* `country`: Optional. Defaults to `KR`, the page's country. Any other country is rejected with `422 REGION_UNSUPPORTED`.

Only the payload fields listed above are accepted. Omit `include`: even `include: {}` returns `422 VALIDATION_ERROR` on `payload.include` before credits are held.

### Response example

```json theme={"theme":"css-variables"}
{
  "site": "lotteon",
  "country": "KR",
  "url": "https://www.lotteon.com/p/product/LO2762983012?sitmNo=LO2762983012_2762983014&mall_no=1",
  "productId": "LO2762983012",
  "title": "알루무 A39 에어팟 프로 3 호환 이어폰 보호 케이스 스트랩포함 AirPods",
  "brand": "알루무",
  "price": 54910,
  "currency": "KRW",
  "inStock": true,
  "seller": "롯데ON",
  "images": [
    "https://contents.lotteon.com/itemimage/20261011194224/LO/27/62/98/30/12/_2/76/29/83/01/4/LO2762983012_2762983014_1.png"
  ],
  "descriptionImages": [
    "https://ai.esmplus.com/moadeli/notice/notice_top.jpg",
    "https://shop-phinf.pstatic.net/20260904_172/1788461038021RFJty_PNG/2%EC%97%B4_%EC%98%B5%EC%85%98-_%EB%B3%B5%EC%82%AC%EB%B3%B8_(1).png"
  ],
  "specs": [
    { "name": "품명 및 모델명", "value": "상품 상세설명 참조" },
    { "name": "법에 의한 인증, 허가 등을 받았음을 확인할 수 있는 경우 그에 대한 사항", "value": "상품 상세설명 참조" },
    { "name": "제조국 또는 원산지", "value": "상품 상세설명 참조" }
  ],
  "categories": ["해외직구", "TV/영상/음향기기", "헤드폰/이어폰"]
}
```

### Result fields

* `site`, `country`, `url` and `productId` identify the page. `url` is the page that was read, and `productId` matches the one a search returns.
* `title` is always present. `brand`, `price`, `currency`, `inStock`, `seller`, `images`, `description`, `descriptionImages`, `specs` and `categories` appear when the page shows them.
* `price` is what a shopper pays as the page first shows it, before coupons and delivery, in `currency` (ISO 4217). `inStock` is the product's stock status. `seller` is the merchant selling it.
* `images` lists up to 30 photos from the product's gallery, in page order. This store returns the main photo only.
* `description` is plain text with one line per paragraph, up to 10,000 characters; text that appears only inside images is not included. This store shows most product details as images, so few of its pages have a `description`.
* `descriptionImages` lists up to 300 images from the product description, in page order. Banners and notices that sellers place in their description come along, and text inside the images is not read.
* `specs` lists up to 100 `{ name, value }` pairs from the product details. `categories` runs from the broadest category to the narrowest, up to 10 levels.

## Errors and billing

* A search that returns no products ends as a failed task.
* A product page the store answers with 404 or 410, such as a removed product, ends the task with `PAGE_UNAVAILABLE`, and the message carries the store's answer. When the store refuses the read with 403, 412, 429 or 435, the task waits and asks again for up to 6 minutes. Other failed reads, and a refusal that lasts longer, end with `ENGINE_NO_RESULT`.
* Only completed tasks are charged: 0.5 credits for a search or a product page.

## Related

* [Coupang](https://docs.querying.ai/engines/coupang.md)
* [Olive Young](https://docs.querying.ai/engines/oliveyoung.md)
* [11st](https://docs.querying.ai/engines/11st.md)
* [All Commerce stores](https://docs.querying.ai/engines/overview.md#commerce)
* [Credits and limits](https://docs.querying.ai/concepts/credits-and-limits.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.