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

Wish Categories API Documentation

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

Wish Categories API Documentation Read the public Wish browse category tree and its trending ids. Ids are returned unchanged. Names come from the public id lookup Wish ships with the tree; no name is invented. Empty and failed requests are never charged. 1 credit per answer with data.

Wish Categories API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/wish/categories
Auth header
x-api-key
Cost
1 credit / request
Response preview
200 OK
{
    "data": {
        "trending": [],
        "categories": [
            {
                "id": "62636051d83c5947237a3da3",
                "name": "Trending",
                "children": [
                    {
                        "id": "6263605185df80dc632f3e8f",
                        "name": "Phones",
                        "children": []
                    }
                ]
...

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": {
        "trending": [],
        "categories": [
            {
                "id": "62636051d83c5947237a3da3",
                "name": "Trending",
                "children": [
                    {
                        "id": "6263605185df80dc632f3e8f",
                        "name": "Phones",
                        "children": []
                    }
                ]
            }
        ]
    },
    "meta": {
        "billable": true,
        "endpoint_family": "categories"
    },
    "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.