curl-cffi
libcurl FFI bindings for Python with browser impersonation support.
Used in agent projects
25
0.2% of 12,697 public repos built with AI coding agents
Rank in http clients and networking
#27 of 29
by use in those projects
Downloads
7.4M
PyPI, last 7 days, curl-cffi
GitHub stars
6,696
last push Oct 9, 2026
How curl-cffi is used
curl-cffi is a dependency in 25 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #27 of 29 in http clients and networking. The most used alternative there is Axios. Projects that use it most often also use Requests (72.0%), Loguru (64.0%), solders (60.0%).
Often used with curl-cffi
| Requests | 72.0% of curl-cffi projects · 13.5× more than average |
|---|---|
| Loguru | 64.0% of curl-cffi projects · 75.2× more than average |
| solders | 60.0% of curl-cffi projects · 18.0× more than average |
| Pydantic | 60.0% of curl-cffi projects · 11.7× more than average |
| websockets | 56.0% of curl-cffi projects · 24.9× more than average |
| Beautiful Soup | 56.0% of curl-cffi projects · 44.4× more than average |
| aiohttp | 52.0% of curl-cffi projects · 22.4× more than average |
| PyYAML | 52.0% of curl-cffi projects · 17.1× more than average |
By coding agent
| Claude Code | 0.2% of projects set up for it |
|---|
Share of public repos configured for each agent that list curl-cffi as a dependency.
Install
| Package | pip install curl-cffi |
|---|---|
| Main stacks | Python (25) |
| Example projects | Josh-XT/AGiXT, simons-freedom/X-monitor, sweetcornna/free-search-mcp, ChipaDevTeam/AxiomTradeAPI-py, loblawbob873-svg/posterchanai |
Alternatives to curl-cffi
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Axios npm Promise-based HTTP client for browser and Node.js with interceptors. |
1,264 (10.0%) | 115M | 109K | MIT |
| Requests pypi Elegant Python HTTP library for making web requests. |
675 (5.3%) | 309M | 54.6K | Apache-2.0 |
| aiohttp pypi Async HTTP client/server framework for Python with WebSocket support. |
295 (2.3%) | 117M | 16.6K | — |
| ws npm Simple, fast WebSocket client and server for Node.js with full RFC support. |
287 (2.3%) | 283M | 22.8K | MIT |
| websockets pypi WebSocket implementation for Python with RFC 6455 and 7692 compliance. |
286 (2.3%) | 109M | 5,732 | — |
| httpx pypi Modern Python HTTP client with async support, replacing the standard requests library. |
266 (2.1%) | 16M | 15.6K | BSD-3-Clause |
| node-fetch npm Bring the Fetch API to Node.js for making HTTP requests. |
219 (1.7%) | 207M | 8,852 | MIT |
| urllib3 pypi HTTP client with thread-safe connection pooling, file uploads and advanced features. |
193 (1.5%) | 338M | 4,071 | — |