Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.
get_api_artifactsOne API's artifacts, grouped by type.
get_openapiThe primary OpenAPI for this API.
find_similar_apisAPIs that look like this one.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-ec2:amazon-ec2-regions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.1.0
info:
title: Amazon Elastic Compute Cloud Regions API
version: '2016-11-15'
description: Generated from AWS's published Smithy model for Amazon Elastic Compute Cloud. 2 operation(s).
contact:
name: Amazon Web Services
url: https://aws.amazon.com/contact-us/
license:
name: Apache 2.0
identifier: Apache-2.0
url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://ec2.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
paths:
/?Action=DescribeRegions:
post:
operationId: DescribeRegions
summary: Describe Regions
description: Describes the Regions that are enabled for your account, or all Regions. For a list of the Regions supported
by Amazon EC2, see Amazon EC2 service endpoints. For information about enabling and disabling Regions for your account,
see Specify which Amazon Web Services Regions your account can use in the Amazon Web Services Account Management Reference
Guide. The order of the elements in the response, including those within nested structures, might vary. Applications
should not assume the elements appear in a particular order.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/DescribeRegionsResult'
example:
Regions:
- Endpoint: ec2.ap-south-1.amazonaws.com
RegionName: ap-south-1
- Endpoint: ec2.eu-west-1.amazonaws.com
RegionName: eu-west-1
- Endpoint: ec2.ap-southeast-1.amazonaws.com
RegionName: ap-southeast-1
- Endpoint: ec2.ap-southeast-2.amazonaws.com
RegionName: ap-southeast-2
- Endpoint: ec2.eu-central-1.amazonaws.com
RegionName: eu-central-1
- Endpoint: ec2.ap-northeast-2.amazonaws.com
RegionName: ap-northeast-2
- Endpoint: ec2.ap-northeast-1.amazonaws.com
RegionName: ap-northeast-1
- Endpoint: ec2.us-east-1.amazonaws.com
RegionName: us-east-1
- Endpoint: ec2.sa-east-1.amazonaws.com
RegionName: sa-east-1
- Endpoint: ec2.us-west-1.amazonaws.com
RegionName: us-west-1
- Endpoint: ec2.us-west-2.amazonaws.com
RegionName: us-west-2
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: DescribeRegions
Version:
type: string
const: '2016-11-15'
- $ref: '#/components/schemas/DescribeRegionsRequest'
tags:
- Regions
/?Action=DescribeAvailabilityZones:
post:
operationId: DescribeAvailabilityZones
summary: Describe Availability Zones
description: Describes the Availability Zones, Local Zones, and Wavelength Zones that are available to you. For more
information about Availability Zones, Local Zones, and Wavelength Zones, see Regions and zones in the Amazon EC2 User
Guide. The order of the elements in the response, including those within nested structures, might vary. Applications
should not assume the elements appear in a particular order.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/DescribeAvailabilityZonesResult'
example:
AvailabilityZones:
- State: available
RegionName: us-east-1
Messages: []
ZoneName: us-east-1b
- State: available
RegionName: us-east-1
Messages: []
ZoneName: us-east-1c
- State: available
RegionName: us-east-1
Messages: []
ZoneName: us-east-1d
- State: available
RegionName: us-east-1
Messages: []
ZoneName: us-east-1e
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: DescribeAvailabilityZones
Version:
type: string
const: '2016-11-15'
- $ref: '#/components/schemas/DescribeAvailabilityZonesRequest'
tags:
- Regions
components:
securitySchemes:
sigv4:
type: apiKey
in: header
name: Authorization
description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
x-aws-sigv4:
signingName: ec2
schemas:
AvailabilityZone:
type: object
properties:
OptInStatus:
type: string
enum:
- opt-in-not-required
- opted-in
- not-opted-in
description: For Availability Zones, this parameter always has the value of opt-in-not-required. For Local Zones
and Wavelength Zones, this parameter is the opt-in status. The possible values are opted-in and not-opted-in.
Messages:
type: array
items:
$ref: '#/components/schemas/AvailabilityZoneMessage'
description: Any messages about the Availability Zone, Local Zone, or Wavelength Zone.
RegionName:
type: string
description: The name of the Region.
ZoneName:
type: string
description: The name of the Availability Zone, Local Zone, or Wavelength Zone.
ZoneId:
type: string
description: The ID of the Availability Zone, Local Zone, or Wavelength Zone.
GroupName:
type: string
description: 'The name of the zone group. For example: Availability Zones - us-east-1-zg-1 Local Zones - us-west-2-lax-1
Wavelength Zones - us-east-1-wl1-bos-wlz-1'
NetworkBorderGroup:
type: string
description: The name of the network border group.
ZoneType:
type: string
description: 'The type of zone. Valid values: availability-zone | local-zone | wavelength-zone'
ParentZoneName:
type: string
description: The name of the zone that handles some of the Local Zone or Wavelength Zone control plane operations,
such as API calls.
ParentZoneId:
type: string
description: The ID of the zone that handles some of the Local Zone or Wavelength Zone control plane operations,
such as API calls.
GroupLongName:
type: string
description: The long name of the Availability Zone group, Local Zone group, or Wavelength Zone group.
Geography:
type: array
items:
$ref: '#/components/schemas/AvailabilityZoneGeography'
description: The geography information for the Availability Zone or Local Zone. The geography is returned as a list.
SubGeography:
type: array
items:
$ref: '#/components/schemas/AvailabilityZoneSubGeography'
description: The sub-geography information for the Availability Zone or Local Zone. The sub-geography is returned
as a list.
State:
type: string
enum:
- available
- information
- impaired
- unavailable
- constrained
description: The state of the Availability Zone, Local Zone, or Wavelength Zone. The possible values are available,
unavailable, and constrained.
AvailabilityZoneGeography:
type: object
properties:
Name:
type: string
description: The name of the geography, for example, United States of America.
AvailabilityZoneMessage:
type: object
properties:
Message:
type: string
description: The message about the Availability Zone, Local Zone, or Wavelength Zone.
AvailabilityZoneSubGeography:
type: object
properties:
Name:
type: string
description: The name of the sub-geography, for example, Oregon.
DescribeAvailabilityZonesRequest:
type: object
properties:
ZoneNames:
type: array
items:
type: string
description: The names of the Availability Zones, Local Zones, and Wavelength Zones.
ZoneIds:
type: array
items:
type: string
description: The IDs of the Availability Zones, Local Zones, and Wavelength Zones.
AllAvailabilityZones:
type: boolean
description: Include all Availability Zones, Local Zones, and Wavelength Zones regardless of your opt-in status.
If you do not use this parameter, the results include only the zones for the Regions where you have chosen the
option to opt in.
DryRun:
type: boolean
description: Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise,
it is UnauthorizedOperation.
Filters:
type: array
items:
$ref: '#/components/schemas/Filter'
description: The filters. group-long-name - The long name of the zone group for the Availability Zone (for example,
US West (Oregon) 1), the Local Zone (for example, for Zone group us-west-2-lax-1, it is US West (Los Angeles),
or the Wavelength Zone (for example, for Zone group us-east-1-wl1, it is US East (Verizon). group-name - The name
of the zone group for the Availability Zone (for example, us-east-1-zg-1), the Local Zone (for example, us-west-2-lax-1),
or the Wavelength Zone (for example, us-east-1-wl1). message - The Zone message. opt-in-status - The opt-in status
(opted-in | not-opted-in | opt-in-n
DescribeAvailabilityZonesResult:
type: object
properties:
AvailabilityZones:
type: array
items:
$ref: '#/components/schemas/AvailabilityZone'
description: Information about the Availability Zones, Local Zones, and Wavelength Zones.
DescribeRegionsRequest:
type: object
properties:
RegionNames:
type: array
items:
type: string
description: The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your
account.
AllRegions:
type: boolean
description: Indicates whether to display all Regions, including Regions that are disabled for your account.
DryRun:
type: boolean
description: Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise,
it is UnauthorizedOperation.
Filters:
type: array
items:
$ref: '#/components/schemas/Filter'
description: The filters. endpoint - The endpoint of the Region (for example, ec2.us-east-1.amazonaws.com). opt-in-status
- The opt-in status of the Region (opt-in-not-required | opted-in | not-opted-in). region-name - The name of the
Region (for example, us-east-1).
DescribeRegionsResult:
type: object
properties:
Regions:
type: array
items:
$ref: '#/components/schemas/Region'
description: Information about the Regions.
Filter:
type: object
properties:
Name:
type: string
description: The name of the filter. Filter names are case-sensitive.
Values:
type: array
items:
type: string
description: The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the
values are joined with an OR, and the request returns all results that match any of the specified values.
Region:
type: object
properties:
OptInStatus:
type: string
description: The Region opt-in status. The possible values are opt-in-not-required, opted-in, and not-opted-in.
Geography:
type: array
items:
$ref: '#/components/schemas/RegionGeography'
description: The geography information for the Region. The geography is returned as a list.
RegionName:
type: string
description: The name of the Region.
Endpoint:
type: string
description: The Region service endpoint.
RegionGeography:
type: object
properties:
Name:
type: string
description: The name of the geography, for example, United States of America.
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/ec2/service/2016-11-15/ec2-2016-11-15.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)