Skip to main content
POST
Resistor Color Code Calculator

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
ioMode
enum<string>

Direction

Available options:
colors,
value
ioBandCount
enum<string>

Number of Bands

Available options:
4,
5,
6
ioResistanceInput
string

Resistance Value

ioBand1
enum<string>

Band 1 (1st digit)

Available options:
black,
brown,
red,
orange,
yellow,
green,
blue,
violet,
grey,
white
ioBand2
enum<string>

Band 2 (2nd digit)

Available options:
black,
brown,
red,
orange,
yellow,
green,
blue,
violet,
grey,
white
ioBand3
enum<string>

Band 3 (3rd digit)

Available options:
black,
brown,
red,
orange,
yellow,
green,
blue,
violet,
grey,
white
ioMultiplier
enum<string>

Multiplier

Available options:
silver,
gold,
black,
brown,
red,
orange,
yellow,
green,
blue,
violet,
grey,
white
ioTolerance
enum<string>

Tolerance

Available options:
brown,
red,
green,
blue,
violet,
grey,
gold,
silver,
none
ioTcr
enum<string>

Temp. Coefficient

Available options:
brown,
red,
orange,
yellow,
blue,
violet,
black,
green,
grey

Response

Tool output

tool
string
required
tool_version
string
required

Output-contract version for this tool. Currently "1" for all tools.

outputs
object
required
credits_used
integer
required

Credits this call consumed, after any settlement refund. 0 when metering is disabled.

request_id
string
credits_remaining
integer | null

Credits left in the current monthly allowance, or null when metering is disabled.