Amazon Web Services uses 216 prefixes for API_GATEWAY.
Short answer
API_GATEWAY lists the addresses of Amazon API Gateway endpoints.
Prefixes
What changed
- 21 Oct 2026
+ 83.160.72.0/24 - 8 Oct 2026
+ 51.168.118.0/24
Allowlist formats
nginx (first 5 prefixes)
allow 108.128.160.0/23; allow 108.128.162.0/24; allow 108.136.170.0/23; allow 108.137.25.0/24; allow 108.137.26.0/24; deny all;
iptables (first 5 prefixes)
iptables -A INPUT -s 108.128.160.0/23 -j ACCEPT iptables -A INPUT -s 108.128.162.0/24 -j ACCEPT iptables -A INPUT -s 108.136.170.0/23 -j ACCEPT iptables -A INPUT -s 108.137.25.0/24 -j ACCEPT iptables -A INPUT -s 108.137.26.0/24 -j ACCEPT
Generate the full list from the CSV, and refresh it on a schedule: providers add and retire prefixes often.
Sources
- Amazon Web Services: published IP ranges · checked 5 Nov 2026
- Amazon Web Services documentation