The Gold Book API Alpha API v1.0 (5/31/19)

While we expect a lot of humans to stop by the Gold Book, its about time that the vocabulary be friendly towards computers and have set up an application programming interface (API) so they may download a bunch of stuff. Here is the overview of the API and we are working on additional documentation. (click the headers below to toggle whats visible.

Endpoint/Notes Example(s)
/terms/index/[scope]/[format]/[download]
List of terms in the Gold Book
[scope]: (all), A-W, XYZ (returns to referring page if no data)
[format]: (html), xml, json (rest are ignored)
[download]: (""), download (rest are ignored)
/terms/index/all (just "terms" works too)
/terms/index/C/xml
/terms/index/XYZ/json/download
/terms/view/[identifier]/[format]/[download]
A term from the Gold Book
[identifier]: term code or id
[format]: (html), xml, json (rest are ignored)
[download]: (""), download (rest are ignored)
/terms/view/A00001
/terms/view/P04409/json
/terms/view/ZT07132/xml/download
Endpoint/Notes Example(s)
/sources/index/[scope]/[format]/[download]
List of sources referenced in the Gold Book
[scope]: (all), first letter of title
[format]: (html), xml, json (rest are ignored)
[download]: (""), download (rest are ignored)
/sources/index/all (just "sources" works too)
/sources/index/all/xml
/sources/index/all/json/download
/sources/view/[identifier]/[format]/[download]
A source used in the the Gold Book
[identifier]: source code, DOI (must escape the '/' first), or id
[format]: (html), xml, json (rest are ignored)
[download]: (""), download (rest are ignored)
/sources/view/PAC197230681
/sources/view/CODATA/json
/sources/view/G.B./xml/download