# All Subdomains as CSV

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

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

Last updated: 2026-09-24

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

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

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

Tags: `param` `file_format` · `value` `csv`

Asks for the All Subdomains file in CSV (`file_format=csv`).

The current file, `all_subdomains_202401.csv.gz`, has 843,822,487 lines (one per subdomain) and is 53.3 GB (`file_size` 53,325,635,252); 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 | `csv` |

```bash
curl 'https://api.deepinfo.com/v1/feeds/all-subdomains?file_format=csv' \
  -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.csv.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=<redacted>&X-Amz-Date=20260924T074947Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=<redacted>",
  "file_format": "csv",
  "file_size": 53325635252,
  "file_update_time": "2024-01-04T10:00:00Z",
  "line_count": 843822487
}
```

## Related Examples

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