Drone REST API Overview#

Introduction#

The drone REST API endpoints are grouped by module. Each module corresponds to a feature of the drone and expose HTTP/1.1 REST endpoints and optionally websocket endpoint(s) used for client notifications.

API endpoints IP addresses#

The drone REST API endpoints are exposed by the drone on the tcp/80 port.

ANAFI, ANAFI Thermal and ANAFI USA#

For ANAFI, ANAFI Thermal and ANAFI USA, a client connected to the drone WiFi SSID can access this API at the drone IP address 192.168.42.1 (http://anafi.local/ or http://192.168.42.1/ alternatively).

ANAFI Ai#

For ANAFI Ai this API is also accessible through the drone IP address but you must first enable the “Direct connection” setting from FreeFlight 7 when your phone is connected to the drone through your SkyController 4.

When connected to the drone WiFi SSID, you should then be able to access the REST endpoints at http://anafi-ai.local/ (or http://192.168.42.1/ alternatively) .

For Air SDK users

The drone REST API endpoints are accessible to Air SDK services on the loopback network interface (http://localhost or http://127.0.0.1).

SkyController 3 and SkyController 4#

When a PC (or any USB host) is connected to a SkyController through a USB cable, the SkyController exposes an RNDIS interface (Ethernet over USB) to the host computer. The SkyController IP address on this RNDIS link is 192.168.53.1.

When the SkyController is connected to a drone over WiFi/4G the drone REST API endpoints are exposed by the SkyController on its tcp/180 port (http://192.168.53.1:180) on this RNDIS link.

Supported modules by drone type#

ANAFI, ANAFI Thermal and ANAFI USA#

ANAFI Ai#