RealEye API Documentation
API Overview
RealEye provides an API accessed via HTTP protocol secured by TSLv2 (HTTPS).
- API Base URL: https://app.swaggerhub.com/apis-docs/realeyeio/platform/2.6.0
- API Authentication >
- API Version: 2.3.0
- API Release Date: 2022-09-22
- API Change Log >
Note:
This API follows
Semantic Versioning guidelines.
Document last update: 2022-09-22.
HINT
If you are new to the eye-tracking you might find it useful to read our Eye-tracking Glossary.
RealEye API provides:
Example:
curl --header "X-AUTH-TOKEN: 7615d9a9-cda5-496b-b20b-b3ce8e38c87d" https://www.realeye.io/api2/studies-all/drop-rate
Study Data
Study Flow
Study Flow defines exactly how the whole test is performed.
E.g. what items (stimulis) are being shown, for how long, and any survey questions.
GET /studies/{studyId}/flow
Query Parameters:
- string studyId UUID
Response:
Content-type: application/json
Data Export API
RealEye provides an API to export data programmatically using an HTTP request.
It is also possible do download the data manually by using RealEye Dashboard.
See the Data export: CSV files on our Support page to learn more.
Eye-tracking Data Export
Common Query Parameters
General:
- string studyId UUID of a Study from which the data should be exported.
- int participantQualityGradeItemMin (optional, default 1) From 1 (Very Low) to 6 (Perfect).
E.g., if 3 given, then only items with that has quality of at least 3 will be included.
Read more about Filtering by Quality >
Read more about Participant Quality Stats >
Fixation Filter Settings:
- int movingMedianRangeMs (optional, default 200 ms) From 20 to 1000 ms.
- float gazeVelocityThreshold (optional, default 150) From 1 to 400.
- int minFixationDurationMs (optional, default 80) From 60 to maxFixationDurationMs ms.
- int maxFixationDurationMs (optional, default 400) From minFixationDurationMs to 1000 ms.
- int saccadeMaxDurationMs (optional, default 150) From 20 to 300.
Read more about Fixation Filter >
Gazes Data Export
Gazes - Raw
GET /studies/{studyId}/collected-data/eye-tracking/gazes/raw
Query Parameters:
- string studyId UUID
- int movingMedianRangeMs (optional, default 200 ms) From 20 to 1000 ms.
- int participantQualityGradeItemMin (optional, default 1) From 1 to 6.
Response:
Content-type: text/csv
See Raw Gazes CSV Description >
Gazes - Normalized
GET /studies/{studyId}/collected-data/eye-tracking/gazes/raw
Query Parameters:
- string studyId UUID
- int movingMedianRangeMs (optional, default 200 ms) From 20 to 1000 ms.
- int participantQualityGradeItemMin (optional, default 1) From 1 to 6.
Response:
Content-type: text/csv
See Raw Gazes CSV Description >
Gazes - Raw Denoised Normalized and Split
GET /studies/{studyId}/collected-data/eye-tracking/gazes/raw-denoises-normalized-split
- string studyId UUID
- int movingMedianRangeMs (optional, default 200 ms) From 20 to 1000 ms.
- int participantQualityGradeItemMin (optional, default 1) From 1 to 6.
Response:
Content-type: text/csv
See Raw Gazes Denoised Normalized and Split CSV Description >
Fixations Data Export
GET /studies/{studyId}/collected-data/eye-tracking/fixations
Query Parameters:
- string studyId UUID
- string itemId (optional, default NULL) NULL means all study items will be included.
- int movingMedianRangeMs (optional, default 200 ms) From 20 to 1000 ms.
- float gazeVelocityThreshold (optional, default 150) From 1 to 400.
- int minFixationDurationMs (optional, default 80) From 60 to maxFixationDurationMs ms.
- int maxFixationDurationMs (optional, default 400) From minFixationDurationMs to 1000 ms.
- int saccadeMaxDurationMs (optional, default 150) From 20 to 300.
Response:
Content-type: text/csv
See Fixations CSV Description >
AOI Data Export
AOI - Overall Stats
GET /studies/{studyId}/collected-data/eye-tracking/aois-all/overall-stats
Query Parameters:
- string studyId UUID.
- string itemId (optional, default NULL) UUID. NULL means all study items will be included.
- int movingMedianRangeMs (optional, default 200 ms) From 20 to 1000 ms.
- float gazeVelocityThreshold (optional, default 150) From 1 to 400.
- int minFixationDurationMs (optional, default 80) From 60 to maxFixationDurationMs ms.
- int maxFixationDurationMs (optional, default 400) From minFixationDurationMs to 1000 ms.
- int saccadeMaxDurationMs (optional, default 150) From 20 to 300.
- int participantQualityGradeItemMin (optional, default 1) From 1 to 6.
Response:
Content-type: text/csv
See AOI Overall Stats CSV Description >
AOI - Fixations - Stats per Participant
GET /studies/{studyId}/collected-data/eye-tracking/aois-all/fixations-stats
Query Parameters:
- string studyId UUID.
- string itemId (optional, default NULL) UUID. NULL means all study items will be included.
- int movingMedianRangeMs (optional, default 200 ms) From 20 to 1000 ms.
- float gazeVelocityThreshold (optional, default 150) From 1 to 400.
- int minFixationDurationMs (optional, default 80) From 60 to maxFixationDurationMs ms.
- int maxFixationDurationMs (optional, default 400) From minFixationDurationMs to 1000 ms.
- int saccadeMaxDurationMs (optional, default 150) From 20 to 300.
Response:
Content-type: text/csv
See AOI Fixations Stats per Participant CSV Description >
AOI - Fixations - Order
GET /studies/{studyId}/collected-data/eye-tracking/aois-all/fixations-order
Query Parameters:
- string studyId UUID.
- string itemId (optional, default NULL) UUID. NULL means all study items will be included.
- int movingMedianRangeMs (optional, default 200 ms) From 20 to 1000 ms.
- float gazeVelocityThreshold (optional, default 150) From 1 to 400.
- int minFixationDurationMs (optional, default 80) From 60 to maxFixationDurationMs ms.
- int maxFixationDurationMs (optional, default 400) From minFixationDurationMs to 1000 ms.
- int saccadeMaxDurationMs (optional, default 150) From 20 to 300.
Response:
Content-type: text/csv
See AOI Fixations Order CSV Description >
AOI - Clicks - Stats per Participant
GET /studies/{studyId}/collected-data/eye-tracking/aois-all/clicks-stats
Query Parameters:
- string studyId UUID.
- string itemId (optional, default NULL) UUID. NULL means all study items will be included.
- int movingMedianRangeMs (optional, default 200 ms) From 20 to 1000 ms.
- float gazeVelocityThreshold (optional, default 150) From 1 to 400.
- int minFixationDurationMs (optional, default 80) From 60 to maxFixationDurationMs ms.
- int maxFixationDurationMs (optional, default 400) From minFixationDurationMs to 1000 ms.
- int saccadeMaxDurationMs (optional, default 150) From 20 to 300.
Response:
Content-type: text/csv
See AOI Click Stats CSV Description >
Keyboard And Mouse Data Export
Mouse Position and Clicks
GET /studies/{studyId}/collected-data/eye-tracking/gazes/raw
Query Parameters:
- string studyId UUID.
- int movingMedianRangeMs (optional, default 200 ms) From 20 to 1000 ms.
- int participantQualityGradeItemMin (optional, default 1) From 1 to 6.
Response:
Content-type: text/csv
See Mouse Position and Clicks CSV Description >
Keyboard and Mouse Overall Stats - Per Participant
GET /studies/{studyId}/collected-data/keyboard-and-mouse/overall-per-participant
Query Parameters:
- string studyId UUID.
- string itemId (optional, default NULL) UUID
Response:
Content-type: text/csv

