All API tools
Electronics
Resistor Color Code Calculator API
POST
/v1/resistor-calculator Free tier1 credit / callAuthentication
Send your API key as a bearer token. Create one free in the dashboard.
Authorization: Bearer $TOOLSXPO_KEYParameters
Passed as fields in the JSON body. Example values shown.
| Name | Example |
|---|---|
| bands | example,example,example,example |
Example request
curl -X POST "https://api.toolsxpo.com/v1/resistor-calculator" \
-H "Authorization: Bearer $TOOLSXPO_KEY" \
-H "Content-Type: application/json" \
-d '{"bands":"example,example,example,example"}'Response
A standard JSON envelope: { ok, data, meta }. The result is in data (json); meta.credits reports what the call cost.