Please have a look at https://chaingateway.io/docs-rates to see how to use this API.