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




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-08-12",
  "resources": "82971",
  "download_link": "https://shrewdeye.app/domains/google.com.txt"
}




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
}