fbpx
GEThttps://api.spotinst.io/aws/ec2/spotType?region={region}

Get the available spot instances types available in a specific region

URL Parameters

Parameter Type Description
Region * String

the AWS region

Example: us-east-2
Request

Headers
{
    "Content-Type": "application/json",
    "Authorization": "Bearer ${token}"
}
Response - 200

Headers
{
    "Content-Type": "application/json"
}
Body
Copied!
Downloaded!
{
  "request": {
    "id": "3213e42e-455e-4901-a185-cc3eb65fac5f",
    "url": "/aws/ec2/spotType?region=us-east-2",
    "method": "GET",
    "timestamp": "2017-12-18T14:06:04.866Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    },
    "kind": "spotinst:aws:ec2:spot:type",
    "items": [
      {
        "instanceType": "t2.micro"
      },
      {
        "instanceType": "m3.xlarge"
      },
      {
        "instanceType": "c4.large"
      }
    ],
    "count": 1
  }
}