Skip to main content
Every securitytrails.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Account

ping

account.ping Verify the configured SecurityTrails API key is accepted and the API is reachable. Risk: read
Input: empty object Output

usage

account.usage Return the current and allowed monthly API usage for the account. Risk: read
Input: empty object Output

Company

associatedIps

company.associatedIps List the CIDR blocks associated with a company domain. Paginated. Risk: read
Input Output

Domain

get

domain.get Get current DNS records (A, AAAA, MX, NS, SOA, TXT) and co-occurrence statistics for a hostname. Risk: read
Input Output

ssl

domain.ssl List current and historical SSL/TLS certificates for a hostname, optionally including subdomains. Paginated. Risk: read
Input Output

Ips

ips.search Search the IP dataset with a DSL query, returning matching addresses, PTR records and open ports. Paginated. Risk: read
Input Output

stats

ips.stats Return aggregate open-port and PTR-pattern statistics for a DSL query over the IP dataset. Risk: read
Input Output

Projects

bulkStaticAssetRules

projects.bulkStaticAssetRules Add or remove static asset rules for an ASI project, changing which assets are in the project’s monitoring scope. Up to 1000 rules per request. Risk: write
Input
Output

list

projects.list List the Attack Surface Intelligence projects the API key can access. Risk: read
Input Output

Scroll

get

scroll.get Fetch the next page of a DSL search using a scroll cursor from a previous response. Risk: read
Input Output: object

Sql

query

sql.query Run a SQL-like query against the hosts or ips tables. Returns up to 100 records plus a scroll cursor. Risk: read
Input Output

scroll

sql.scroll Fetch the next 100 records for an open SQL API scroll cursor. Risk: read
Input Output