Skip to content
Scrappa Get API key
Wish API 1 credit / request

Wish Related Products API Documentation

GET https://scrappa.co/api/wish/related

Wish Related Products API Documentation Get the similar-product rail for a 24-hex Wish id from search or detail. Each item carries an id that can be passed unchanged to the product endpoint, plus title, image and price where Wish ships them. The answer also carries the next offset and the feed end flag. An empty rail is a successful response but costs no credit. Failed requests are never charged. 1 credit per answer with data.

Wish Related Products API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/wish/related
Auth header
x-api-key
Cost
1 credit / request
product_id = 1234567890
Response preview
200 OK
{
    "data": {
        "products": [
            {
                "url": "https://www.wish.com/product/60a48c2a96ec0c86416500d0",
                "price": {
                    "amount": 177.77,
                    "currency": "USD"
                },
                "title": "Redmi smartphone",
                "rating": 2.33,
                "image_url": "https://cdn.example.test/related-large.jpg",
                "product_id": "60a48c2a96ec0c86416500d0",
                "review_count": 3
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

product_id string Required

The 24-hex id from Wish search or product detail.

Example value 1234567890

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "products": [
            {
                "url": "https://www.wish.com/product/60a48c2a96ec0c86416500d0",
                "price": {
                    "amount": 177.77,
                    "currency": "USD"
                },
                "title": "Redmi smartphone",
                "rating": 2.33,
                "image_url": "https://cdn.example.test/related-large.jpg",
                "product_id": "60a48c2a96ec0c86416500d0",
                "review_count": 3
            }
        ],
        "feed_ended": false,
        "product_id": "68b46c0356ea5dba05e9f755",
        "next_offset": 30
    },
    "meta": {
        "billable": true,
        "endpoint_family": "related"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

The product id is missing or not a 24-hex id.

{
    "errors": {
        "product_id": [
            "The product_id must be the 24-hex id returned by Wish search."
        ]
    },
    "message": "The request validation failed"
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.