Skip to main content
POST
Search leaked credentials
Required API key permission: Read Tenant
This endpoint is subject to quotas and is subject to the Search ratelimiting tier. See Rate Limits and Quotas .
Flare supports searching in credentials via two endpoints:
Returns a list of credentials matching the query provided.

Paging

This endpoint supports the Flare standard paging pattern .

Body Parameters

number
Maximum size of the JSON object that will be returned (maximum 10 000)
string
The next value from the last response.
string
default:"desc"
The order in which the results will be returned. (asc or desc)
string[]
Additional fields to return. Available options:
  • known_password_id: ID of the credential’s password.
  • auth_domains: for each credential, up to 100 hosts (domain only, e.g. login.example.com) where the credential was seen being used.
object
One of the supported queries.
This query will match all credentials that contain the specified domain in the email address.
object

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
query
DomainQuery · object
required

What to search for; type selects the kind of criterion.

filters
CredentialsQueryFilters · object

Optional filters narrowing the results.

from
string | null

Pagination cursor: pass the next value of the previous response to get the following page, omit it for the first page.

size
integer
default:10

Maximum number of items to return.

Required range: 1 <= x <= 10000
include
enum<string>[]

Optional data to add to each returned credential.

Available options:
known_password_id,
auth_domains,
urls
order
enum<string>
default:desc

Sort direction of the results.

Available options:
asc,
desc

Response

Successful Response

items
Credential · object[]
required

Results of the current page.

next
string | null
required

Cursor to send in the next request to continue after this page, or null when no further page is available.