Find an API

Search public APIs with auth details & Postman guides

← All APIs

AWS SecurityHub

amazonaws · Cloud

Cloud No Auth Free & Open cloud Sandbox

Security Hub provides you with a comprehensive view of the security state of your Amazon Web Services environment and resources. It also provides you with the readiness status of your environment based on controls from supported security standards. Security Hub collects security data from Amazon Web Services accounts, services, and integrated third-party products and helps you analyze security trends in your environment to identify the highest priority security issues. For more information ab

Authentication

No authentication requiredFree to use with no key needed.

Sample Requests

GET ListMembers

Lists details about all member accounts for the current Security Hub administrator account. The results include both member accounts that belong to an organization and member accounts that were invited manually.

https://api.apis.guru/v2/specs/amazonaws.com/securityhub/2018-10-26/members?NextToken=example&MaxResults=1&OnlyAssociated=true

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/amazonaws.com/securityhub/2018-10-26/members?NextToken=example&MaxResults=1&OnlyAssociated=true"
import requests
params = {
    "NextToken": "example",
    "MaxResults": "1",
    "OnlyAssociated": "true"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/amazonaws.com/securityhub/2018-10-26/members",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/securityhub/2018-10-26/members');
url.searchParams.set('NextToken', 'example');
url.searchParams.set('MaxResults', '1');
url.searchParams.set('OnlyAssociated', '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/securityhub/2018-10-26/members")
	q := baseURL.Query()
	q.Set("NextToken", "example")
	q.Set("MaxResults", "1")
	q.Set("OnlyAssociated", "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/securityhub/2018-10-26/members")
uri.query = URI.encode_www_form({
  "NextToken" => "example",
  "MaxResults" => "1",
  "OnlyAssociated" => "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/securityhub/2018-10-26/members?" . http_build_query([
    "NextToken" => "example",
    "MaxResults" => "1",
    "OnlyAssociated" => "true"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET DescribeHub

Returns details about the Hub resource in your account, including the HubArn and the time when you enabled Security Hub.

https://api.apis.guru/v2/specs/amazonaws.com/securityhub/2018-10-26/accounts?HubArn=example

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/amazonaws.com/securityhub/2018-10-26/accounts?HubArn=example"
import requests
params = {
    "HubArn": "example"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/amazonaws.com/securityhub/2018-10-26/accounts",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/securityhub/2018-10-26/accounts');
url.searchParams.set('HubArn', '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/securityhub/2018-10-26/accounts")
	q := baseURL.Query()
	q.Set("HubArn", "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/securityhub/2018-10-26/accounts")
uri.query = URI.encode_www_form({
  "HubArn" => "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/securityhub/2018-10-26/accounts?" . http_build_query([
    "HubArn" => "example"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET DescribeProducts

Returns information about product integrations in Security Hub. You can optionally provide an integration ARN. If you provide an integration ARN, then the results only include that integration. If you do not provide an integration ARN, then the results include all of the available p

https://api.apis.guru/v2/specs/amazonaws.com/securityhub/2018-10-26/products?NextToken=example&MaxResults=1&ProductArn=example

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/amazonaws.com/securityhub/2018-10-26/products?NextToken=example&MaxResults=1&ProductArn=example"
import requests
params = {
    "NextToken": "example",
    "MaxResults": "1",
    "ProductArn": "example"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/amazonaws.com/securityhub/2018-10-26/products",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/securityhub/2018-10-26/products');
url.searchParams.set('NextToken', 'example');
url.searchParams.set('MaxResults', '1');
url.searchParams.set('ProductArn', '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/securityhub/2018-10-26/products")
	q := baseURL.Query()
	q.Set("NextToken", "example")
	q.Set("MaxResults", "1")
	q.Set("ProductArn", "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/securityhub/2018-10-26/products")
uri.query = URI.encode_www_form({
  "NextToken" => "example",
  "MaxResults" => "1",
  "ProductArn" => "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/securityhub/2018-10-26/products?" . http_build_query([
    "NextToken" => "example",
    "MaxResults" => "1",
    "ProductArn" => "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

Get Postman ↗
  1. See official documentation for authentication and setup.

What can you build with AWS SecurityHub?

AWS SecurityHub 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. AWS SecurityHub 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?

Open documentation ↗