✓ Ordered before 16:00 on a business day, shipped today ✓ Free exchange within 30 days ✓ 2-year warranty ✓ Shipped from BE/NL
Home › Developers › API

Power Supply Identifier API

Send one photo of a power adapter label, or of the rating plate on the device itself. The API reads the output voltage, current, wattage, connector and polarity, and returns them as JSON together with the power supply that fits from the AdapterSpot catalog.

It is the same AI label reader as our online identifier, combined with our own connector library and catalog of verified power supplies for network and NAS equipment.

Get a free API key

Free tier: 10 label reads per month. Power-supply lookups and the connector list do not count. We e-mail the key to you; requesting a new key with the same address replaces the old one.

We only use your e-mail address to send the key and to count your free quota. See our privacy policy.

Authentication

Send your key in the X-API-Key header (or Authorization: Bearer <key>). Base URL: https://api.adapterspot.com

POST /v1/label: read a label from a photo

Body (JSON): image as base64 JPEG, PNG or WebP (or a data URL), optional lang (en, nl, fr) for the note and product links. Keep images under about 3.7 MB; 1600 px on the long side is plenty. The photo is only used to read the label and is not stored.

curl -X POST https://api.adapterspot.com/v1/label \
  -H "X-API-Key: $ADAPTERSPOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"image\": \"$(base64 < label.jpg | tr -d '\n')\"}"

Python:

import base64, os, requests

with open("label.jpg", "rb") as f:
    image = base64.b64encode(f.read()).decode()

r = requests.post(
    "https://api.adapterspot.com/v1/label",
    headers={"X-API-Key": os.environ["ADAPTERSPOT_API_KEY"]},
    json={"image": image},
    timeout=60,
)
print(r.json())

Example response (the plug was not in the photo, so exact is false and the candidates show their connector):

{
  "readable": true,
  "confidence": "high",
  "note": "Read a 12V 5A (60W) center-positive adapter output; the plug is not shown in the photo.",
  "label_type": "power_adapter",
  "brand": null,
  "model": "ADS-60SG-12-2 12060G",
  "output": {
    "voltage_v": 12, "current_a": 5, "power_w": 60,
    "computed_field": null,
    "polarity": "center_positive"
  },
  "connector": {
    "id": null, "name": null,
    "printed": null, "seen_in_photo": "not_visible"
  },
  "match": {
    "exact": false,
    "power_supplies": [{
      "name": "Synology DS211j power supply (12V DC, 60W)",
      "voltage_v": 12, "current_a": 5, "power_w": 60,
      "connector": { "id": "combi", "name": "5.5 mm barrel that fits both 2.1 and 2.5 mm sockets" },
      "polarity": "center_positive",
      "price_eur": 24.95,
      "url": "https://adapterspot.com/en/synology-ds211j-power-supply/",
      "fits_device_count": 54,
      "example_devices": ["Synology DS211j", "Synology DS212"],
      "ships_to": ["BE", "NL"]
    }]
  },
  "usage": { "month": "2026-11", "label_reads_used": 1, "label_reads_quota": 10, "label_reads_left": 9 }
}

GET /v1/power-supply: find the power supply that fits

Give at least two of voltage, current and power; optionally connector (an id from /v1/connectors or text like 5.5x2.1), polarity (center_positive or center_negative) and lang. Free.

curl "https://api.adapterspot.com/v1/power-supply?voltage=12&current=5&connector=5.5x2.1" \
  -H "X-API-Key: $ADAPTERSPOT_API_KEY"

Other endpoints

Errors

Integrations

Support

Questions or a higher quota? Mail info@adapterspot.com; we reply within one business day. AdapterSpot is run by Clear Solutions, Essen, Belgium. Products ship to Belgium and the Netherlands.