Opentrons HTTP API
The Opentrons HTTP API is a RESTful JSON-based interface exposed by Opentrons robots (Flex and OT-2) on the local network at port 31950. It enables developers to upload and manage protocols, create and control runs, issue atomic liquid handling commands, and query robot health and hardware state. The API is defined by an OpenAPI specification available directly from the robot.
Documentation
Specifications
OpenAPI
http://{ROBOT_IP}:31950/openapi.json
OpenAPI
https://raw.githubusercontent.com/api-evangelist/opentrons/main/openapi/opentrons-http-api.json