Discover/LightInTheBox API
live

LightInTheBox APIlightinthebox.com

Search products, fetch details, retrieve reviews, browse categories, and get flash sale data from LightInTheBox via a structured JSON API.

Endpoint health
verified 3d ago
search_products
get_flash_sale_products
get_categories
get_product_reviews
get_product_details
5/5 passing latest checkself-healing
Endpoints
5
Updated
26d ago

What is the LightInTheBox API?

The LightInTheBox API covers 5 endpoints that return product listings, pricing, variants, customer reviews, flash sale items, and site categories. The search_products endpoint accepts a keyword and returns an array of product objects with name, URL, image, brand, offers, and aggregate ratings. Whether you need to compare prices, monitor discounts, or pull structured review data, the API exposes the core catalog data available on LightInTheBox.

Try it
Search keyword (e.g. 'dress', 'shoes', 'phone case')
api.parse.bot/scraper/e5754f89-86a1-4b6e-906a-52404c2e1860/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/e5754f89-86a1-4b6e-906a-52404c2e1860/search_products?query=dress' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace lightinthebox-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: LightInTheBox SDK — search products, fetch details, read reviews."""
from parse_apis.lightinthebox_api import LightInTheBox, ProductNotFound

client = LightInTheBox()

# Search for products by keyword — limit caps total items fetched.
for product in client.products.search(query="shoes", limit=3):
    print(product.name, product.brand, product.url)

# Get detailed product info by ID, inspect pricing and attributes.
try:
    detail = client.productdetails.get(product_id="18669138")
    print(detail.name, detail.sale_price, detail.original_price, detail.is_onsale)
except ProductNotFound as exc:
    print(f"Product not found: {exc.product_id}")

# Browse reviews for a product — paginator auto-advances pages.
if detail:
    for review in detail.reviews(limit=3):
        print(review.reviewer, review.rating, review.date)

# List current flash sale items.
for item in client.flashsaleproducts.list(limit=5):
    print(item.product_name, item.sale_price, item.discount, item.is_sold_out)

# Browse site categories.
for cat in client.categories.list(limit=5):
    print(cat.name, cat.url)

print("exercised: products.search / productdetails.get / detail.reviews / flashsaleproducts.list / categories.list")
All endpoints · 5 totalmissing one? ·

Full-text search over the LightInTheBox product catalog by keyword. Returns structured product data extracted from schema.org markup including name, brand, URL, image, pricing offers, and aggregate ratings. Results are a single page of up to ~20 items; no server-side pagination parameter is exposed.

Input
ParamTypeDescription
queryrequiredstringSearch keyword (e.g. 'dress', 'shoes', 'phone case')
Response
{
  "type": "object",
  "fields": {
    "query": "string, the original search query",
    "total": "integer, number of products returned",
    "products": "array of product objects with name, url, image, brand, description, offers, and aggregateRating"
  },
  "sample": {
    "data": {
      "query": "dress",
      "total": 20,
      "products": [
        {
          "url": "https://www.lightinthebox.com/en/p/women-s-midi-dress_p18669138.html",
          "name": "Women's Midi Dress",
          "@type": "Product",
          "brand": "LightInTheBox",
          "image": "https://litb-cgis.rightinthebox.com/images/384x500/202604/bps/product/inc/fshjch1775014151463.jpg",
          "offers": {
            "@type": "Offer",
            "price": null,
            "priceCurrency": "USD"
          },
          "@context": "https://schema.org",
          "position": 1,
          "description": "$25.99 - Women's Midi Dress",
          "aggregateRating": {
            "@type": "AggregateRating",
            "ratingValue": "4.8",
            "reviewCount": "17"
          }
        }
      ]
    },
    "status": "success"
  }
}

About the LightInTheBox API

Product Search and Details

The search_products endpoint takes a required query string (e.g. 'dress' or 'shoes') and returns a products array where each item includes name, url, image, brand, description, offers, and aggregateRating. The total field tells you how many products were returned for the query.

For deeper product data, get_product_details accepts a numeric product_id and returns an info object keyed by that ID, containing name, prices, attributes, variants, and availability. A separate shipping object within the response exposes shipping_time, processing_time, and warehouse fulfillment details — useful for logistics comparisons or delivery estimation.

Reviews and Flash Sales

