---
title: "HEMA API: Stock | Perceptlayer"
description: "Stock from HEMA as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/hema/stock
---

[APIs](https://perceptlayer.com/apis) / [HEMA](https://perceptlayer.com/apis/hema) / Stock

# HEMA: Stock

Stock from HEMA as JSON. 1 credit per successful call.

GET `/v1/hema/stock`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `ids` | string | Required | Up to 300 characters |
| `site` | string | Optional | nl |

## Example request

HEMA

GET /v1/hema/stock?ids=5200322 

```
{
  "success": true,
  "data": {
    "items": [
      {
        "id": "5200322",
        "in_stock": true,
        "is_perpetual": false,
        "max_quantity": 200
      }
    ],
    "total": 1,
    "ids": [
      "5200322"
    ],
    "site": "nl"
  },
  "meta": {
    "endpoint_family": "stock"
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/hema?try=stock#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

`data` has these 3 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `items` | object\[\] |
| `ids` | string\[\] |
| `site` | string |
