Amazon API Gateway
amazonaws · Cloud
Amazon API Gateway Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.
Authentication
Sample Requests
Gets information about the current ApiKeys resource.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/amazonaws.com/apigateway/2015-07-09/apikeys?name=test&limit=10&position=example&customerId=example&includeValues=true"
import requests
params = {
"name": "test",
"limit": "10",
"position": "example",
"customerId": "example",
"includeValues": "true"
}
response = requests.get(
"https://api.apis.guru/v2/specs/amazonaws.com/apigateway/2015-07-09/apikeys",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/apigateway/2015-07-09/apikeys');
url.searchParams.set('name', 'test');
url.searchParams.set('limit', '10');
url.searchParams.set('position', 'example');
url.searchParams.set('customerId', 'example');
url.searchParams.set('includeValues', 'true');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/amazonaws.com/apigateway/2015-07-09/apikeys")
q := baseURL.Query()
q.Set("name", "test")
q.Set("limit", "10")
q.Set("position", "example")
q.Set("customerId", "example")
q.Set("includeValues", "true")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/apigateway/2015-07-09/apikeys")
uri.query = URI.encode_www_form({
"name" => "test",
"limit" => "10",
"position" => "example",
"customerId" => "example",
"includeValues" => "true"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/apigateway/2015-07-09/apikeys?" . http_build_query([
"name" => "test",
"limit" => "10",
"position" => "example",
"customerId" => "example",
"includeValues" => "true"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Represents a collection of DomainName resources.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/amazonaws.com/apigateway/2015-07-09/domainnames?limit=10&position=example"
import requests
params = {
"limit": "10",
"position": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/amazonaws.com/apigateway/2015-07-09/domainnames",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/apigateway/2015-07-09/domainnames');
url.searchParams.set('limit', '10');
url.searchParams.set('position', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/amazonaws.com/apigateway/2015-07-09/domainnames")
q := baseURL.Query()
q.Set("limit", "10")
q.Set("position", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/apigateway/2015-07-09/domainnames")
uri.query = URI.encode_www_form({
"limit" => "10",
"position" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/apigateway/2015-07-09/domainnames?" . http_build_query([
"limit" => "10",
"position" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Lists the RestApis resources for your collection.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/amazonaws.com/apigateway/2015-07-09/restapis?limit=10&position=example"
import requests
params = {
"limit": "10",
"position": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/amazonaws.com/apigateway/2015-07-09/restapis",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/apigateway/2015-07-09/restapis');
url.searchParams.set('limit', '10');
url.searchParams.set('position', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/amazonaws.com/apigateway/2015-07-09/restapis")
q := baseURL.Query()
q.Set("limit", "10")
q.Set("position", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/apigateway/2015-07-09/restapis")
uri.query = URI.encode_www_form({
"limit" => "10",
"position" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/apigateway/2015-07-09/restapis?" . http_build_query([
"limit" => "10",
"position" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Amazon API Gateway?
Amazon API Gateway is a Cloud API. Developers commonly use cloud APIs for:
- provisioning and managing cloud infrastructure
- automating deployments and container orchestration
- monitoring uptime and performance metrics
- managing storage buckets and databases
- setting up auto-scaling and load balancing
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Amazon API Gateway is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?