For AI agents: a documentation index is available at the root level at /llms.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Reminder: version 1.0 of the API will be sunset on April 11, 2025. Please migrate to Version 2.0 before this date to avoid service disruptions. For more information, see the Migration Guide.
New Liquidity Sources
Swaap v2 Integration: Initial MVP integration of Swaap v2.
Improved pricing for Virtuals Protocol (VIRTUAL) tokens.
New Chains
Worldchain: Added support for the Worldchain network for Swap API.
Chores
Improved routing for small trades in high gas environments
Bug Fixes
Fixed a bug related to gasless fee calculation.
Documentation & Demos
0x Gasless Trading Bot: This demo showcases a TypeScript-based CLI trading bot that automates ERC20 token trades using the 0x Gasless API on the Base network. The bot is executes gasless trades with Stop Loss and Take Profit strategies. View the code
Use Swap API in Your Smart Contract with Foundry: A toy example of the SimpleTokenSwap contract for ERC20 token swaps using the 0x Swap API v2. The example is built and tested using Foundry. View the code