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

Interdiscount Availability API Documentation

GET https://scrappa.co/api/interdiscount/inventory

Interdiscount Availability API Documentation Read public store availability for one product by its 10-digit id. Returns a numeric store count and raw shop ids with availability flags. An empty or unknown stock row stays empty, never zero. One request costs 1 credit. Failed requests are not billed. Not affiliated with Interdiscount.

Interdiscount Availability API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/interdiscount/inventory
Auth header
x-api-key
Cost
1 credit / request
code = example
Response preview
200 OK
{
    "data": {
        "code": "0014559723",
        "shops": [],
        "shopCount": 0,
        "storesWithProduct": 0
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "inventory"
    },
    "success": true
}

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.

code string Required

10-digit public product id.

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": {
        "code": "0014559723",
        "shops": [],
        "shopCount": 0,
        "storesWithProduct": 0
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "inventory"
    },
    "success": true
}

Errors

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

422

Validation Error

A parameter is missing or invalid. Not billable.

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.