The Racing API

Render racing silks as SVG straight from a URL: GET /silk?body=…&sleeves=…&cap=….

silk example
/silk?body=quartered:red,yellow&sleeves=hoops:yellow,red&cap=solid:red
silk example
/silk?body=stars:red,white&sleeves=solid:red&cap=solid:white

Parameters

ParamMeaningExample
bodyJacket marking — pattern:colour,colourquartered:red,yellow
sleevesSleeve markinghooped:yellow,red
capCap markingsolid:red
outlineOutline colour, or nonenone
sizeIntrinsic SVG width in px512
bgPage background: transparent or hexf3f1ea