x402 Python Examples

Examples for the x402 Python SDK.

Quick Start

cd clients/httpx
cp .env-local .env
# Edit .env with your EVM_PRIVATE_KEY and/or SVM_PRIVATE_KEY
uv sync
uv run python main.py

Clients

Servers

Facilitator

Legacy SDK

  • legacy/ - V1 SDK examples (for backward compatibility)

Learn More