Guides
Exporting a Domain's Credentials
Flare’s Leaked Credentials API can be used to export a domain’s leaked credentials.
This guide will explain how to export all leaked credentials for the example.com domain using the credentials/_search endpoint.
Export Steps
1
Fetch one page of results
Use the credentials/_search
endpoint to fetch one page of results.
If the returned page of results is empty, this means that the export is complete.
2
Print the results
Loop over the response’s items and print the results.
3
Ratelimit and go to step 1
Wait one second to avoid going over the API rate limit. Then, go back to step 1 to fetch the next page.
End-to-End Examples
These are end-to-end examples in various programming languages.