Trading 212 have an API already exposed for various calls, this would be an easy win for the koinly brand.
Documentation can be found on https://docs.trading212.com/api