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

JYSK Stock API Documentation

GET https://scrappa.co/api/jysk/stock

JYSK Stock API returns online quantity and store availability for one or more article ids from search. Unknown stock is returned as null, never as false. A missing id still returns an item with null values.

Credits: 1 credit per successful request. Failed requests are not billed.

JYSK Stock API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/jysk/stock
Auth header
x-api-key
Cost
1 credit / request
ids = example
Response preview
200 OK
{
    "data": {
        "items": [
            {
                "id": "3398032",
                "stores": {
                    "total": 200,
                    "with_atp": 40,
                    "in_stock_specified": null
                },
                "in_stock": true,
                "online_quantity": 12
            }
        ],
...

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.

ids string Required

One or more article ids from Search or Product Ids, comma separated. Digits with an optional leading letter.

Example value example

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": {
        "items": [
            {
                "id": "3398032",
                "stores": {
                    "total": 200,
                    "with_atp": 40,
                    "in_stock_specified": null
                },
                "in_stock": true,
                "online_quantity": 12
            }
        ],
        "source": "jysk"
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "stock"
    },
    "success": true
}

Errors

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

422

Validation Error

Send at least one article id (digits, optional leading letter). This response is not billed.

503

Upstream Unavailable

JYSK could not be reached. This response is not billed and is retryable.

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.