# All Subdomains as JSON

The download link of the All Subdomains feed as JSON: 843,822,487 lines, 79.5 GB, updated January 4, 2024.

Source: https://docs.deepinfo.com/reference/feeds/all-subdomains/examples/json/

Last updated: 2026-09-24

---
`GET https://api.deepinfo.com/v1/feeds/all-subdomains?file_format=json`

The download link of the All Subdomains feed as JSON: 843,822,487 lines, 79.5 GB, updated January 4, 2024.

Example 1 of 3 · [All Subdomains Feed Examples](/reference/feeds/all-subdomains/examples/) · endpoint: [All Subdomains](/reference/feeds/all-subdomains/)

Tags: `param` `file_format` · `value` `json`

Asks for the All Subdomains file in JSON (`file_format=json`).

The current file, `all_subdomains_202401.json.gz`, has 843,822,487 lines (one per subdomain) and is 79.5 GB (`file_size` 79,516,075,771); it was last updated on January 4, 2024. The Parquet file of this feed is newer (May 5, 2026, 1,452,864,429 lines).

Download the file from `download_url` within the hour; after that, request a new link.

## Request

| Parameter | In | Value |
|---|---|---|
| `file_format` | query | `json` |

```bash
curl 'https://api.deepinfo.com/v1/feeds/all-subdomains?file_format=json' \
  -H 'apikey: YOUR_API_KEY' \
  -H 'Accept: application/json'
```

## Response

### 200 · OK

`Content-Type: application/json` · `ratelimit-limit: 1` · `ratelimit-remaining: 0` · `ratelimit-reset: 1` · `x-ratelimit-limit-second: 1` · `x-ratelimit-remaining-second: 0` · `deepinfo-request-id: 5f0c6a8e-1b2d-4c3e-9f4a-7b8c9d0e1f2a`

```json
{
  "download_url": "https://storage.googleapis.com/dif-a-ds-1002/subdomain/latest/all_subdomains_202401.json.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=<redacted>&X-Amz-Date=20260924T074946Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=<redacted>",
  "file_format": "json",
  "file_size": 79516075771,
  "file_update_time": "2024-01-04T10:00:00Z",
  "line_count": 843822487
}
```

## Related Examples

- [All Subdomains as CSV](/reference/feeds/all-subdomains/examples/csv/)
- [All Subdomains as Parquet](/reference/feeds/all-subdomains/examples/parquet/)
