# Subdomain Finder API

> Subdomain Finder discovers active subdomains and their resolved IP addresses for any target domain. It checks certificate transparency logs and common hostnames, returning matched hostnames, root A records, and scan completion status.

**Endpoint:** `GET https://api.apiverve.com/v1/subdomainfinder`  
**Category:** Domain Data  
**Cost:** 100 credits per call  
**Canonical page:** https://apiverve.com/marketplace/subdomainfinder

## Overview

A subdomain discovery API for finding all subdomains of a domain from code. Pass a root domain to query certificate transparency entries and common hostnames in real time. The response pairs each discovered host with its resolved IP addresses, including root domain records and a completion status flag. Wildcard DNS is detected, so guessed names that only resolve because of the wildcard are not reported. When queries hit the scan time limit, a note explains truncation. Paid plans can increase detection limits and enable deep wordlist scans.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/subdomainfinder?domain=paypal.com&limit=500&deepScan=true" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `domain` | string | Yes | The domain you want to find all the available subdomains for (e.g. google.com). domain |
| `limit` | integer | No | Limit the number of subdomains to detect. default 10. range 1-500. Premium field |
| `deepScan` | boolean | No | Search the full wordlist instead of only certificate transparency and common names. Slower, and may still report complete: false when the time limit is reached. default false. Premium field |

## Response fields

- `rootDomain` — object · The domain that was scanned and its A records
  - `rootDomain.domain` — string · The primary domain name for the scan
  - `rootDomain.records` — array · IP addresses associated with the root domain
  - `subDomains.0.host` — string · Full hostname of the discovered subdomain
  - `subDomains.0.records` — array · IP addresses resolved for the subdomain
  - `subDomains.0.source` — string · Where the name came from: certificate (issued a certificate, logged in certificate transparency) or wordlist (a common name that resolved)
  - `subDomains.0.firstSeen` — string · Start date (YYYY-MM-DD) of the earliest certificate issued for the subdomain. Null for wordlist names · (premium)
  - `subDomains.0.certificateExpires` — string · Expiry date (YYYY-MM-DD) of the latest certificate issued for the subdomain. A past date means no current certificate has been logged. Null for wordlist names · (premium)
  - `subDomains.0.hostingProvider` — object · Cloud or hosting company the subdomain resolves to (e.g. Cloudflare, Amazon Web Services), or null when it is not a known provider · (premium)
