Fetch badge URL through API / CLI

Currently it does not seem to be exposed as a public API or CLI command.