curl --request GET \
--url https://api.flare.io/leaksdb/credentials \
--header 'Authorization: Bearer <token>'[
{
"credential_hash": "889d9ba6efa420d3dff7822c9119e744",
"domain": "web.de",
"extra": {},
"hash": "password123",
"hash_type": "unknown",
"id": 1,
"identity_name": "bob@example.com",
"imported_at": "2019-06-03T14:20:25.132662+00:00",
"source": null,
"source_id": "collection-1",
"source_params": null
},
{
"credential_hash": "67033809d2befde723e2cb6893c470ef",
"domain": "arcor.de",
"extra": {},
"hash": "sunshine",
"hash_type": "unknown",
"id": 2,
"identity_name": "sarah@example.net",
"imported_at": "2019-06-03T14:20:25.132662+00:00",
"source": null,
"source_id": "collection-1",
"source_params": null
}
]
curl --request GET \
--url https://api.flare.io/leaksdb/credentials \
--header 'Authorization: Bearer <token>'[
{
"credential_hash": "889d9ba6efa420d3dff7822c9119e744",
"domain": "web.de",
"extra": {},
"hash": "password123",
"hash_type": "unknown",
"id": 1,
"identity_name": "bob@example.com",
"imported_at": "2019-06-03T14:20:25.132662+00:00",
"source": null,
"source_id": "collection-1",
"source_params": null
},
{
"credential_hash": "67033809d2befde723e2cb6893c470ef",
"domain": "arcor.de",
"extra": {},
"hash": "sunshine",
"hash_type": "unknown",
"id": 2,
"identity_name": "sarah@example.net",
"imported_at": "2019-06-03T14:20:25.132662+00:00",
"source": null,
"source_id": "collection-1",
"source_params": null
}
]
[
{
"credential_hash": "889d9ba6efa420d3dff7822c9119e744",
"domain": "web.de",
"extra": {},
"hash": "password123",
"hash_type": "unknown",
"id": 1,
"identity_name": "bob@example.com",
"imported_at": "2019-06-03T14:20:25.132662+00:00",
"source": null,
"source_id": "collection-1",
"source_params": null
},
{
"credential_hash": "67033809d2befde723e2cb6893c470ef",
"domain": "arcor.de",
"extra": {},
"hash": "sunshine",
"hash_type": "unknown",
"id": 2,
"identity_name": "sarah@example.net",
"imported_at": "2019-06-03T14:20:25.132662+00:00",
"source": null,
"source_id": "collection-1",
"source_params": null
}
]
from of the following request, you will be able to scroll through results.
When the result contains an empty list, you know that you received all results.
asc or desc.
It defaults to asc which is the recommended way to use the API to obtain newly imported passwords.Was this page helpful?