The REST API allows Enterprise users to programmatically interact with various areas.
Accessing the API requires generating a key via your account security section.
All API responses will be returned in JSON format. Errors will always return a response code in the 400 range. Successful requests will return a 200 code.
Request bodies must be sent using the application/x-www-form-urlencoded
encoding. Parameters may also be passed via the query string.
All request data must use the UTF-8 character set.
Requests must pass the API key to use via the Api-Key
header. This must be present in all requests.
$ch = curl_init('https://iolabs.io/api/cookies?' . http_build_query([
'cookie_domain' => '.google.com',
'cookie_name' => 'GOOGLE_ABUSE_*'
]));
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Api-Key: <YOUR-API-KEY>'
],
]);
$response = curl_exec($ch);
echo $response;
Input | Type | Description |
---|---|---|
include_finished | bool | If true, domains that are flagged as being finished with campaign will be included. |
Output | Type | Description |
---|---|---|
domains | Domain[] | List of domains in campaign. |
Input | Type | Description |
---|---|---|
domains | array | Array of domains to be flagged in a campaign. |
unflag | bool | If true, domains will be unflagged. |
Output | Type | Description |
---|---|---|
success | true |
Input | Type | Description |
---|---|---|
cookie_domain | string | The domain the cookie was set at. |
cookie_name | string | Name of the cookie (can have a trailing wildcard [*]). |
cookie_value_filter | string | Cookie value must contain this string if given. |
Output | Type | Description |
---|---|---|
cookies | Cookie[] | List of matching cookies. |
Input | Type | Description |
---|---|---|
domain | string | Domain name to be spidered. |
Output | Type | Description |
---|---|---|
domain | Domain[] | Domain added to spidering queue. |
Input | Type | Description |
---|---|---|
header | string | Header to search for. |
Output | Type | Description |
---|---|---|
headers | Header[] | List of matching headers. |
Input | Type | Description |
---|---|---|
hostname | string | Hostname to search for. |
Output | Type | Description |
---|---|---|
hostnames | Hostname[] | List of matching hostnames. |
Input | Type | Description |
---|---|---|
javascript | string | JavaScript object to search for. |
Output | Type | Description |
---|---|---|
javascript | JavaScript[] | List of matching JavaScript objects. |
Input | Type | Description |
---|---|---|
url | string | URL to spider instantly. |
Output | Type | Description |
---|---|---|
cookies | Cookie[] | List of cookies received from spidering URL. |
headers | Header[] | List of headers from spidering URL. |
hostnames | Hostname[] | List of hostnames used when spidering URL. |
javascript | JavaScript[] | List of JavaScript objects from spidering URL. |
miscellaenous | Miscellaneous[] | List of miscellaneous items from spidering URL. |
Column | Type | Description |
---|---|---|
domain | string | |
cookie_domain | string | |
cookie_name | string | |
cookie_value | string | |
date | date |
Column | Type | Description |
---|---|---|
domain | string |
Column | Type | Description |
---|---|---|
domain | string | |
header | string | |
value | string | |
date | date |
Column | Type | Description |
---|---|---|
domain | string | |
hostname | string | |
date | date |
Column | Type | Description |
---|---|---|
domain | string | |
name | string | |
date | date |
Column | Type | Description |
---|---|---|
key | string | |
value | various |
What's your use case?
Example: Amazon does not use a tracking cookie, however we can see clicks happening by analyzing our spider's backtrace to see if an Amazon click-tracking URL was fetched.
Has our spider seen your click-tracking cookie?
Example: A new ad platform wants to see which sites currently use Taboola. Additionally, you are able to see which websites have used Taboola in the past, but no longer do.
Locate anything by cookie or JavaScript object.
Example: A commerical forum vendor, vBulletin wants to know all the sites using vBulletin so they can compare it against their licensed customers.
Example: WebTrends wants to see all the domains that have the WebTrends analytics system installed and in-use.
Locate anything by cookie or JavaScript object.