Up to date data
Grid data is updated between every 5 minutes and every hour
Grid data is updated between every 5 minutes and every hour
Lookup airport codes, data center region ids, countries or zones.
The API returns a list of best places to schedule your workload
This first sorts all regions by CO2, then by Spot Availability and then Spot Price (if we know it)
GET /v1/by-rank
Example:
GET /v1/by-rank
200 OK { "regions": [ { "gid": "fly-arn", "id": "arn", "intensity": 24, "spotScore": 9, "spotPrice": { "perSecond": 0.0000323, "perHour": 0.0002, "currency": "USD" }, "instancePrice": { "perSecond": 0.0000423, "perHour": 0.0003, "currency": "USD" }, "notBefore": "2024-09-19T05:23:11+00:00", "notAfter": "2024-09-19T08:23:11+00:00", "scheduleLimits": { "seconds": 100, "minutes": 2, "hours": 0 } } ] }
GET /v1/by-provider/{id}
Example:
GET /v1/by-provider/digitalocean
This is the ISO Alpha2 Country Code, e.g. SE, GB, MX
GET /v1/by-country/{countryCode}
Example:
GET /v1/by-country/SE
The API maps every provider region to an IATA airport code as this is fairly common practice as a way of identifying datacenter regions.
There are some IATA codes which refer to multiple/metropolitan airports all in one go. The currently supported metro IATA are:
GET /v1/by-iata/{iata}
Example:
GET /v1/by-iata/yyz
Can’t find the answer you’re looking for? Reach out to our customer support team.