- `count` — number · Total number of subdomains discovered in this scan
- `totalFound` — number · Number of subdomains returned, capped at limit. See limitReached and complete for whether more may exist
- `complete` — boolean · False when the scan may have under-reported: it hit its time budget before finishing the wordlist, or the certificate transparency source was unavailable and the limit was not reached
- `hasWildcard` — boolean · True when the domain has a wildcard DNS record, so any name resolves. Guessed names answered by the wildcard are left out; names from certificate logs are kept

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "rootDomain": {
      "domain": "paypal.com",
      "records": [
        "151.101.3.1",
        "151.101.195.1",
        "162.159.141.96"
      ]
    },
    "subDomains": [
      {
        "host": "api.paypal.com",
        "records": [
          "66.211.168.123"
        ],
        "source": "certificate",
        "firstSeen": "2008-11-03",
        "certificateExpires": "2020-08-14",
        "hostingProvider": null
      },
      {
        "host": "mail.paypal.com",
        "records": [
          "159.127.187.12"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": null
      },
      {
        "host": "admin.paypal.com",
        "records": [
          "173.0.88.10"
        ],
        "source": "certificate",
        "firstSeen": "2011-08-11",
        "certificateExpires": "2020-01-22",
        "hostingProvider": null
      },
      {
        "host": "smtp.paypal.com",
        "records": [
          "64.4.244.68"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": null
      },
      {
        "host": "ns2.paypal.com",
        "records": [
          "64.4.244.71"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": null
      },
      {
        "host": "test.paypal.com",
        "records": [
          "156.59.125.88"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": null
      },
      {
        "host": "ns1.paypal.com",
        "records": [
          "64.4.244.70"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": null
      },
      {
        "host": "mx.paypal.com",
        "records": [
          "10.190.3.55"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": null
      },
      {
        "host": "demo.paypal.com",
        "records": [
          "151.101.1.21",
          "151.101.193.21",
          "151.101.129.21",
          "151.101.65.21"
        ],
        "source": "certificate",
        "firstSeen": "2014-04-17",
        "certificateExpires": "2020-03-10",
        "hostingProvider": "Fastly"
      },
      {
        "host": "shop.paypal.com",
        "records": [
          "54.148.26.111",
          "35.80.170.143",
          "54.212.145.128"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": null
      },
      {
        "host": "www.paypal.com",
        "records": [
          "151.101.193.21",
          "151.101.65.21",
          "151.101.129.21",
          "151.101.1.21"
        ],
        "source": "certificate",
        "firstSeen": "2007-01-30",
        "certificateExpires": "2020-09-01",
        "hostingProvider": "Fastly"
      },
      {
        "host": "m.paypal.com",
        "records": [
          "151.101.129.21",
          "151.101.1.21",
          "151.101.193.21",
          "151.101.65.21"
        ],
        "source": "certificate",
        "firstSeen": "2009-07-28",
        "certificateExpires": "2020-06-19",
        "hostingProvider": "Fastly"
      },
      {
        "host": "stage.paypal.com",
        "records": [
          "64.4.241.16"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": null
      },
      {
        "host": "ssl.paypal.com",
        "records": [
          "151.101.65.21",
          "151.101.129.21",
          "151.101.193.21",
          "151.101.1.21"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": "Fastly"
      },
      {
        "host": "i.paypal.com",
        "records": [
          "63.140.38.107",
          "63.140.39.244",
          "63.140.39.114",
          "63.140.38.116",
          "63.140.39.254",
          "63.140.39.146",
          "63.140.38.213",
          "63.140.39.214",
          "63.140.39.87",
          "63.140.39.123"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": null
      },
      {
        "host": "news.paypal.com",
        "records": [
          "192.243.228.1"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": null
      },
      {
        "host": "autodiscover.paypal.com",
        "records": [
          "52.96.79.120",
          "52.96.79.200",
          "52.96.163.40",
          "52.96.79.248"
        ],
        "source": "certificate",
        "firstSeen": "2011-04-21",
        "certificateExpires": "2017-11-13",
        "hostingProvider": null
      },
      {
        "host": "dl.paypal.com",
        "records": [
          "216.113.188.115"
        ],
        "source": "certificate",
        "firstSeen": "2009-10-19",
        "certificateExpires": "2014-03-11",
        "hostingProvider": null
      },
      {
        "host": "connect.paypal.com",
        "records": [
          "151.101.65.21",
          "151.101.129.21",
          "151.101.1.21",
          "151.101.193.21"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": "Fastly"
      },
      {
        "host": "sandbox.paypal.com",
        "records": [
          "151.101.195.1",
          "162.159.141.96",
          "151.101.3.1"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": "Fastly"
      },
      {
        "host": "training.paypal.com",
        "records": [
          "64.4.254.252"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": null
      },
      {
        "host": "c.paypal.com",
        "records": [
          "151.101.129.21",
          "151.101.65.21",
          "151.101.193.21",
          "151.101.1.21"
        ],
        "source": "certificate",
        "firstSeen": "2014-02-19",
        "certificateExpires": "2020-08-18",
        "hostingProvider": "Fastly"
      },
      {
        "host": "business.paypal.com",
        "records": [
          "104.18.6.168",
          "104.18.7.168"
        ],
        "source": "certificate",
        "firstSeen": "2008-07-17",
        "certificateExpires": "2019-05-29",
        "hostingProvider": null
      },
      {
        "host": "service.paypal.com",
        "records": [
          "192.243.228.1"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": null
      },
      {
        "host": "login.paypal.com",
        "records": [],
        "source": "certificate",
        "firstSeen": "2019-06-27",
        "certificateExpires": "2020-08-18",
        "hostingProvider": null
      },
      {
        "host": "t.paypal.com",
        "records": [
          "151.101.3.1",
          "151.101.131.1",
          "151.101.67.1",
          "151.101.195.1"
        ],
        "source": "certificate",
        "firstSeen": "2012-04-26",
        "certificateExpires": "2020-08-18",
        "hostingProvider": "Fastly"
      },
      {
        "host": "status.paypal.com",
        "records": [
          "20.69.68.249"
        ],
        "source": "certificate",
        "firstSeen": "2017-07-28",
        "certificateExpires": "2019-08-02",
        "hostingProvider": null
      },
      {
        "host": "shopping.paypal.com",
        "records": [
          "208.76.140.165"
        ],
        "source": "certificate",
        "firstSeen": "2009-11-12",
        "certificateExpires": "2019-02-06",
        "hostingProvider": null
      },
      {
        "host": "newsletter.paypal.com",
        "records": [
          "192.243.228.1"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": null
      },
      {
        "host": "reports.paypal.com",
        "records": [
          "173.0.93.28"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": null
      },
      {
        "host": "forms.paypal.com",
        "records": [
          "216.113.190.190"
        ],
        "source": "certificate",
        "firstSeen": "2009-09-10",
        "certificateExpires": "2011-10-01",
        "hostingProvider": null
      },
      {
        "host": "labs.paypal.com",
        "records": [
          "173.0.88.135"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": null
      },
      {
        "host": "p.paypal.com",
        "records": [
          "151.101.131.1",
          "151.101.67.1",
          "151.101.195.1",
          "151.101.3.1"
        ],
        "source": "certificate",
        "firstSeen": "2016-02-02",
        "certificateExpires": "2020-08-18",
        "hostingProvider": "Fastly"
      },
      {
        "host": "transfer.paypal.com",
        "records": [
          "151.101.193.21",
          "151.101.129.21",
          "151.101.65.21",
          "151.101.1.21"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": "Fastly"
      },
      {
        "host": "xmpp.paypal.com",
        "records": [
          "173.224.160.144",
          "173.224.160.141",
          "185.97.80.137",
          "185.97.80.136"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": null
      },
      {
        "host": "manager.paypal.com",
        "records": [
          "173.0.93.191"
        ],
        "source": "certificate",
        "firstSeen": "2009-01-06",
        "certificateExpires": "2020-01-24",
        "hostingProvider": null
      },
      {
        "host": "developer.paypal.com",
        "records": [
          "151.101.1.21",
          "151.101.193.21",
          "151.101.129.21",
          "151.101.65.21"
        ],
        "source": "certificate",
        "firstSeen": "2009-02-20",
        "certificateExpires": "2020-09-29",
        "hostingProvider": "Fastly"
      },
      {
        "host": "account.paypal.com",
        "records": [
          "192.243.228.1"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": null
      },
      {
        "host": "history.paypal.com",
        "records": [
          "151.101.129.21",
          "151.101.193.21",
          "151.101.65.21",
          "151.101.1.21"
        ],
        "source": "certificate",
        "firstSeen": "2009-01-09",
        "certificateExpires": "2020-08-26",
        "hostingProvider": "Fastly"
      },
      {
        "host": "pics.paypal.com",
        "records": [
          "151.101.131.1",
          "151.101.195.1",
          "151.101.67.1",
          "151.101.3.1"
        ],
        "source": "certificate",
        "firstSeen": "2012-03-30",
        "certificateExpires": "2020-08-10",
        "hostingProvider": "Fastly"
      },
      {
        "host": "registration.paypal.com",
        "records": [
          "173.0.93.135"
        ],
        "source": "certificate",
        "firstSeen": "2006-07-22",
        "certificateExpires": "2020-01-24",
        "hostingProvider": null
      },
      {
        "host": "mcp.paypal.com",
        "records": [
          "104.18.7.170",
          "104.18.6.170"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": null
      },
      {
        "host": "accounts.paypal.com",
        "records": [
          "173.0.93.28"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": null
      },
      {
        "host": "hotspot.paypal.com",
        "records": [
          "64.4.240.12"
        ],
        "source": "certificate",
        "firstSeen": "2016-11-10",
        "certificateExpires": "2018-11-14",
        "hostingProvider": null
      },
      {
        "host": "bm.paypal.com",
        "records": [
          "130.211.16.153"
        ],
        "source": "wordlist",
        "firstSeen": null,
        "certificateExpires": null,
        "hostingProvider": null
      },
      {
        "host": "rms.paypal.com",
        "records": [
          "173.0.82.166"
        ],
        "source": "certificate",
        "firstSeen": "2015-06-17",
        "certificateExpires": "2020-01-24",
        "hostingProvider": null
      },
      {
        "host": "cb.paypal.com",
        "records": [
          "173.0.88.142"
        ],
        "source": "certificate",
        "firstSeen": "2015-10-15",
        "certificateExpires": "2017-10-19",
        "hostingProvider": null
      }
    ],
    "count": 47,
    "totalFound": 47,
    "complete": true,
    "hasWildcard": false
  }
}
```

## Use cases

- **Attack Surface Discovery** — Security engineers scan an organization's primary domain to find forgotten staging hosts and catalog exposed IP addresses before running vulnerability assessments.
- **Asset Inventory Auditing** — When auditing corporate infrastructure, IT teams cross-reference discovered subdomain hostnames against internal DNS registers to catch untracked servers and shadow services.
- **Bug Bounty Reconnaissance** — Penetration testers submit client domains to map newly issued certificates and gather resolved hostnames prior to testing web applications.
- **Phishing Infrastructure Detection** — To catch spoofing campaigns, brand protection platforms query suspicious root domains to inspect resolving hostnames and flag active servers.

## SDKs

- **npm** — `npm install @apiverve/subdomainfinder` (https://www.npmjs.com/package/@apiverve/subdomainfinder)
- **NuGet** — `dotnet add package APIVerve.API.SubdomainFinder` (https://www.nuget.org/packages/APIVerve.API.SubdomainFinder)
- **Source** — https://github.com/apiverve/subdomainfinder-api

## More

- Full reference: https://docs.apiverve.com/ref/subdomainfinder
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
