Documentation for fingerprinting-api.com. These APIs allow you to secure your website or application against scraping, bots, attacks and other various threats and understand your users behaviors in a cookieless world.
Documentation for fingerprinting-api.com. These APIs allow you to secure your website or application against scraping, bots, attacks and other various threats and understand your users behaviors in a cookieless world.
This API uses an API key for authentication. To interact with the API, you will need to provide your API key in the x-api-key
header of your requests. 2. Include your API key in the request headers as x-api-key: YOUR_API_KEY
.
When querying data, you can use the filter_groups
parameter to filter results based on specific attributes. The filter_groups
object consists of a list of filters defined by the FilerGroupSchema
, where each filter is composed of an object
, field
, operator
, and value
. This allows for flexible filtering across various dimensions like country, city, browser, or page.
AND and OR Filters: To apply an AND condition (e.g., filter by both A and B), include both filters in the same filters
list within a single filter group. To apply an OR condition (e.g., filter by either A or B), place each filter in separate filter_groups
. Each filter group operates independently, so results will match any group that evaluates as true.
If you want to filter data to only see visitors from a specific city using a specific browser (AND condition), your filter might look like this:
{ "filter_groups": [ { "filters": [ { "object": "city", "field": "name", "operator": "contains", "value": "New York" }, { "object": "browser", "field": "name", "operator": "is_any_of", "value": ["Chrome"] } ] } ] }
If you want to filter data for either visitors from a specific city OR visitors using a specific browser (OR condition), you would structure the filter like this:
{ "filter_groups": [ { "filters": [ { "object": "city", "field": "name", "operator": "contains", "value": "New York" } ] }, { "filters": [ { "object": "browser", "field": "name", "operator": "contains", "value": "Chrome" } ] } ] }