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

Wish Facets API Documentation

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

Wish Facets API Documentation Read the public facet tree Wish ships, with exact filter ids and their public display names. Applying a filter to the search endpoint is a named follow-up because Wish has no verified apply-back parameter; this endpoint exposes the ids for inspection. Empty and failed requests are never charged. 1 credit per answer with data.

Wish Facets API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/wish/facets
Auth header
x-api-key
Cost
1 credit / request
Response preview
200 OK
{
    "data": {
        "categories": [
            {
                "title": "Popular",
                "filter_groups": [
                    {
                        "title": "Color",
                        "filters": [
                            {
                                "title": "Gray",
                                "value": "Gray",
                                "filter_id": "color_53dc217e21a8632b3c6e0738"
                            }
...

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": {
        "categories": [
            {
                "title": "Popular",
                "filter_groups": [
                    {
                        "title": "Color",
                        "filters": [
                            {
                                "title": "Gray",
                                "value": "Gray",
                                "filter_id": "color_53dc217e21a8632b3c6e0738"
                            }
                        ]
                    }
                ]
            }
        ]
    },
    "meta": {
        "billable": true,
        "endpoint_family": "facets"
    },
    "success": true
}

Errors

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

503

Upstream Unavailable

Wish did not return usable data. This response is not billable.

{
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "Wish is temporarily unavailable. Please retry."
    },
    "success": false
}

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.