Understanding our API endpoints

In a nutshell, you can use either the regional domains (api-eu1.scanii.com, api-ap1.scanii.com and api-us1.scanii.com) directly or the latency routed api.scanii.com to interact with the scanii APIs. As the gentleman said, when in doubt, stick with api.scanii.com.

Examples

In the US a lookup to api.scanii.com will return the IP address of our api-us1.scanii.com location.

$ host api-us1.scanii.com
api-us1.scanii.com has address 52.4.198.54
api-us1.scanii.com has address 52.4.64.142
api-us1.scanii.com has IPv6 address 2406:da00:ff00::3404:408e
api-us1.scanii.com has IPv6 address 2406:da00:ff00::3404:c636

$ host api.scanii.com
api.scanii.com has address 52.4.198.54
api.scanii.com has address 52.4.64.142
api.scanii.com has IPv6 address 2406:da00:ff00::3404:c636
api.scanii.com has IPv6 address 2406:da00:ff00::3404:408e

The same lookup from Europe would return the address of api-eu1.scanii.com.

Last updated on 05/27/2015.