SecurityTrails Developer Hub

The SecurityTrails Developer Hub

Welcome to the SecurityTrails developer hub. You'll find comprehensive guides and documentation to help you start working with SecurityTrails as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started

Overview

Accessing the SecurityTrails REST API

The SecurityTrails API allows you to programmatically access all all IP, DNS, WHOIS and company related information that is available on the SecurityTrails Web Platform and beyond. It is based on REST principles and allows you to fetch data mainly using HTTP GET and POST methods. Please note that our API is read-only and there is no way of saving information.

The SecurityTrails API endpoint is exposed at

https://api.securitytrails.com/v1/

Please note that https is mandatory. Any http request will be forwarded to https.

Data format

For any data input outside of headers, path or query the JSON format is used. POST request bodies should supply JSON data. Any responses will be in JSON.

Headers

  • APIKEY: must be set, if not provided in the query-string; see Authentication.
  • Content-Type: should be set to application/json when supplying data in the request body

What's Next

Learn how to authenticate with our API

Authentication

Overview

Accessing the SecurityTrails REST API