Consort XPR

Tobii Pro Glasses 3 API

A free application programming interface for the creation of solutions that work with Tobii Pro Glasses 3. Access data streamed live from the glasses as well as stored data for post-recording analytics. This API is platform and language independent.

Toolkit for the development of wearable analysis applications

The Tobii Pro Glasses 3 API allows developers to build customized solutions and integrations to use with Tobii Pro Glasses 3 in order to fit different use cases. The API is built to be easy to consume by utilizing standard protocols and comes with an intuitive web interface and developer’s guide.

This API is platform and language independent and only supports Tobii Pro Glasses 3.

Focus on your application

The Tobii Pro Glasses 3 API is designed to be easy to work with. It offers solutions based on standard protocols for both live control and post-session applications. The comprehensive built-in interactive documentation describes how to control live actions as well as the internal file formats, in order to read the recorded data from the glasses for post analysis applications.

HTTP REST API and WebSocket offer full access and control over the Pro Glasses 3 system in live setups. You can calibrate, start and stop recordings, and get a live data stream from the scene camera with gaze data over WebRTC and RTSP. Live feedback and user monitoring applications are two examples of solutions that are possible using the API.

Each recording is stored on the SD card in a separate folder and the recordings and files can be enumerated and accessed either through the API without removing the card from the recording unit or by moving the SD card to your computer. For easy importing, the developer’s guide includes full documentation of the files and the file structure on the SD card.

The Tobii Pro Glasses 3 API Developer Guide in PDF format and an API Guide hosted in the recording unit that includes interactive code samples.

Resources & Specifications
The Pro Glasses 3 API has two kinds of documentation for developers

Developer Guide

The Pro Glasses 3 Developer Guide is a PDF that describes the concepts in the Pro Glasses 3 API and explains the main workflows for working with the glasses. It also describes the data formats used in the API and stored on the SD card.

Example web client and API Guide

The example web client is a reference implementation in HTML/JavaScript of the main workflows (live view, replay, calibration, network configuration).

The interactive API Guide contains documentation that makes it easy to test any API operation directly in a web browser. The example web client is hosted on the Glasses 3 recording unit.

Supported platforms and programming languages

Clients to Pro Glasses 3 API can be written in any language on any platform, as long as the language and platform of choice supports HTTP (GET, POST) requests. Most modern programming languages do.

Supported Tobii Pro eye trackers

Pro Glasses 3 API only supports Pro Glasses 3.

Related Products

Unrivaled data quality, discreet design and larger scene camera, Tobii Pro Glasses 3 gives you freedom and confidence. Created for real-world research. 

Read more