Synchronous Export Leaked Accounts
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
Search term
- Specify the bucket to search
- See list of buckets https://blog.intelx.io/2022/05/05/list-of-buckets/
Result limit
- Set a timeout value for the search. If omitted or set to 0, the default is used.
Date from of the result in YYYY-mm-dd HH:ii:ss format. (Not RFC3339)
Date to of the result in YYYY-mm-dd HH:ii:ss format. (Not RFC3339)
Optional: ID of previous search to terminate to save system resources.
Response
JSON array of CSVRecord