bic-org / Boxtech

Boxtech API is a global container database containing technical and safety information, such as tare weight, size/type and max stacking capacity for containers.
https://www.bic-boxtech.org
25 stars 7 forks source link

detect shipping line using BIC code #17

Closed takoshiobi closed 5 years ago

takoshiobi commented 5 years ago

Hi. I would like to know if there's any available database or JSON file containing BIC code/shipping line(company) pairs.

I've tried to use web scraping on this website https://www.bic-code.org/bic-letter-search/ to retrieve such data but I always get "403 Forbidden" error. Is it a private information or something like that?

cmsdroff commented 5 years ago

@akinariobi Thanks for raising an issue, I was just wondering what is the use case for your query?

Containers can be owned by the carrier/shipping line OR by a leasing company who hire them to carriers (this changes)

Are you trying to identify the carrier OR the owner of the container?

cmsdroff commented 5 years ago

@akinariobi the data you are looking for is probably in the API which is always better than scraping, you just need to register to use. This may suit your needs? some responses may show the lease company (rather than who its on lease to) so just to be aware.

example output from JSON response

"codeholder": "CMA-CGM",
"container_number": “CMAU5841972"

API details: https://github.com/bic-boxtech/BIC-BoxTech-API-Samples

Hope this helps? If so can we close the issue?

takoshiobi commented 5 years ago

@cmsdroff Thanks for your reply. I'm trying to identify the carrier. Yes, let's close it.