Overview
API Concepts Manage API Key
Internet Data
DNSIQ® WHOISIQ™ SSL Certificates Blacklist Lookup Host Attributes
Attack Analytics
Newly Observed Domains Newly Observed Hosts Malware Phishing Scam Content
Digital Footprint
Global Inventory API Global Inventory Schema
Coming Soon
Enrich
PassiveTotal
Getting Started Actions Artifact Articles Data Card Enrichment Services Monitor Project SSL Certificates Tag Artifact Trackers Host Attributes Cookies Components Passive DNS Whois Bulk Enrichment
Additional Resources
Workspace Management API
RiskIQ.com

Cookies

The cookies endpoints allow you to search all cookies addresses and hosts information.

 

What It Looks Like

Get addresses by cookie domain

Searches the cookies addresses information by cookie domain

Curl Example

$ curl -u $USERNAME:$KEY 'https://api.riskiq.net/pt/v2/cookies/domain/www.passivetotal.org/addresses'
# With url parameters
$ curl -u $USERNAME:$KEY 'https://api.riskiq.net/pt/v2/cookies/domain/www.passivetotal.org/addresses?sort=firstSeen&order=asc'

Response

{
  "totalRecords": 70,
  "success": true,
  "results": [
    {
        "firstSeen": "2020-03-12 18:06:39",
        "lastSeen": "2020-08-16 06:57:37",
        "hostname": "114.80.187.73",
        "cookieName": "AWSALB",
        "cookieDomain": "www.passivetotal.org"
    },
    ...
    {
        "firstSeen": "2019-01-16 17:59:03",
        "lastSeen": "2020-08-15 06:04:32",
        "hostname": "34.224.34.209",
        "cookieName": "AWSALB",
        "cookieDomain": "www.passivetotal.org"
    }
  ]
}
			

Get addresses by cookie name

Searches the addresses information by cookie name

Curl Example

$ curl -u $USERNAME:$KEY 'https://api.riskiq.net/pt/v2/cookies/name/email/addresses'
# With url parameters
$ curl -u $USERNAME:$KEY 'https://api.riskiq.net/pt/v2/cookies/name/email/addresses?sort=firstSeen&order=asc'

Response

{
  "totalRecords": 10000,
  "success": true,
  "results": [
    {
        "firstSeen": "2020-03-12 18:06:39",
        "lastSeen": "2020-08-16 06:57:37",
        "hostname": "114.80.187.73",
        "cookieName": "email",
        "cookieDomain": ".gllue.com"
    },
    ...
    {
        "firstSeen": "2020-01-16 17:59:03",
        "lastSeen": "2020-08-15 06:04:32",
        "hostname": "34.224.34.209",
        "cookieName": "email",
        "cookieDomain": ".34.224.34.209"
    }
  ]
}
			

Get hosts by cookie domain

Searches the cookies hosts information by cookie domain

Curl Example

$ curl -u $USERNAME:$KEY 'https://api.riskiq.net/pt/v2/cookies/domain/www.passivetotal.org/hosts'
# With url parameters
$ curl -u $USERNAME:$KEY 'https://api.riskiq.net/pt/v2/cookies/www.passivetotal.org/hosts?sort=firstSeen&order=asc'

Response

{
  "totalRecords": 100,
  "success": true,
  "results": [
    {
        "firstSeen": "2020-03-12 18:06:39",
        "lastSeen": "2020-08-16 06:57:37",
        "hostname": "community.riskiq.com",
        "cookieName": "AWSALB",
        "cookieDomain": "www.passivetotal.org"
    },
    ...
    {
        "firstSeen": "2020-01-16 17:59:03",
        "lastSeen": "2020-08-15 06:04:32",
        "hostname": "www.passivetotal.org",
        "cookieName": "AWSALB",
        "cookieDomain": "www.passivetotal.org"
    }
  ]
}
			

Get hosts by cookie name

Searches the hosts information by cookie name

Curl Example

$ curl -u $USERNAME:$KEY 'https://api.riskiq.net/pt/v2/cookies/name/email/hosts'
# With url parameters
$ curl -u $USERNAME:$KEY 'https://api.riskiq.net/pt/v2/cookies/name/email/hosts?sort=firstSeen&order=asc'

Response

{
  "totalRecords": 1988,
  "success": true,
  "results": [
    {
        "firstSeen": "2020-03-12 18:06:39",
        "lastSeen": "2020-08-16 06:57:37",
        "hostname": "lp.colmex.co.il",
        "cookieName": "email",
        "cookieDomain": ".lp.colmex.co.il"
    },
    ...
    {
        "firstSeen": "2020-01-16 17:59:03",
        "lastSeen": "2020-08-15 06:04:32",
        "hostname": "secure.happiness-direct.com",
        "cookieName": "email",
        "cookieDomain": ".happiness-direct.com"
    }
  ]
}