PCB API Documentation

PCBS OPTIONS

Sample Call
URL: /api/pcbs/options
No Parameters

Response
array of PCBs options array of PCBs options

Sample Response (JSON)

{"FR4 proto":{"2":{"quantity":{"Protopack \u00b110":{"retail":11.95},"10":{"retail":"quote"},"20":{"retail":"quote"},"30":{"retail":"quote"},"50":{"retail":"quote"},"100":{"retail":"quote"},"200":{"retail":"quote"},"500":{"retail":"quote"},"1000":{"retail":"quote"},"2000":{"retail":"quote"},"5000":{"retail":"quote"}},"size":{"max 5x5":{"retail":0},"max 10x10":{"retail":5},"Custom":{"retail":"quote"}},"color":{"Green":{"retail":0},"Red":{"retail":0},"Yellow":{"retail":0},"Blue":{"retail":0},"Black":{"retail":0},"White":{"retail":0}},"thickness":{"0.6mm":{"retail":0,"weight":0.36},"0.8mm":{"retail":0,"weight":0.37},"1.0mm":{"retail":0,"weight":0.38},"1.2mm":{"retail":0,"weight":0.4},"1.6mm":{"retail":0,"weight":0.42},"2.0mm":{"retail":20,"weight":0.47}},"coating":{"HASL":{"retail":0},"ENIG":{"retail":15}},"copper":{"1oz":{"retail":0},"2oz":{"retail":20}},"vgroove":{"None":{"retail":0},"Vgroove":{"retail":5}},"panelize":{"None":{"retail":0}},"processing":{"Normal":{"retail":0}},"stencil":{"None":{"retail":0},"Steel":{"retail":25},"Frame":{"retail":35}}},"4":{"quantity":{"Protopack \u00b110":{"retail":28.95},"10":{"retail":"quote"},"20":{"retail":"quote"},"30":{"retail":"quote"},"50":{"retail":"quote"},"100":{"retail":"quote"},"200":{"retail":"quote"},"500":{"retail":"quote"},"1000":{"retail":"quote"},"2000":{"retail":"quote"},"5000":{"retail":"quote"}},"size":{"max 5x5":{"retail":0},"max 10x10":{"retail":16},"Custom":{"retail":"quote"}},"color":{"Green":{"retail":0},"Red":{"retail":18},"Yellow":{"retail":18},"Blue":{"retail":18},"Black":{"retail":18},"White":{"retail":18}},"thickness":{"1.6mm":{"retail":0,"weight":0.5}},"coating":{"HASL":{"retail":0},"ENIG":{"retail":25}},"copper":{"1oz":{"retail":0}},"vgroove":{"None":{"retail":0}},"panelize":{"None":{"retail":0}},"processing":{"Normal":{"retail":0}},"stencil":{"None":{"retail":0},"Steel":{"retail":25},"Frame":{"retail":35}}},"6":{"quantity":{"10":{"retail":"quote"},"20":{"retail":"quote"},"30":{"retail":"quote"},"50":{"retail":"quote"},"100":{"retail":"quote"},"200":{"retail":"quote"},"500":{"retail":"quote"},"1000":{"retail":"quote"},"2000":{"retail":"quote"},"5000":{"retail":"quote"}},"size":{"Custom":{"retail":"quote"}},"color":{"Green":{"retail":0},"Red":{"retail":0},"Yellow":{"retail":0},"Blue":{"retail":0},"Black":{"retail":0},"White":{"retail":0}},"thickness":{"1.6mm":{"retail":0,"weight":0.5}},"coating":{"HASL":{"retail":0},"ENIG":{"retail":25}},"copper":{"1oz":{"retail":0}},"vgroove":{"None":{"retail":0}},"panelize":{"None":{"retail":0}},"processing":{"Normal":{"retail":0}},"stencil":{"None":{"retail":0},"Steel":{"retail":25},"Frame":{"retail":35}}},"8":{"quantity":{"10":{"retail":"quote"},"20":{"retail":"quote"},"30":{"retail":"quote"},"50":{"retail":"quote"},"100":{"retail":"quote"},"200":{"retail":"quote"},"500":{"retail":"quote"},"1000":{"retail":"quote"},"2000":{"retail":"quote"},"5000":{"retail":"quote"}},"size":{"Custom":{"retail":"quote"}},"color":{"Green":{"retail":0},"Red":{"retail":0},"Yellow":{"retail":0},"Blue":{"retail":0},"Black":{"retail":0},"White":{"retail":0}},"thickness":{"1.6mm":{"retail":0,"weight":0.5}},"coating":{"HASL":{"retail":0},"ENIG":{"retail":25}},"copper":{"1oz":{"retail":0}},"vgroove":{"None":{"retail":0}},"panelize":{"None":{"retail":0}},"processing":{"Normal":{"retail":0}},"stencil":{"None":{"retail":0},"Steel":{"retail":25},"Frame":{"retail":35}}},"10":{"quantity":{"10":{"retail":"quote"},"20":{"retail":"quote"},"30":{"retail":"quote"},"50":{"retail":"quote"},"100":{"retail":"quote"},"200":{"retail":"quote"},"500":{"retail":"quote"},"1000":{"retail":"quote"},"2000":{"retail":"quote"},"5000":{"retail":"quote"}},"size":{"Custom":{"retail":"quote"}},"color":{"Green":{"retail":0},"Red":{"retail":0},"Yellow":{"retail":0},"Blue":{"retail":0},"Black":{"retail":0},"White":{"retail":0}},"thickness":{"1.6mm":{"retail":0,"weight":0.5}},"coating":{"HASL":{"retail":0},"ENIG":{"retail":25}},"copper":{"1oz":{"retail":0}},"vgroove":{"None":{"retail":0}},"panelize":{"None":{"retail":0}},"processing":{"Normal":{"retail":0}},"stencil":{"None":{"retail":0},"Steel":{"retail":25},"Frame":{"retail":35}}},"12":{"quantity":{"10":{"retail":"quote"},"20":{"retail":"quote"},"30":{"retail":"quote"},"50":{"retail":"quote"},"100":{"retail":"quote"},"200":{"retail":"quote"},"500":{"retail":"quote"},"1000":{"retail":"quote"},"2000":{"retail":"quote"},"5000":{"retail":"quote"}},"size":{"Custom":{"retail":"quote"}},"color":{"Green":{"retail":0},"Red":{"retail":0},"Yellow":{"retail":0},"Blue":{"retail":0},"Black":{"retail":0},"White":{"retail":0}},"thickness":{"1.6mm":{"retail":0,"weight":0.5}},"coating":{"HASL":{"retail":0},"ENIG":{"retail":25}},"copper":{"1oz":{"retail":0}},"vgroove":{"None":{"retail":0}},"panelize":{"None":{"retail":0}},"processing":{"Normal":{"retail":0}},"stencil":{"None":{"retail":0},"Steel":{"retail":25},"Frame":{"retail":35}}},"14":{"quantity":{"10":{"retail":"quote"},"20":{"retail":"quote"},"30":{"retail":"quote"},"50":{"retail":"quote"},"100":{"retail":"quote"},"200":{"retail":"quote"},"500":{"retail":"quote"},"1000":{"retail":"quote"},"2000":{"retail":"quote"},"5000":{"retail":"quote"}},"size":{"Custom":{"retail":"quote"}},"color":{"Green":{"retail":0},"Red":{"retail":0},"Yellow":{"retail":0},"Blue":{"retail":0},"Black":{"retail":0},"White":{"retail":0}},"thickness":{"1.6mm":{"retail":0,"weight":0.5}},"coating":{"HASL":{"retail":0},"ENIG":{"retail":25}},"copper":{"1oz":{"retail":0}},"vgroove":{"None":{"retail":0}},"panelize":{"None":{"retail":0}},"processing":{"Normal":{"retail":0}},"stencil":{"None":{"retail":0},"Steel":{"retail":25},"Frame":{"retail":35}}}},"Aluminum":{"1":{"quantity":{"Protopack \u00b110":{"retail":49.95}},"size":{"max 10x10":{"retail":0}},"color":{"White":{"retail":0}},"thickness":{"1.6mm":{"retail":0,"weight":0.5}},"coating":{"HASL":{"retail":0}},"copper":{"1oz":{"retail":0}},"vgroove":{"None":{"retail":0}},"panelize":{"None":{"retail":0}},"processing":{"Normal":{"retail":0}},"stencil":{"None":{"retail":0},"Steel":{"retail":25},"Frame":{"retail":35}}}},"Flex PCB":{"2":{"quantity":{"Protopack \u00b110":{"retail":98.95}},"size":{"max 10x10":{"retail":0}},"color":{"Clear":{"retail":0}},"thickness":{"0.4mm":{"retail":0,"weight":0.1}},"coating":{"ENIG":{"retail":0}},"copper":{"0.25oz":{"retail":0}},"vgroove":{"None":{"retail":0}},"panelize":{"None":{"retail":0}},"processing":{"Normal":{"retail":0}},"stencil":{"None":{"retail":0},"Steel":{"retail":25},"Frame":{"retail":35}}}}}

PCBS QUOTE

Sample Call
URL: /api/pcbs/quote?material=FR4+proto&layers=2&quantity=Protopack+%C2%B110&color=Red&thickness=1.2mm&size=max+5x5&coating=HASL&stencil=None&size_h=5&size_w=5&processing=Normal&copper=2oz&vgroove=None&panelize=None&panelize_x=&panelize_y=&silk_color=&soldermask_color=
Parameters
material Options available from the /pcbs/options feed.
layers Options available from the /pcbs/options feed.
quantity Options available from the /pcbs/options feed.
color Options available from the /pcbs/options feed.
thickness Options available from the /pcbs/options feed.
size Fix size options for protopacks. Options available from the /pcbs/options feed.
coating Options available from the /pcbs/options feed.
stencil Options available from the /pcbs/options feed.
size_h Custom size in CM.
size_w Custom size in CM.
processing Options available from the /pcbs/options feed.
copper Options available from the /pcbs/options feed.


Response
cost_sell cost of PCBs with the given options in USD
weight weight of PCBs in grams

Sample Response (JSON)

[{"cost_sell": 31.95,"weight": 100}]