$npx skillfedfor your agent

AlexaPy

Python API to control Amazon Echo Devices Programmatically.

With conditionsPyPI InternetReleased Jul 2026672.7K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — alexapy-1.30.0-py3-none-any.whl
v1.30.0 · released 2026-07-22 · Python <4,>=3.11 · 12 runtime deps: aiofiles, aiohttp, authcaptureproxy, backoff, beautifulsoup4, certifi, cryptography, httpx

Yes, if you need programmatic Alexa control and accept the risk that undocumented API endpoints may break. Active maintenance, low install friction, and permissive licensing make it suitable for Home Assistant integrations and home automation projects. Not recommended for production systems requiring guaranteed stability.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires valid Amazon account credentials and an active Alexa device; no official API means authentication method may change without notice.
  • Low install friction with a pure-wheel distribution.
  • Active maintenance as of 23 days ago.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.

last release 2026-07-22 (23 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 672,721 downloads/mo, #5,400 on PyPI

Verify before relying

pip install alexapy

import asyncio
from alexapy import AlexaAPI

async def main():
    alexa = AlexaAPI()
    # Requires Amazon credentials and device setup
    await alexa.login()

asyncio.run(main())
  • Stability and reliability given that Alexa has no official API and the library may break without warning
  • Current feature completeness and which Alexa device types are fully supported
  • Whether authcaptureproxy dependency is a custom or third-party package and its maintenance status
Same gist for agents: .md · .json

What it is and what it does

alexapy is a Python library for controlling Amazon Echo and Alexa devices programmatically without an official Amazon API. It was originally built to power the alexa_media_player custom component for Home Assistant, allowing developers to automate Echo devices, query their state, and integrate them into broader home automation workflows.

The library handles authentication, device discovery, and command execution through reverse-engineered Alexa endpoints. It uses aiohttp for async HTTP communication, cryptography for secure operations, and beautifulsoup4 for parsing responses. Because it relies on undocumented endpoints rather than an official API, functionality may break when Amazon changes their service—this is a known and documented limitation.

Use it for

  • Automate Echo device control in Home Assistant or other home automation platforms
  • Build scripts to query Alexa device state and trigger actions programmatically
  • Integrate Alexa devices into custom Python applications that need device discovery and control
  • Create voice-triggered workflows that respond to Alexa commands via this library

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need programmatic Alexa control and accept the risk that undocumented API endpoints may break.

Active maintenance, low install friction, and permissive licensing make it suitable for Home Assistant integrations and home automation projects. Not recommended for production systems requiring guaranteed stability.

Install

alexapy on PyPI

Before you install

Low install friction with a pure-wheel distribution. Active maintenance as of 23 days ago. Depends on 12 runtime packages including aiohttp, requests, and cryptography for async and secure communication.

Requires valid Amazon account credentials and an active Alexa device; no official API means authentication method may change without notice.

License in practice

Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.

Quickstart

pip install alexapy

import asyncio
from alexapy import AlexaAPI

async def main():
    alexa = AlexaAPI()
    # Requires Amazon credentials and device setup
    await alexa.login()

asyncio.run(main())

Verify before relying

  • Stability and reliability given that Alexa has no official API and the library may break without warning
  • Current feature completeness and which Alexa device types are fully supported
  • Whether authcaptureproxy dependency is a custom or third-party package and its maintenance status

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release <4,>=3.11
Install frictionLow. Pure-Python wheel
Runtime dependencies
12 packages
aiofilesaiohttpauthcaptureproxybackoffbeautifulsoup4certificryptographyhttpxpyotprequestssimplejsonyarl
MaintenanceActively maintained 23 days since the last release
First released
Downloads672,721 / month, #5,400 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: alexapy-1.30.0-py3-none-any.whl

Tags

Capabilities
alexa device control pythonecho automation libraryamazon alexa api pythonhome assistant alexa integrationprogrammatic echo control
Topics
home-automationalexa-controlreverse-engineered-api
PyPI keywords
amazonalexahomeassistant

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “echo automation library”

  • AlexaPyalexapy provides programmatic control of Amazon Echo and Alexa…
  • aioamazondevicesAsync Python library for controlling and querying Amazon Alexa…
  • multipingMultiPing sends ICMP echo requests (pings) to one or many IP…

Give your agent the search over MCP, or paste the wish link into any chat.

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.

Install it if you need programmatic access to AWS services.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.

Install it if you need to call AWS services from async Python code; it is the standard way to do so.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also aioamazondevices · plugwise · aiomusiccast · teslajsonpy · zigpy-xbee · zigpy-znp · aiohomekit · switchbot-api · aioslimproto · pyhiveapi