Return trading addresses

Hello.

Is it possible to return trading addresses based on the company number, or would I need to parse the XBRL files that are available to download? Thanks.

Ben