# SecurityTrails integration with AI agents

SecurityTrails delivers historical and current DNS intelligence, WHOIS data, and security insights for domains and IP addresses through comprehensive security research APIs.

## Overview

### Authenticate SecurityTrails

Securely connect your SecurityTrails account to CodeWords using your API key from the dashboard. This authentication grants your AI agents access to historical DNS records, domain intelligence, and security data for comprehensive infrastructure analysis.

### Configure monitoring targets

Define the domains, IP addresses, or organizations you want to monitor for security and infrastructure changes. Specify the types of data you need including DNS records, subdomains, SSL certificates, or WHOIS information for your security operations.

### Track infrastructure changes

AI agents continuously monitor your specified targets for modifications to DNS records, new subdomains, SSL certificate updates, or IP address changes. These automated checks help you detect unauthorized alterations or potential security issues before they escalate.

### Analyze historical data

Query historical DNS records to understand how domains and infrastructure have evolved over time. Your AI agents can identify patterns, track ownership changes, and uncover connections between different entities using years of archived data.

### Discover attack surfaces

AI agents enumerate all subdomains and associated infrastructure for target domains to map complete attack surfaces. This comprehensive discovery helps identify forgotten assets, shadow IT, or exposed services that could pose security risks to organizations.

### Investigate threat indicators

Research suspicious domains or IP addresses by retrieving their DNS history, associated domains, and infrastructure patterns. AI agents correlate this data with threat intelligence to help you assess risks and make informed security decisions.

### Generate security reports

Create detailed reports on domain infrastructure, certificate status, and configuration changes. AI agents compile data from multiple SecurityTrails endpoints into comprehensive documentation for security audits, compliance reviews, or stakeholder briefings.

### Automate threat detection

Set up intelligent workflows that identify suspicious patterns such as rapid DNS changes, unusual subdomain creation, or connections to known malicious infrastructure. AI agents alert your security team when anomalies are detected for rapid response.

## Use cases

### Brand protection monitoring

Build a system that detects typosquatting and brand impersonation by monitoring newly registered domains similar to your brand. AI agents analyze domain patterns, check DNS configurations, and alert you to potential phishing or fraud attempts using your brand identity.

### Asset discovery automation

Create a workflow that continuously discovers all subdomains and infrastructure associated with your organization. AI agents map your complete digital footprint, identify shadow IT or forgotten assets, and maintain an up-to-date inventory for security assessments and compliance.

### Threat intelligence enrichment

Develop an automated system that enriches threat indicators with SecurityTrails data. When suspicious domains or IPs are identified, AI agents retrieve historical records, associated infrastructure, and ownership details to provide context for security investigations and incident response.

## FAQ

### How do I authenticate with SecurityTrails?

Log into your SecurityTrails account, navigate to API settings, and copy your API key. Enter this key in CodeWords to enable your AI agents to access security intelligence data.

### What DNS data can I access through SecurityTrails?

You can access current and historical records for A, AAAA, MX, NS, TXT, and other DNS record types. This includes years of historical data showing how domain configurations have changed over time.

### Can I monitor competitors' infrastructure?

Yes, SecurityTrails provides publicly available DNS and domain data for any website. You can track infrastructure changes, subdomain additions, and technology updates for competitive intelligence while respecting privacy laws.

### How far back does historical data go?

SecurityTrails maintains DNS records going back several years depending on the domain. Your AI agents can query this historical data to track long-term infrastructure evolution and identify patterns.

### What are API rate limits?

Rate limits vary by subscription plan. CodeWords AI agents manage request pacing to stay within your allocation while maximizing data collection efficiency for your security monitoring needs.

CodeWords integration directory: https://www.codewords.ai/integrations
