Securitytrails
SecurityTrails is a cybersecurity platform providing comprehensive domain, IP, DNS, and WHOIS intelligence data. It offers historical DNS records, subdomain discovery, WHOIS history, associated domains, passive DNS datasets, and website technology detection to support threat hunting, brand protection, cyber forensics, and attack surface management.
Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Bulk Static Asset Rules
SECURITYTRAILS_BULK_STATIC_ASSET_RULESBulk add or remove static asset rules for a SecurityTrails ASI project. Static asset rules define which domains/IPs are included or excluded from the project's monitoring scope. This operation processes up to 1000 rules (combined add + remove) per request. The API processes rules asynchronously, waiting up to 2 seconds for completion. If processing takes longer, task_ids are returned for status polling. Note: Requires a valid project_id from the List Projects endpoint. Use the Get Static Assets endpoint to verify changes after bulk operations complete.
Get Company Associated IPs
SECURITYTRAILS_GET_COMPANY_ASSOCIATED_IPSRetrieve a page of IP addresses associated with a company domain, for identifying infrastructure linked to an organization. The response can include CIDR records and a total record count; this tool does not provide a page selection parameter.
Get Domain Details
SECURITYTRAILS_GET_DOMAINRetrieves comprehensive domain information from SecurityTrails including current DNS records, infrastructure details, and statistics. This tool fetches detailed DNS data (A, AAAA, MX, NS, SOA, TXT records) along with metadata about when records were first seen, which organizations own the infrastructure, and how many other domains share the same servers. Useful for domain reconnaissance, infrastructure mapping, security analysis, and understanding domain configurations. Returns structured data with typed fields for easy programmatic access by AI agents.
Get Domain SSL
SECURITYTRAILS_GET_DOMAIN_SSLTool to fetch current and historical SSL certificate details for a hostname. Use when you need to retrieve SSL data after identifying the domain. Coverage limited to certificates indexed by SecurityTrails; private, internally-issued, or very recently issued certificates may be absent.
IP Search Statistics
SECURITYTRAILS_IP_SEARCH_STATISTICSFetch aggregated statistics for IP addresses matching a DSL query, including top open ports, common reverse DNS patterns, and a total count. Use it to analyze IP ranges and infrastructure patterns. IP DSL queries require a professional plan or higher.
List ASI Projects
SECURITYTRAILS_LIST_PROJECTSTool to list ASI projects available to the account. Use when you need project IDs for subsequent ASI operations.
Ping
SECURITYTRAILS_PINGTool to test authentication and connectivity with the SecurityTrails API. Use after configuring API key.
Scroll Results
SECURITYTRAILS_SCROLLFetch the next batch of DSL search results using a scroll ID. Continue scrolling to retrieve subsequent batches.
Search IPs
SECURITYTRAILS_SEARCH_IPSSearch IP addresses using a SecurityTrails DSL query with page selection. IP DSL queries require a professional plan or higher.
SQL API Execute Query
SECURITYTRAILS_SQL_API_EXECUTE_QUERYExecute SQL-like queries against SecurityTrails data. Query the 'hosts' table for domain/DNS information or the 'ips' table for IP address/ASN/port data. Returns up to 100 records per request with a scroll ID for pagination. Supports standard SQL syntax (SELECT, WHERE, AND, OR, IN, IS NULL) but does NOT support LIMIT clause.
SQL API Scroll Results
SECURITYTRAILS_SQL_API_SCROLL_RESULTSTool to fetch next page of SQL query results. Use after obtaining scroll_id from initial SQL API response.
Temp Scrape Securitytrails Usage
SECURITYTRAILS_TEMP_SCRAPE_SECURITYTRAILS_USAGERetrieve account usage information from the SecurityTrails API. This action fetches the current monthly usage and allowed monthly usage limits for your SecurityTrails API account. Use this to monitor your API quota consumption. Returns: On success (200): - current_monthly_usage: Your current API usage for the month - allowed_monthly_usage: Your total allowed monthly API quota On error: - status_code: HTTP status code - response_text: Error message from API