APIs / Marketplaces / Wish

1 credit per call6 endpoints10 datapointsChecked working 6 Dec 2026

Wish API

Wish API for marketplace product search, USD prices, variations, inventory, merchants and shipping times as JSON. 1 credit per successful call.

Wish
GET/v1/wish/search?query=phone+case
{
  "success": true,
  "data": {
    "query": "phone case",
    "page": 1,
    "page_size": 20,
    "total_results": 20481,
    "has_more": true,
    "next_offset": 30,
    "no_more_items": false,
    "results": [
      {
        "product_id": "66d57c5e2bc736b0f04daa8b",
        "title": "PlusAcc Waterproof Case for iPhone 17 Air 16 15 14 13 12 11 Pro Max Mini 14 15 16 Plus [Built-in Screen Protector][IP68 Underwater][6.6FT Military Dropproof][Dustproof] Full Body Shockproof Protective Phone Case",
        "url": "https://www.wish.com/product/66d57c5e2bc736b0f04daa8b",
        "image_url": "https://canary.contestimg.wish.com/api/webimage/66d57c5e2bc736b0f04daa8b-medium.jpg?cache_buster=e09a4df86e6a94a085ad151649e5f052",
        "price": {
          "amount": 18.89,
          "currency": "USD"
        },
        "price_usd": {
          "amount": 18.89,
          "currency": "USD"
        },
        "rating": 4,
        "review_count": 5,
        "merchant_id": "631197b8ccdc7ca831b54df8",
        "currency": "USD"
      },
      {
        "product_id": "695741fbf6ae06bc33769121",
        "title": "Frog Flower Cute Phone Case with Hidden Dual Stand for iPhone 16 Pro 15 14 13 X",
        "url": "https://www.wish.com/product/695741fbf6ae06bc33769121",
        "image_url": "https://canary.contestimg.wish.com/api/webimage/695741fbf6ae06bc33769121-medium.jpg?cache_buster=c97c39cf173185a4b28e43d026bb6aed",
        "price": {
          "amount": 6.17,
          "currency": "USD"
        },
        "price_usd": {
          "amount": 6.166073446327683,
          "currency": "USD"
        },
        "original_price": {
          "amount": 8.72,
          "currency": "USD"
        },
        "discount_percent": 29,
        "review_count": 0,
        "merchant_id": "689c553d700fd4e22ea87574",
        "currency": "USD"
      },
      {
        "product_id": "6a72e718bf99de43c41eeaef",
        "title": "For Samsung S26 Ultra S25 Ultra S24 Ultra Case, Shockproof Protective Cover with Slide-Out Window Stand, Sturdy Drop-Proof Phone Case",
        "url": "https://www.wish.com/product/6a72e718bf99de43c41eeaef",
        "image_url": "https://canary.contestimg.wish.com/api/webimage/6a72e718bf99de43c41eeaef-medium.jpg?cache_buster=dfe0abd0ddcc1b937a4f9383e1726483",
        "price": {
          "amount": 13.27,
          "currency": "USD"
        },
        "price_usd": {
          "amount": 13.270000000000001,
          "currency": "USD"
        },
        "review_count": 0,
        "merchant_id": "689c590e5416d59d62a86f1b",
        "currency": "USD"
      }
    ],
    "filter_groups": [
      {
        "title": "Price",
        "filters": [
          {
            "filter_id": "merchant_price_0.00_3.00",
            "title": "Under $5"
          },
          {
            "filter_id": "merchant_price_0.00_8.00",
            "title": "Under $10"
          },
          {
            "filter_id": "merchant_price_10.00_20.00",
            "title": "$10 - $20"
          }
        ]
      },
      {
        "title": "Shipping",
        "filters": [
          {
            "filter_id": "shipping_time_express",
            "title": "Express shipping"
          }
        ]
      },
      {
        "title": "Category",
        "filters": [
          {
            "filter_id": "browseonomy_0501",
            "title": "Cases & screen protectors"
          },
          {
            "filter_id": "browseonomy_0501003",
            "title": "Phone case & covers"
          }
        ]
      }
    ]
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_bcd5cd2ca6894f3f9294b5999d27be16",
    "credits_charged": 1,
    "credits_remaining": 4843
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Sample data

What one call returns

A recorded run of search: the fields and shapes you will get, shortened to 3 items.

#product_idstringtitlestringurlurlimage_urlurlpriceobjectprice_usdobjectratingnumberreview_countintegermerchant_idstringcurrencystring
166d57c5e2bc736b0f04daa8bPlusAcc Waterproof Case for iPhone 17 Air 16 15 14 13 12 11 Pro Max Mini 14 15 16 Plus [Built-in Screen Protector][IP68 Underwater][6.6FT Military Dropproof][Dustproof] Full Body Shockproof Protective Phone Casehttps://www.wish.com/product/66d57c5e2bc736b0f04daa8bhttps://canary.contestimg.wish.com/api/webimage/66d57c5e2bc736b0f04daa8b-medium.jpg?cache_buster=e09a4df86e6a94a085ad151649e5f052{2 fields}{2 fields}45631197b8ccdc7ca831b54df8USD
2695741fbf6ae06bc33769121Frog Flower Cute Phone Case with Hidden Dual Stand for iPhone 16 Pro 15 14 13 Xhttps://www.wish.com/product/695741fbf6ae06bc33769121https://canary.contestimg.wish.com/api/webimage/695741fbf6ae06bc33769121-medium.jpg?cache_buster=c97c39cf173185a4b28e43d026bb6aed{2 fields}{2 fields}—0689c553d700fd4e22ea87574USD
36a72e718bf99de43c41eeaefFor Samsung S26 Ultra S25 Ultra S24 Ultra Case, Shockproof Protective Cover with Slide-Out Window Stand, Sturdy Drop-Proof Phone Casehttps://www.wish.com/product/6a72e718bf99de43c41eeaefhttps://canary.contestimg.wish.com/api/webimage/6a72e718bf99de43c41eeaef-medium.jpg?cache_buster=dfe0abd0ddcc1b937a4f9383e1726483{2 fields}{2 fields}—0689c590e5416d59d62a86f1bUSD

Recorded from our API · 3 items shown · 10 datapoints per itemGET /v1/wish/search?query=phone+case

10 datapoints

Identity

  • product_idstring
  • titlestring
  • merchant_idstring

Contact

  • urlurl
  • image_urlurl

Reputation

  • ratingnumber
  • review_countinteger

Price

  • priceobject
  • price_usdobject
  • currencystring

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/wish/search?query=phone+case" \
  -H "X-API-Key: $API_KEY"

Wish · 6 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/wish/autocomplete
query
suggestions
1 credit
GET/v1/wish/categories
none
idnamechildren
1 credit
GET/v1/wish/facets
none
titlefilter_groups
1 credit
GET/v1/wish/product
product_id
product_idurlmain_imageimage_urlstitlecurrency+5 more
1 credit
GET/v1/wish/related
product_id
product_idproductsfeed_ended
1 credit
GET/v1/wish/search
query+1 optional
product_idtitleurlimage_urlpriceprice_usd+6 more
1 credit

Overview

About the Wish API

What you can get

The Wish API returns Wish marketplace data as JSON through 6 endpoints. Prices are in USD.

  • Search: search takes a query, with page. autocomplete takes a partial query.
  • Products: product takes a product_id. related takes a product_id and returns similar products.
  • Categories: categories returns the category tree and trending categories. facets returns the filter groups, such as colour.

The recorded product call returns title, url, main_image, image_urls, aggregate_rating, offers (price), shipping_options and variations, each with variation_id, color, size, price, inventory, merchant_id, merchant_name, merchant_rating, shipping_cost, min_days, max_days and ships_from. That product, a waterproof iPhone case, was 18.89 USD plus 2.99 USD standard shipping taking 13 to 31 days, with 990 units of one variation in stock.

How a call works

Search, then look up: GET /v1/wish/search?query=phone%20case with your key in the X-API-Key header returns each product's product_id. Pass it to product or related, for example GET /v1/wish/product?product_id=66d57c5e2bc736b0f04daa8b. Page search with page while has_more is true; the recorded search reported 20,481 results, 20 per page. Every successful call costs 1 credit; failed calls cost nothing.

MarketplacesJSONRESTMCP

More marketplaces APIs

Use cases

Track Wish prices and shipping costs for a product type

Use the Wish API to track Wish prices and shipping costs for a product type

Compare variations of a product by size, colour, price and stock

Use the Wish API to compare variations of a product by size, colour, price and stock

Check delivery time ranges before listing a competing product

Use the Wish API to check delivery time ranges before listing a competing product

Look up the merchant and merchant rating behind a listing

Use the Wish API to look up the merchant and merchant rating behind a listing

FAQ

Questions

How much does the Wish API cost?

Each successful call costs one credit, whichever endpoint you call, and each page of results is one call. Failed calls cost nothing.

Are review texts returned?

No. Products and search results carry a `rating` and `review_count` only, and the catalogue has no reviews endpoint for Wish.

Does product show stock per variation?

Yes. Each entry in `variations` has its own `inventory`, `price`, merchant and shipping details, and `ships_from` (Overseas in the recording).

Do I need a Wish account?

No. You call this Wish API with your Perceptlayer key in the `X-API-Key` header, with no Wish login.

Is this the official Wish API?

No. Perceptlayer is an independent service and is not affiliated with Wish. It returns Wish data as JSON with a Perceptlayer key, so there is no Wish developer account, app review or partner approval to get first. It only reads data: if Wish has an official API and you need to act on your own Wish account, such as posting, managing orders or reading private data, use that one.

Should I build a Wish scraper instead?

You can, but a Wish scraper is code you maintain: page changes break it, requests get blocked, and Wish's terms govern how you collect data. The Wish API gives you 6 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the Wish API with 100 free credits

No credit card. Failed calls are never billed.