Opentrons Python Protocol API

The Opentrons Python Protocol API is an open-source Python framework for writing automated biology lab protocols that run on Opentrons Flex and OT-2 robots. It provides programmatic control over pipettes, labware, deck configuration, hardware modules (thermocyclers, heater-shakers, temperature modules, magnetic modules, absorbance readers), and supports dynamic decision-making and custom integrations. Protocols are executed by the robot server and can be controlled via the HTTP API or Opentrons App.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/opentrons-python-protocol-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

API entry from apis.yml

apis.yml Raw ↑
name: Opentrons Python Protocol API
description: The Opentrons Python Protocol API is an open-source Python framework for writing automated
  biology lab protocols that run on Opentrons Flex and OT-2 robots. It provides programmatic control over
  pipettes, labware, deck configuration, hardware modules (thermocyclers, heater-shakers, temperature
  modules, magnetic modules, absorbance readers), and supports dynamic decision-making and custom integrations.
  Protocols are executed by the robot server and can be controlled via the HTTP API or Opentrons App.
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
humanURL: https://docs.opentrons.com/v2/
baseURL: https://docs.opentrons.com
tags:
- Python
- Protocol
- Liquid Handling
- Lab Automation
- Hardware Modules
- Open-Source
tags_raw:
- Python
- Protocol
- Liquid Handling
- Lab Automation
- Hardware Modules
- Open Source
properties:
- type: Documentation
  url: https://docs.opentrons.com/v2/
- type: GettingStarted
  url: https://docs.opentrons.com/v2/new_quickstart.html
- type: APIReference
  url: https://docs.opentrons.com/v2/new_protocol_api.html
- type: ProtocolExamples
  url: https://docs.opentrons.com/v2/new_examples.html
- type: GitHubRepository
  url: https://github.com/Opentrons/opentrons
- type: PyPI
  url: https://pypi.org/project/opentrons/
contact:
- FN: Opentrons Support
  url: https://support.opentrons.com/
  email: support@opentrons.com