get_product_reviews accepts a product_id and an optional page parameter for pagination. Each review object includes reviewer, rating, text, date, is_verified, and product_id. The total field reflects the count of reviews on the current page, not the overall review count for the product.

get_flash_sale_products requires no inputs and returns an array of currently discounted items. Each object includes product_id, product_name, product_image, sale_price, original_price, discount, and is_sol (indicating sold-out status). This makes it straightforward to monitor live discount depth across the flash sale catalog.

Categories

get_categories takes no inputs and returns the top-level site navigation as an array of objects with name and url. This is useful for mapping the category hierarchy or seeding subsequent product searches by department.

Reliability & maintenanceVerified

The LightInTheBox API is a managed, monitored endpoint for lightinthebox.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when lightinthebox.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official lightinthebox.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
3d ago
Latest check
5/5 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Track flash sale discount percentages across LightInTheBox using sale_price, original_price, and discount fields.
  • Build a price comparison tool by querying search_products and extracting offers data for matched items.
  • Aggregate verified customer sentiment by pulling rating, text, and is_verified fields from get_product_reviews.
  • Enumerate available product variants and attributes using get_product_details to support catalog ingestion pipelines.
  • Monitor estimated delivery windows by reading shipping_time and processing_time from the shipping object.
  • Populate a category navigation index by iterating the name and url fields returned by get_categories.
  • Detect sold-out flash sale items in real time using the is_sol flag from get_flash_sale_products.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does LightInTheBox have an official developer API?+
LightInTheBox does not publish a public developer API or documented data feed for third-party developers. This Parse API provides structured access to the product and catalog data available on the site.
What does `get_product_reviews` return, and how does pagination work?+
The endpoint returns a reviews array where each object includes reviewer, rating, text, date, is_verified, and product_id. The optional page parameter controls which page of results is returned. The total field reflects the number of reviews on the current page, not the cumulative review count for the product across all pages.
Does the API expose seller information or individual seller ratings?+
Not currently. The API returns product-level data including brand, pricing, attributes, and aggregate ratings, but does not expose individual seller profiles or per-seller reputation scores. You can fork the API on Parse and revise it to add an endpoint targeting seller-specific data.
Are product images returned for all endpoints, or only search results?+
search_products returns an image field per product, and get_flash_sale_products returns a product_image field. get_product_details does not currently include a dedicated image array in its response fields. You can fork the API on Parse and revise the details endpoint to include image data if needed.
Does the API support filtering search results by price range or category?+
The search_products endpoint currently accepts only a query string. It does not expose price range, category, or sort-order filters. You can fork the API on Parse and revise it to add filter parameters to the search endpoint.
Page content last updated . Spec covers 5 endpoints from lightinthebox.com.
Related APIs in EcommerceSee all →
dhgate.com API
Search DHgate's vast marketplace to find products across all categories, view detailed information including pricing tiers, shipping options, and seller ratings, and discover flash deals. Retrieve full product details and customer reviews in one place.
lazada.sg API
Search and browse products on Lazada Singapore with access to detailed product information, customer reviews, seller profiles, and category listings. Discover flash sale deals and explore what sellers are offering all in one place.
aliexpress.com API
Search for products across AliExpress and instantly access detailed information including product specs, customer reviews, and pricing to make informed purchasing decisions. Browse through product categories and retrieve complete product data directly from URLs to compare options and find exactly what you're looking for.
banggood.com API
Search Banggood products and retrieve detailed information including prices, specifications, and customer reviews to help you discover items and make informed purchasing decisions. Perfect for monitoring inventory, comparing products, and staying updated on what's available across Banggood's catalog.
mercadolibre.com API
Search and retrieve product listings, details, customer reviews, categories, and current deals from MercadoLibre across multiple countries to find the best products and prices. Get comprehensive product information including specifications and user feedback to make informed purchasing decisions.
lazada.co.th API
Search for products and browse categories on Lazada Thailand to find detailed information like prices, descriptions, and availability. Discover items by keyword or category to compare specifications and make informed purchasing decisions.
lookfantastic.com API
Browse Lookfantastic category pages to retrieve live product listings (price, ratings, reviews, and ingredients), and fetch detailed information for a specific product by SKU including reviews, directions, and images.
footlocker.com API
Access product listings, pricing, availability, customer reviews, release calendars, and category/brand browsing data from Foot Locker.