Spyse API

Security / API Key Intermediate HTTPS
Varies by plan (check documentation)

Overview

Spyse (now part of SecurityTrails) is an internet asset search engine that provides comprehensive data on domains, IPs, SSL certificates, and autonomous systems. It is designed for attack surface management and security research, letting you enumerate an organization's internet-facing infrastructure. Note: Spyse has been integrated into SecurityTrails, so check SecurityTrails for the latest API access.

💡

Beginner Tip

If you find that Spyse API endpoints return errors, check the SecurityTrails documentation as Spyse was acquired and merged into SecurityTrails in 2022.

Available Data

Spyse data via REST API
JSON-formatted response data
Requires API key authentication

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from Spyse",
    "description": "Access data on all Internet assets and build powerful attack surface management applications",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

data Top-level container for the queried entity's details.
data.items List of matching records returned for the search query.
context Pagination context including total_count and page information.
data.items[].name Domain or hostname for this result entry.
data.items[].dns_records Current DNS records associated with the domain.

Implementation Example

const url = "https://spyse-dev.readme.io/reference/quick-start";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

401 Unauthorized The Bearer token is missing or the account credentials are invalid.
Obtain a valid API token from your Spyse/SecurityTrails account and include it as Authorization: Bearer YOUR_API_KEY.
Endpoint returns 404 or service unavailable Spyse was acquired by SecurityTrails in 2022 and its standalone API may no longer be active.
Migrate to the SecurityTrails API (api.securitytrails.com) which offers equivalent domain and IP intelligence features.
Quota exceeded error Free and trial accounts have limited query credits.
Check your remaining credits in the dashboard and use targeted queries rather than broad scans to conserve quota.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 10/20
🔒 Security 15/15
🛠 Developer XP 12/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Security
Difficulty Intermediate
Verified: 2026-04-04

Similar APIs

View All →