Facility By Code
GET api.bic-code.org/v1/facilities/{{code}}?codeProvider={{codeProvider}}
Find the facility that matches the provided facility code, typically used to identify further details such as address or GPS when a code is provided in an electronic message. Search is by complete code only, no partials allowed.
i.e.
/facilities/GBLIVCCIA
Will return details for a valid code, and only 1 result that matches the search criteria, unless the code is used in both BIC and SMDG code lists, in which case note the codeProvider
for you intended usage.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
codeProvider | string |
RESPONSES
status: OK
{"code":"GBBHXNTRA","codeProvider":"BIC","unLocode":"GBBHX","countryCode":"GB","facility":{"name":"Central Container Services","address":{"street":" West Bromwich Street","city":"Oldbury","state":"","postcode":"B69 3AY","country":"United Kingdom"},"formattedAddress":"West Bromwich Street, Oldbury, B69 3AY, United Kingdom","geographicalCoordinate":{"latitude":"52.5113888","longitude":"-2.0183589"}},"operator":{"name":"Central Container Services"}}