INSTAGRAM EDITS SDK · PYTHON
From a Reel
to a clearer picture.
Bring Reel statistics, audience insights and retention curves into your own tools. A small Python SDK, with the research behind every method.
Unofficial · Python 3.10+ · No runtime dependencies
A REEL, IN A FEW LINES PYTHON
from edits_api import EditsClient
client = EditsClient.from_env()
reel = client.reel_insights(reel_url)
print(reel.metrics["play_count"])
if reel.retention_available:
for point in reel.retention:
print(point.index, point.percent)
9read operations exercised live
15documented operation contracts
45tests passed for the PyPI wheel
Start with the question you have¶
01 / CONNECT
Get your first statistics
Install the package, provide your session, and read an owned Reel.
Quickstart → 02 / UNDERSTANDFind where viewers leave
Get the numerical curve, preserve gaps, and export the result.
Retention guide → 03 / EXPLOREGo beyond retention
Views, engagement, account trends, audience data and paginated Reels.
Data reference →Evidence is part of the API¶
Seven of the nine tested read operations returned data. Comment analysis returned
null; Kits returned an empty list. The documentation keeps those results distinct
from a working, populated feature. All live checks were on one consenting account
on 18 October 2026.
Internal endpoints can change. This project is independent of Meta. A method found in an APK is not automatically a supported or available API. Every contract includes its evidence level.
See what was verified · Browse the operation catalog · Open Swagger