Fingerprinting API (1.0.1)

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.

Authentication

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.

Filtering Data

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" }
      ]
    }
  ]
}
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://doc.fingerprinting-api.com/_mock/apis/
https://api.fingerprinting-api.com/

Marketing API

Operations

Security API

Operations

User API

Operations

Extensions Overview

Request

Query
start_datestring(Start Date)
Default "1970-01-01"
end_datestring(End Date)
Default "2024-11-28"
Bodyapplication/json
filter_groupsArray of objects(Filter Groups)
Default []
paginationobject(Pagination)
Default {"current_page":1,"limit":100}
sort_paramsobject(Sort Params)
Default {"key":"total_visits","value":-1}
curl -i -X POST \
  'https://doc.fingerprinting-api.com/_mock/apis/user-agent/extensions?end_date=2024-11-28&start_date=1970-01-01' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '{
    "filter_groups": [],
    "pagination": {
      "current_page": 1,
      "limit": 100
    },
    "sort_params": {
      "key": "total_visits",
      "value": -1
    }
  }'

Responses

Successful Response

Bodyapplication/jsonArray [
average_durationnumber(Average Duration)
namestring(Name)
total_visitsinteger(Total Visits)
unique_visitorsinteger(Unique Visitors)
]
Response
application/json
[ { "average_duration": 0, "name": "string", "total_visits": 0, "unique_visitors": 0 } ]

Os Overview

Request

Query
start_datestring(Start Date)
Default "1970-01-01"
end_datestring(End Date)
Default "2024-11-28"
Bodyapplication/json
filter_groupsArray of objects(Filter Groups)
Default []
paginationobject(Pagination)
Default {"current_page":1,"limit":100}
sort_paramsobject(Sort Params)
Default {"key":"total_visits","value":-1}
curl -i -X POST \
  'https://doc.fingerprinting-api.com/_mock/apis/user-agent/os?end_date=2024-11-28&start_date=1970-01-01' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '{
    "filter_groups": [],
    "pagination": {
      "current_page": 1,
      "limit": 100
    },
    "sort_params": {
      "key": "total_visits",
      "value": -1
    }
  }'

Responses

Successful Response

Bodyapplication/jsonArray [
average_durationnumber(Average Duration)
namestring(Name)
total_visitsinteger(Total Visits)
unique_visitorsinteger(Unique Visitors)
]
Response
application/json
[ { "average_duration": 0, "name": "string", "total_visits": 0, "unique_visitors": 0 } ]

Visitors Overview

Request

Query
start_datestring(Start Date)
Default "1970-01-01"
end_datestring(End Date)
Default "2024-11-28"
Bodyapplication/json
filter_groupsArray of objects(Filter Groups)
Default []
paginationobject(Pagination)
Default {"current_page":1,"limit":100}
sort_paramsobject(Sort Params)
Default {"key":"created","value":-1}
curl -i -X POST \
  'https://doc.fingerprinting-api.com/_mock/apis/visitors?end_date=2024-11-28&start_date=1970-01-01' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '{
    "filter_groups": [],
    "pagination": {
      "current_page": 1,
      "limit": 100
    },
    "sort_params": {
      "key": "created",
      "value": -1
    }
  }'

Responses

Successful Response

Bodyapplication/jsonArray [
companyobject(VisitorsCompanyModel)
first_seenstring(First Seen)required
idstring(Id)required
last_seenstring(Last Seen)required
]
Response
application/json
[ { "company": {}, "first_seen": "string", "id": "string", "last_seen": "string" } ]

Get Visitor Visits

Request

Path
visitor_idstring(Visitor Id)required
Query
start_datestring(Start Date)
Default "1970-01-01"
end_datestring(End Date)
Default "2024-11-28"
Bodyapplication/json
filter_groupsArray of objects(Filter Groups)
Default []
paginationobject(Pagination)
Default {"current_page":1,"limit":100}
sort_paramsobject(Sort Params)
Default {"key":"created","value":-1}
curl -i -X POST \
  'https://doc.fingerprinting-api.com/_mock/apis/visitors/{visitor_id}/visits?end_date=2024-11-28&start_date=1970-01-01' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '{
    "filter_groups": [],
    "pagination": {
      "current_page": 1,
      "limit": 100
    },
    "sort_params": {
      "key": "created",
      "value": -1
    }
  }'

Responses

Successful Response

Bodyapplication/jsonArray [
browserobject(VisitsBrowserModel)
datestring(Date)
deviceobject(VisitsDeviceModel)
idstring(Id)
ipstring(Ip)
locationobject(VisitsLocationModel)
paramsParams (object) or Params (string)(Params)
Any of:
object(Params)
referrerstring(Referrer)
screenobject(VisitsScreenModel)
timezonestring(Timezone)
trafficSourceobject(VisitsTrafficSourceModel)
urlstring(Url)
visitor_idstring(Visitor Id)
]
Response
application/json
[ { "browser": {}, "date": "string", "device": {}, "id": "string", "ip": "string", "location": {}, "params": {}, "referrer": "string", "screen": {}, "timezone": "string", "trafficSource": {}, "url": "string", "visitor_id": "string" } ]