---
title: "Wish API: marketplace product search, USD prices as JSON"
description: "Wish API for marketplace product search, USD prices, variations, inventory, merchants and shipping times as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/wish
---

[APIs](https://perceptlayer.com/apis) / [Marketplaces](https://perceptlayer.com/verticals/marketplaces) / Wish

1 credit per call 6 endpoints 10 datapoints 

# Wish API

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

[Get a free API key](https://perceptlayer.com/signup) Run it below

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 OK JSON X-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\_id string | title string | url url | image\_url url | price object | price\_usd object | rating number | review\_count integer | merchant\_id string | currency string |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 66d57c5e2bc736b0f04daa8b | 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 | https://www.wish.com/product/66d57c5e2bc736b0f04daa8b | https://canary.contestimg.wish.com/api/webimage/66d57c5e2bc736b0f04daa8b-medium.jpg?cache\_buster=e09a4df86e6a94a085ad151649e5f052 | {2 fields} | {2 fields} | 4 | 5 | 631197b8ccdc7ca831b54df8 | USD |
| 2 | 695741fbf6ae06bc33769121 | Frog Flower Cute Phone Case with Hidden Dual Stand for iPhone 16 Pro 15 14 13 X | https://www.wish.com/product/695741fbf6ae06bc33769121 | https://canary.contestimg.wish.com/api/webimage/695741fbf6ae06bc33769121-medium.jpg?cache\_buster=c97c39cf173185a4b28e43d026bb6aed | {2 fields} | {2 fields} | — | 0 | 689c553d700fd4e22ea87574 | USD |
| 3 | 6a72e718bf99de43c41eeaef | For Samsung S26 Ultra S25 Ultra S24 Ultra Case, Shockproof Protective Cover with Slide-Out Window Stand, Sturdy Drop-Proof Phone Case | https://www.wish.com/product/6a72e718bf99de43c41eeaef | https://canary.contestimg.wish.com/api/webimage/6a72e718bf99de43c41eeaef-medium.jpg?cache\_buster=dfe0abd0ddcc1b937a4f9383e1726483 | {2 fields} | {2 fields} | — | 0 | 689c590e5416d59d62a86f1b | USD |

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

10 datapoints

### Identity

-   product\_id string
-   title string
-   merchant\_id string

### Contact

-   url url
-   image\_url url

### Reputation

-   rating number
-   review\_count integer

### Price

-   price object
-   price\_usd object
-   currency string

Playground

## Run this API

cURL shell 

```
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.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/wish/autocomplete`](https://perceptlayer.com/apis/wish/autocomplete) | `query` | `suggestions` | 1 credit |
| [GET `/v1/wish/categories`](https://perceptlayer.com/apis/wish/categories) | none | `id` `name` `children` | 1 credit |
| [GET `/v1/wish/facets`](https://perceptlayer.com/apis/wish/facets) | none | `title` `filter_groups` | 1 credit |
| [GET `/v1/wish/product`](https://perceptlayer.com/apis/wish/product) | `product_id` | `product_id` `url` `main_image` `image_urls` `title` `currency` +5 more | 1 credit |
| [GET `/v1/wish/related`](https://perceptlayer.com/apis/wish/related) | `product_id` | `product_id` `products` `feed_ended` | 1 credit |
| [GET `/v1/wish/search`](https://perceptlayer.com/apis/wish/search) | `query` +1 optional | `product_id` `title` `url` `image_url` `price` `price_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.

Marketplaces JSON REST MCP

### More marketplaces APIs

[About You](https://perceptlayer.com/apis/about-you) [adidas](https://perceptlayer.com/apis/adidas) [Albert Heijn](https://perceptlayer.com/apis/albert-heijn) [ALDI SÜD](https://perceptlayer.com/apis/aldi-sued) [Alibaba](https://perceptlayer.com/apis/alibaba) [AliExpress](https://perceptlayer.com/apis/aliexpress) [Allegro](https://perceptlayer.com/apis/allegro) [ALTERNATE](https://perceptlayer.com/apis/alternate) [Alza](https://perceptlayer.com/apis/alza) [Amazon](https://perceptlayer.com/apis/amazon) [Americanas](https://perceptlayer.com/apis/americanas) [Aponeo](https://perceptlayer.com/apis/aponeo)

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.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
