LEZ/ULEZ/CCZ Postcode/Address Checker API

Is there a way to use the postcode/address checker at on the main TFL website which displays which zones the address is in through an API or programmatically?