Blender Python API

The Blender Python API (bpy) provides Python access to Blender's internal data, operators, and UI components. It enables developers to automate tasks, create addons, build custom tools, manipulate scene data, interact with the render pipeline, and extend Blender's interface. The API is embedded within Blender and does not expose HTTP endpoints; it is invoked via Blender's built-in Python interpreter or through command-line batch rendering.

API entry from apis.yml

apis.yml Raw ↑
aid: blender:blender-python-api
name: Blender Python API
description: The Blender Python API (bpy) provides Python access to Blender's internal data, operators,
  and UI components. It enables developers to automate tasks, create addons, build custom tools, manipulate
  scene data, interact with the render pipeline, and extend Blender's interface. The API is embedded within
  Blender and does not expose HTTP endpoints; it is invoked via Blender's built-in Python interpreter
  or through command-line batch rendering.
humanURL: https://docs.blender.org/api/current/
tags:
- Addons
- Automation
- Open Source
- Python
- Scripting
properties:
- type: Documentation
  url: https://docs.blender.org/api/current/
- type: GitHub
  url: https://github.com/blender/blender
- type: GettingStarted
  url: https://docs.blender.org/api/current/info_quickstart.html
- type: Tutorials
  url: https://docs.blender.org/api/current/info_tips_and_tricks.html
- type: JSONSchema
  url: json-schema/blender-addon-manifest-schema.json
- type: JSONSchema
  url: json-schema/blender-bpy-operator-schema.json
- type: JSONStructure
  url: json-structure/blender-addon-manifest-structure.json
- type: JSONStructure
  url: json-structure/blender-bpy-operator-structure.json
- type: JSONLD
  url: json-ld/blender-context.jsonld
- type: Example
  url: examples/blender-addon-manifest-example.json
- type: Example
  url: examples/blender-bpy-operator-example.json