Authoritative resources for the runtime APIs, configuration knobs, and public data models.

Reference

Quick Lookup

Interface

Entry Point

Docs

Python sync

ProxyWhirl

Python API

Python async

AsyncProxyWhirl

Python API

REST API

GET/POST /api/v1/*

REST API

CLI

proxywhirl <command>

CLI Reference

MCP

proxywhirl mcp

MCP Server

Task

Where to Look

Configure rotation strategy

Configuration[rotation] section

Handle errors

Exceptions – error codes and hierarchy

Set up caching

Cache APICacheConfig, tier options

Rate limit requests

Rate Limiting API – token bucket setup

Set up authentication

REST API – API key configuration

Tune retry behavior

Retry & FailoverRetryPolicy options

Class

Module

Docs

ProxyWhirl

proxywhirl.rotator

Sync rotator

AsyncProxyWhirl

proxywhirl.rotator

Async rotator

ProxyFetcher

proxywhirl.fetchers

Fetcher

ProxyValidator

proxywhirl.fetchers

Validator

CacheManager

proxywhirl.cache

Cache API

RateLimiter

proxywhirl.rate_limiting

Rate Limiting API

SyncRateLimiter

proxywhirl.rate_limiting

Rate Limiting API

AsyncRateLimiter

proxywhirl.rate_limiting

Rate Limiting API

CircuitBreaker

proxywhirl.circuit_breaker

Retry & Failover

RetryExecutor

proxywhirl.retry

Python API

StrategyRegistry

proxywhirl.strategies

Python API

StrategyState

proxywhirl.strategies

Python API

BrowserRenderer

proxywhirl.browser

Browser

CacheHealthStatus

proxywhirl

Python API

HealthMonitor

proxywhirl.models

Python API

SourceStats

proxywhirl.models

Python API

HourlyAggregate

proxywhirl.retry

Python API

CircuitBreakerEvent

proxywhirl.retry

Python API

API Surfaces

REST API

Complete REST endpoint documentation with examples, error codes, and deployment guides.

ProxyWhirl REST API Usage Guide
Python API

Core classes, strategies, models, and utility functions.

Python API

Configuration & Error Handling

Configuration

TOML configuration reference with all options and environment variables.

Configuration Reference
Exceptions

Error handling, exception hierarchy, and error codes.

Exceptions Reference

Subsystem APIs

Cache API

Multi-tier caching system with L1/L2/L3 storage, TTL management, and health-based invalidation.

Cache API Reference
Rate Limiting API

Per-proxy and global rate limiting with token bucket algorithm.

Rate Limiting API Reference

Database & Migrations

Migrations

Alembic-based database migrations for SQLite schema management.

Database Migrations Guide

Related: Guides for usage guides | Getting Started for quickstart | Project for contributing