An open API service indexing awesome lists of open source software.

https://github.com/mgocobachi/domaintools

A simple access to the DomainTools API
https://github.com/mgocobachi/domaintools

api domain domaintools profile reputation security tools whois

Last synced: 5 months ago
JSON representation

A simple access to the DomainTools API

Awesome Lists containing this project

README

          


Build Status
Latest Stable Version
License

# DomainTools API

The DomainTools API provides direct access to the same data that drives the powerful research tools on DomainTools.com.

## What is DomainTools?

DomainTools helps security analysts turn threat data into threat intelligence. We take indicators from your network, including domains and IPs, and connect them with nearly every active domain on the Internet. Those connections inform risk assessments, help profile attackers, guide online fraud investigations, and map cyber activity to attacker infrastructure.

## Endpoints supported

* [Domain Profile](http://www.domaintools.com/resources/api-documentation/domain-profile/)
* [Domain Reputation](http://www.domaintools.com/resources/api-documentation/reputation/)
* [Domain Search](http://www.domaintools.com/resources/api-documentation/domain-search/)

## How to use

To use the package is defined a helper function called as 'domantools()', it
accept two parameters, the username and the API key. However, if you leave it
in blank you will hit the API as anonymous and limited calls.

```
profile('domaintools.com');
```

If you like to know the reputation of domaintools.com (remember, more higher more risk).

```
reputation('domaintools.com');
```

If you like to know the results of any term search

In this example we are filtering by those domains active only, and when
get the results then, search and filter where char_count is greater than 15.

```
search('domain tools', [
'active_only' => 'true',
]);

$results = collection($search->results)->filter(function ($result) {
return $result->char_count > 15;
});
```

Other example could be applying it immediately.
```
search('domain tools', [
'active_only' => 'true',
])->results)->filter(function ($result) {
return $result->char_count > 15;
});
```

## More information

For more information please contact [domaintols.com](http://www.domaintools.com/company/contact/) about API details or documentation.