Loading
Loading
Our Subdomain Lookup API enables you to retrieve a complete list of subdomains associated with any domain, along with detailed visibility into their activity history. Each result includes key data such as when the subdomain was first discovered, when it was last observed, and whether it has become inactive.
Use our subdomain lookup API to monitor the full lifecycle of subdomains with precise timestamp data. This allows you to detect newly exposed assets, identify abandoned endpoints, and maintain clear visibility over both active and historical subdomain activity.
Retrieve a wide range of subdomains linked to a domain, including publicly exposed and historically observed entries. This allows deeper visibility into the domain’s full asset surface.
Every subdomain is enriched with time-based insights, showing when it was initially detected and its most recent activity. This helps you understand how domain assets evolve over time.
Quickly assess the scale of a domain’s footprint with a total record count included in the response, giving immediate context without additional processing.
Refine your results by focusing on active or inactive subdomains. Use timestamp fields to narrow down data based on lifecycle events or activity periods.
Choose how frequently you want updated data, whether real-time monitoring or periodic snapshots, depending on your operational needs.
Our scanning infrastructure runs continuously to detect new subdomains and changes, ensuring the dataset remains current and reliable.
Download results in CSV format for offline analysis, reporting, or integration into security and analytics workflows.
Access results in structured formats such as JSON and XML, making it easy to integrate with internal systems, dashboards, or automation pipelines.
$ pip install requests
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| domain | Yes | String | - | The domain for which you would like to retrieve subdomains. |
| before | No | String | current date | Fetch records created before a specific date. |
| after | No | String | oldest domain record date | Fetch records created after a specific date. |
| status | No | String | both inactive and active | Two statuses are available: inactive and active. active fetches all active subdomains, and inactive fetches all inactive subdomains. |
| page | No | String | 1 | Specify page number to access specific page data. |
| format | No | String | json | Response format. Possible values are: (1) json (2) xml |
Explore detailed response fields including field names, data types, requirements, and descriptions in the interactive Response Table. For complete response documentation click here.
| HTTP Status | Reasons |
|---|---|
| 400 | after date must be earlier than before date. |
| 400 | after date cannot be greater than the current date. |
| 400 | before date cannot be greater than the current date. |
To find subdomains associated with a domain, provide the domain name along with any optional parameters which you might need to filter out specific subdomains.
# Response { "domain": "google.com", "status": true, "query_time": "2026-04-15T11:32:31.773639591", "current_page": 3, "total_pages": 180, "total_records": 17913, "subdomains": [ { "subdomain": "amiuq33.sites.google.com", "first_seen": "2024-04-18", "last_seen": "2026-02-21" }, { "subdomain": "1f3nc86.sites.google.com", "first_seen": "2022-12-02", "last_seen": "2026-02-21" }, { "subdomain": "stzrv5h.sites.google.com", "first_seen": "2023-10-03", "last_seen": "2026-02-22" }, { "subdomain": "wk40p58.sites.google.com", "first_seen": "2022-10-01", "last_seen": "2026-03-21" }, { "subdomain": "wkn8okb.sites.google.com", "first_seen": "2022-09-29", "last_seen": "2026-03-21" }, { "subdomain": "wkr2214.sites.google.com", "first_seen": "2022-09-29", "last_seen": "2026-03-21" }, { "subdomain": "nremzqo.sites.google.com", "first_seen": "2023-06-02", "last_seen": "2026-03-29" }, { "subdomain": "crosbolt.teams.x20web.corp.google.com", "first_seen": "2024-03-05", "last_seen": "2026-03-22" }, { "subdomain": "bbpmkdg.sites.google.com", "first_seen": "2023-09-29", "last_seen": "2026-02-19" }, { "subdomain": "bb9ga10.sites.google.com", "first_seen": "2023-10-04", "last_seen": "2026-02-19" }, { "subdomain": "z0iadwr.sites.google.com", "first_seen": "2023-05-30", "last_seen": "2026-02-21" }, { "subdomain": "z0xk0n8.sites.google.com", "first_seen": "2023-05-29", "last_seen": "2026-02-21" }, { "subdomain": "kcr7lhz.sites.google.com", "first_seen": "2024-04-17", "last_seen": "2026-03-01" }, { "subdomain": "hbomax.sites.google.com", "first_seen": "2021-09-21", "last_seen": "2026-02-21" }, { "subdomain": "udoe35z.sites.google.com", "first_seen": "2023-03-30", "last_seen": "2026-02-21" }, { "subdomain": "8kxzb2j.sites.google.com", "first_seen": "2022-11-28", "last_seen": "2026-03-01" }, { "subdomain": "uczwmh7.sites.google.com", "first_seen": "2023-02-02", "last_seen": "2026-02-21" }, { "subdomain": "zr7plvv.sites.google.com", "first_seen": "2022-10-04", "last_seen": "2026-03-25" }, { "subdomain": "uew24n7.sites.google.com", "first_seen": "2023-03-25", "last_seen": "2026-02-21" }, { "subdomain": "uf7yvuc.sites.google.com", "first_seen": "2023-03-24", "last_seen": "2026-02-21" }, { "subdomain": "9g5hue1.sites.google.com", "first_seen": "2022-10-04", "last_seen": "2026-02-21" }, { "subdomain": "9gsm3wk.sites.google.com", "first_seen": "2022-10-05", "last_seen": "2026-02-21" }, { "subdomain": "9hm0ldm.sites.google.com", "first_seen": "2022-09-27", "last_seen": "2026-02-21" }, { "subdomain": "9ifvht1.sites.google.com", "first_seen": "2022-09-26", "last_seen": "2026-02-21" }, { "subdomain": "9j1ys2b.sites.google.com", "first_seen": "2022-09-28", "last_seen": "2026-02-21" }, { "subdomain": "9j4fd0u.sites.google.com", "first_seen": "2022-10-05", "last_seen": "2026-02-21" }, { "subdomain": "9jviaxt.sites.google.com", "first_seen": "2022-09-24", "last_seen": "2026-02-21" }, { "subdomain": "9k7h9wc.sites.google.com", "first_seen": "2022-10-02", "last_seen": "2026-02-21" }, { "subdomain": "i6nhcg6.sites.google.com", "first_seen": "2022-11-30", "last_seen": "2026-02-21" }, { "subdomain": "9fr55ew.sites.google.com", "first_seen": "2022-09-30", "last_seen": "2026-02-21" }, { "subdomain": "4y1htro.sites.google.com", "first_seen": "2023-12-01", "last_seen": "2026-03-01" }, { "subdomain": "ii6lz33.sites.google.com", "first_seen": "2023-03-21", "last_seen": "2026-02-18" }, { "subdomain": "9nwb1mh.sites.google.com", "first_seen": "2022-10-07", "last_seen": "2026-02-21" }, { "subdomain": "9o27c10.sites.google.com", "first_seen": "2022-10-06", "last_seen": "2026-02-21" }, { "subdomain": "9os3qbt.sites.google.com", "first_seen": "2022-09-24", "last_seen": "2026-02-21" }, { "subdomain": "9oysxh4.sites.google.com", "first_seen": "2022-09-25", "last_seen": "2026-02-21" }, { "subdomain": "9qdjby2.sites.google.com", "first_seen": "2022-10-03", "last_seen": "2026-02-21" }, { "subdomain": "9qlzpfo.sites.google.com", "first_seen": "2022-09-29", "last_seen": "2026-02-21" }, { "subdomain": "ugjor7i.sites.google.com", "first_seen": "2023-02-04", "last_seen": "2026-02-22" }, { "subdomain": "ugnfpru.sites.google.com", "first_seen": "2023-03-27", "last_seen": "2026-02-22" }, { "subdomain": "ui2vk3a.sites.google.com", "first_seen": "2023-02-05", "last_seen": "2026-02-22" }, { "subdomain": "keq1klx.sites.google.com", "first_seen": "2024-02-22", "last_seen": "2026-02-21" }, { "subdomain": "zcinv5s.sites.google.com", "first_seen": "2023-01-27", "last_seen": "2026-02-22" }, { "subdomain": "9kioaoh.sites.google.com", "first_seen": "2022-09-29", "last_seen": "2026-02-21" }, { "subdomain": "9kslg32.sites.google.com", "first_seen": "2022-09-29", "last_seen": "2026-02-21" }, { "subdomain": "9lvs3d5.sites.google.com", "first_seen": "2022-10-05", "last_seen": "2026-02-21" }, { "subdomain": "9lx7afe.sites.google.com", "first_seen": "2022-09-27", "last_seen": "2026-02-21" }, { "subdomain": "9n5epb8.sites.google.com", "first_seen": "2022-10-07", "last_seen": "2026-02-21" }, { "subdomain": "9spctc7.sites.google.com", "first_seen": "2022-09-27", "last_seen": "2026-02-21" }, { "subdomain": "9tkyy8m.sites.google.com", "first_seen": "2022-09-28", "last_seen": "2026-02-21" }, { "subdomain": "9tv6opm.sites.google.com", "first_seen": "2022-10-06", "last_seen": "2026-02-21" }, { "subdomain": "uj90t5v.sites.google.com", "first_seen": "2023-03-28", "last_seen": "2026-02-22" }, { "subdomain": "ujg2t9g.sites.google.com", "first_seen": "2023-03-23", "last_seen": "2026-02-22" }, { "subdomain": "1ls58ye.sites.google.com", "first_seen": "2022-07-01", "last_seen": "2026-03-01" }, { "subdomain": "6fj.spreadsheets.google.com", "first_seen": "2020-06-05", "last_seen": "2026-03-21" }, { "subdomain": "no4ty69.sites.google.com", "first_seen": "2024-04-13", "last_seen": "2026-03-21" }, { "subdomain": "zqdrdoo.sites.google.com", "first_seen": "2023-03-23", "last_seen": "2026-02-21" }, { "subdomain": "2yknrki.sites.google.com", "first_seen": "2023-02-01", "last_seen": "2026-02-20" }, { "subdomain": "7tf3172.sites.google.com", "first_seen": "2023-12-02", "last_seen": "2026-02-22" }, { "subdomain": "7vkrx8o.sites.google.com", "first_seen": "2023-12-08", "last_seen": "2026-02-22" }, { "subdomain": "7w0g0ky.sites.google.com", "first_seen": "2023-12-03", "last_seen": "2026-02-22" }, { "subdomain": "845ol1q.sites.google.com", "first_seen": "2023-03-23", "last_seen": "2026-02-22" }, { "subdomain": "16flsco.sites.google.com", "first_seen": "2023-03-28", "last_seen": "2026-02-21" }, { "subdomain": "331u0co.sites.google.com", "first_seen": "2023-02-03", "last_seen": "2026-02-22" }, { "subdomain": "9w30bpz.sites.google.com", "first_seen": "2022-09-28", "last_seen": "2026-02-21" }, { "subdomain": "9wd4csv.sites.google.com", "first_seen": "2022-10-07", "last_seen": "2026-02-21" }, { "subdomain": "9wizgco.sites.google.com", "first_seen": "2022-10-01", "last_seen": "2026-02-21" }, { "subdomain": "uqgtytd.sites.google.com", "first_seen": "2023-09-29", "last_seen": "2026-03-21" }, { "subdomain": "5t5bnzj.sites.google.com", "first_seen": "2023-02-05", "last_seen": "2026-03-29" }, { "subdomain": "w5f9n8e.sites.google.com", "first_seen": "2022-11-30", "last_seen": "2026-02-22" }, { "subdomain": "105fib1.sites.google.com", "first_seen": "2023-03-26", "last_seen": "2026-03-04" }, { "subdomain": "www10.google.com", "first_seen": "2017-07-24", "last_seen": "2026-02-22" }, { "subdomain": "erir438.sites.google.com", "first_seen": "2022-12-05", "last_seen": "2026-03-21" }, { "subdomain": "omegle.sites.google.com", "first_seen": "2021-09-26", "last_seen": "2026-02-20" }, { "subdomain": "14jy5k1.sites.google.com", "first_seen": "2022-12-09", "last_seen": "2026-03-18" }, { "subdomain": "14nyylj.sites.google.com", "first_seen": "2022-12-04", "last_seen": "2026-03-18" }, { "subdomain": "14v7ka8.sites.google.com", "first_seen": "2022-12-03", "last_seen": "2026-03-18" }, { "subdomain": "overview.sites.google.com", "first_seen": "2023-06-03", "last_seen": "2026-02-22" }, { "subdomain": "vbmayge.sites.google.com", "first_seen": "2023-06-07", "last_seen": "2026-02-22" }, { "subdomain": "daok13g.sites.google.com", "first_seen": "2023-06-10", "last_seen": "2026-02-22" }, { "subdomain": "14wz38p.sites.google.com", "first_seen": "2022-12-05", "last_seen": "2026-03-18" }, { "subdomain": "u0febcb.sites.google.com", "first_seen": "2022-12-05", "last_seen": "2026-03-29" }, { "subdomain": "vbowhh3.sites.google.com", "first_seen": "2023-06-07", "last_seen": "2026-02-23" }, { "subdomain": "v294zar.sites.google.com", "first_seen": "2023-05-28", "last_seen": "2026-02-23" }, { "subdomain": "yorshzr.sites.google.com", "first_seen": "2023-06-02", "last_seen": "2026-02-23" }, { "subdomain": "v2e12wr.sites.google.com", "first_seen": "2023-05-29", "last_seen": "2026-02-23" }, { "subdomain": "3.chart.apis.google.com", "first_seen": "2019-07-21", "last_seen": "2026-03-25" }, { "subdomain": "3.client-channel.google.com", "first_seen": "2019-07-19", "last_seen": "2026-03-25" }, { "subdomain": "v2iba0t.sites.google.com", "first_seen": "2023-05-28", "last_seen": "2026-02-23" }, { "subdomain": "v2o77d8.sites.google.com", "first_seen": "2023-05-29", "last_seen": "2026-02-23" }, { "subdomain": "de1dqtw.sites.google.com", "first_seen": "2023-09-22", "last_seen": "2026-02-21" }, { "subdomain": "clum7ic.sites.google.com", "first_seen": "2022-11-29", "last_seen": "2026-03-04" }, { "subdomain": "765iodu.sites.google.com", "first_seen": "2023-10-02", "last_seen": "2026-02-21" }, { "subdomain": "j2zxizx.sites.google.com", "first_seen": "2023-05-30", "last_seen": "2026-02-23" }, { "subdomain": "p77jw4r.sites.google.com", "first_seen": "2022-12-05", "last_seen": "2026-02-23" }, { "subdomain": "utuvtsr.sites.google.com", "first_seen": "2023-09-27", "last_seen": "2026-03-18" }, { "subdomain": "eh8.spreadsheets.google.com", "first_seen": "2017-04-26", "last_seen": "2026-02-20" }, { "subdomain": "264xp86.sites.google.com", "first_seen": "2022-11-30", "last_seen": "2026-02-21" }, { "subdomain": "6oho0b6.sites.google.com", "first_seen": "2023-10-04", "last_seen": "2026-03-04" }, { "subdomain": "qfasnnb.sites.google.com", "first_seen": "2023-03-23", "last_seen": "2026-02-23" } ] }curl -X GET "https://api.apifreaks.com/v1.0/subdomains/lookup?domain=google.com&after=2010-2-20&before=2025-05-20&status=active&page=3&apiKey=API-KEY"'
To use the Subdomain Lookup API, you will need API credits. We only charge for successful queries, defined by a 2xx status code. If your request results in a 4xx or 5xx status code, no credits will be charged, and any deducted credits will be returned.
For each successful request, 35 credits are charged.
Utilize the Credits Usage API to efficiently monitor your recent consumption of both one-off and subscription credits. This API provides a streamlined way to track and manage your credit usage, ensuring you stay informed about your remaining balance and can optimize your resource allocation effectively.