API


Download all domain's resources

GET /domains/{DOMAIN_NAME}.txt

Download the list of resources for a particular domain. Every resource starts from the new line.

Example

https://shrewdeye.app/domains/google.com.txt

Output (txt)

sub1.google.com
sub2.google.com
sub3.google.com
sub4.google.com




Download all domain's resources

GET /domains/{DOMAIN_NAME}.txt?valid=true

Download the list of resources that have DNS information. Every resource starts from the new line.

Example

https://shrewdeye.app/domains/google.com.txt?valid=true

Output (txt)

mx.google.com
mx2.google.com
mx3.google.com
mx4.google.com




Get domain

GET /api/v1/domains/{DOMAIN_NAME}

Get information about the domain: resources, download link, etc.

Example

https://shrewdeye.app/api/v1/domains/google.com

Output (Json)

{
  "name": "google.com",
  "created": "2023-07-12",
  "last_update": "2023-12-03",
  "resources": {
    "total": "83775",
    "valid": "40747"
  },
  "download_link": "https://shrewdeye.app/domains/google.com.txt",
  "download_valid": "https://shrewdeye.app/domains/google.com.txt?valid=true"
}




List subdomains

GET /api/v1/domains/{DOMAIN_NAME}/resources

List resources for domain. It support pagination and can be controlled with following query string parameters:
A page parameter specifies the page to fetch. The number of the first page is 1.
The default value resource per page is 1000.

Example

https://shrewdeye.app/api/v1/domains/google.com/resources

Output (Json)

{
  "current_page": 1,
  "data": [
    {
      "name": "google.com",
      "is_valid": 1,
      "type": "domain",
      "updated_at": "2023-08-12 14:55:23"
    }
  ],
  "first_page_url": "https://shrewdeye.app/api/v1/domains/google.com/resources?page=1",
  "from": 1,
  "last_page": 83,
  "last_page_url": "https://shrewdeye.app/api/v1/domains/google.com/resources?page=83",
  "path": "https://shrewdeye.app/api/v1/domains/google.com/resources",
  "per_page": 1000,
  "to": 1000,
  "total": 82971
}




Get subdomain/resource information

GET /api/v1/domains/{DOMAIN_NAME}/{RESOURCE_NAME}

Get information about the particular resource of domain.

Example

https://shrewdeye.app/api/v1/domains/google.com/smtp.google.com

Output (Json)

{
  "name": "smtp.google.com",
  "is_valid": 1,
  "last_update": "2023-11-28T10:08:32.000000Z",
  "dns": {
    "info": "Full DNS Information",
    "a": "142.250.102.26\n142.250.102.27\n142.250.27.27\n142.250.27.26",
    "aaaa": "2a00:1450:4025:401::1a\n2a00:1450:4025:402::1b\n2a00:1450:4025:402::1a\n2a00:1450:4025:401::1b",
    "cname": ""
  }
}