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.
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.
Send your key in the X-API-Key header (or Authorization: Bearer <key>). Base URL: https://api.adapterspot.com
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 }
} output.computed_field tells you which value was calculated from the other two (labels often print only volts and amps).connector.seen_in_photo is what the photo shows, independent of the printed text: barrel, din_4pin, usb_c, other or not_visible.match.exact is true when voltage, current, connector and polarity are all known and fit. Otherwise the list shows candidates; check the connector before you buy.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¤t=5&connector=5.5x2.1" \
-H "X-API-Key: $ADAPTERSPOT_API_KEY" GET /v1/connectors: the connector library (no key needed).GET /v1/usage: label reads used and left this month.GET /v1/openapi.json: OpenAPI 3 description of the API.400 bad_image / bad_request: check the body.401 unauthorized: missing or invalid key.422 unreadable: the photo could not be read; retake it closer and sharper.429 quota_exceeded: the free label reads for this month are used up.503 busy: temporarily at capacity; try again later.pip install langchain-adapterspotQuestions 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.