GSMPlus Stock API

Live stock, product data and tiered pricing from GSMPlus, straight into your own system: as JSON, XML, CSV or a ready-made Excel stock list.

Base URL https://api.gsmplus.nl
01

Overview

One dataset, four formats. Pick whatever fits your environment: no functionality is lost between formats.

JSON: /v1/stock

Full list, or a single item via ?sku=. For your own applications and scripts.

XML: /v1/stock.xml

For systems that only read XML feeds.

CSV: /v1/stock.csv

Opens directly in Excel or imports into an ERP.

XLSX: /v1/stocklist.xlsx

A formatted stock list, same layout as our regular export.

This is what the same data looks like in the live stock widget on gsmplus.nl. Via /v1/stock you get exactly these rows as JSON.

NameSKU / EANStockPrice
🔌
Apple 20W USB-C Power Adapter
Chargers · Apple
MUVV3ZM/A
0195949121296
85 in stock
100+€ 18.00
20+€ 18.90
1+€ 20.70
🔌
Samsung Fast Type-C Adapter 25W Black
Chargers · Samsung
EP-T2510NBEGEU
8806094912128
1740 in stock
100+€ 7.50
20+€ 7.85
1+€ 8.55
02

Authentication

Every request to /v1/* requires your personal API key in the X-API-Key header. Without a valid key you'll get a 401 back.

# example: fetch the stock list
curl https://api.gsmplus.nl/v1/stock \
  -H "X-API-Key: your-api-key"
Keep your key safe. It's shown exactly once when it's issued. If you lose it, ask GSMPlus to issue a new one.
03

Endpoints

Four read-only endpoints on the same underlying stock, plus a health check that needs no authentication.

GET/v1/stock

All items released for the API. Add ?sku=<sku> to get a single item back.

{
  "products": [
    {
      "sku": "MUVV3ZM/A",
      "ean": "0195949121296",
      "title": "Apple 20W USB-C Power Adapter",
      "brand": "Apple",
      "category": "Chargers",
      "price": 18.00,
      "stock": 85,
      "price 100+": 18.00,
      "price 20+": 18.90,
      "price 1+": 20.70
    }
  ]
}
GET/v1/stock.xml

Same fields as /v1/stock, as an XML document. Field order matches the real response: price comes before stock, then the three tiers.

<?xml version='1.0' encoding='UTF-8'?>
<products>
  <product>
    <sku>MUVV3ZM/A</sku>
    <ean>0195949121296</ean>
    <title>Apple 20W USB-C Power Adapter</title>
    <brand>Apple</brand>
    <category>Chargers</category>
    <price>18.0</price>
    <stock>85</stock>
    <price_100_>18.0</price_100_>
    <price_20_>18.9</price_20_>
    <price_1_>20.7</price_1_>
  </product>
</products>
GET/v1/stock.csv

Same data, comma-separated. Opens directly in Excel or imports into an ERP package.

GET/v1/stocklist.xlsx

A formatted Excel stock list. May take a few seconds since the file is built per request.

GET/health

Connectivity check, no API key needed. Returns {"status":"ok"}, a good first test.

04

Fields & pricing

Each item comes with the commercial fields, a base price and three tiered prices, never purchase prices or our internal IDs.

FieldTypeDescription
skustringItem number, the key for ?sku=
eanstringEAN / barcode
titlestringProduct name
brandstringBrand
categorystringProduct category
pricenumberBase price, same value as price 100+
stocknumberCurrent available quantity
price 100+numberPrice when buying 100 units or more
price 20+numberPrice when buying 20 to 99 units
price 1+numberPrice when buying 1 to 19 units
05

Rate limits

Standard is 60 requests per minute per API key. Need more? Get in touch, this is configurable per client.

TierLimitWho it's for
Standard60 / minEvery new client
Customby arrangementHigh volume or real-time syncing
06

Error codes

StatusMeaningAction
200OKRequest succeeded
401Missing/invalid keyCheck the X-API-Key header
403Insufficient permissionsGet in touch to extend your key's scope
404SKU not foundItem doesn't exist or isn't released for the API
502Stock list service errorOnly on /v1/stocklist.xlsx, retry or use /v1/stock.csv
07

Getting started

From request to first successful call in four steps.

Request access

Email it@gsmplus.nl to request access.

Receive your API key

You'll get a personal key through a secure channel. It's shown once, so save it straight into your own password manager.

Test the connection

Start with /health (no key needed), then test /v1/stock with your key. See the examples above.

Build your integration

Pick the format that fits your system and pull the tiered pricing and stock into your own price list or webshop.

08

Contact

Questions about integrating, need a higher rate limit, lost your key, or want to request access to the Stock API? We're happy to help.