---
title: "Synchronous Export Leaked Accounts"
method: GET
path: "/accounts/1"
---

# Synchronous Export Leaked Accounts

`GET /accounts/1`

Use this function to query leaked accounts and return them immediately. 

Note: You should use the asynchronous function /accounts/csv as this one might miss results that are not available within the given timeout. 
Searching for leaked accounts may take minutes, especially when searching for domains that have thousands of results. Internally the API
must fetch the entire data for each individual result which often results internally in Gigabytes of traffic and potentially causes delays. 

The default timeout is 10 minutes. The client must make sure to allow for such high HTTP timeouts on the client side. The timeout must not be higher than 1 hour, which is the HTTP server write timeout.

## Query parameters

- `selector` string, required
- `bucket` string
- `limit` integer
- `timeout` integer, required
- `datefrom` string
- `dateto` string
- `terminate` string[]

## Response `200`

JSON array of CSVRecord

## Other responses

- `400` — Invalid input

---

[API](https://skmtc.net/intelligencex/apis/intelx-io-search-api.md) · [All operations](https://skmtc.net/intelligencex/apis/intelx-io-search-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/intelligencex/intelx-io-search-api/versions/09fb9b26ddff/schema)
