For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Contact SupportDiscordGo to dashboard
HomeDocsAPI ReferenceLiquidity IntegrationChangelog
HomeDocsAPI ReferenceLiquidity IntegrationChangelog
  • Introduction
    • Welcome
      • Using AI with 0x
      • Agent Skills
      • MCP
      • AI Project Showcase
    • Supported Chains and Providers
    • Demo Apps
    • FAQ
    • API Issues & Error Codes
    • Need Help?
  • Swap API
    • Introduction
    • FAQ
  • Gasless API
    • Introduction
    • Gasless FAQ
  • Cross-Chain API
    • Introduction
    • Learn More
  • Trade Analytics API
    • Introduction
    • Transaction Data
    • Trade Analytics FAQ
  • Core Concepts
    • Introduction to 0x
    • 0x Cheat Sheet
    • Contracts
    • Order Types
    • Glossary
    • White Paper
    • Transaction Data
  • Developer Resources
    • Bounties
    • Rate Limits
    • System Status
  • Upgrading
    • Overview
    • Upgrading to Swap v2
    • Upgrading to Gasless v2
  • Need Help?
    • FAQ
    • API Issues & Error Codes
    • Contact Support
    • Contact Sales
LogoLogo
Contact SupportDiscordGo to dashboard
On this page
  • Get started
  • Available Options
  • Install Agent Skills
  • Connect via MCP
  • Copy Page
  • View as Markdown
  • Ask AI
  • Open in ChatGPT
  • Open in Claude
IntroductionDevelop with AI

Using AI with 0x

||View as Markdown|
Was this page helpful?
Edit this page
Previous

Get Started with Swap API

Next

0x Agent Skills

Built with

0x Docs includes built-in AI integrations, 0x skills, and an official MCP server so you can work with up-to-date documentation directly inside your AI tools and editor.

See the options available from the page actions menu on any documentation page.

context menu in docs

Get started

Connect to the 0x MCP Server

Connect AI tools to 0x documentation for an enhanced development experience.

Install 0x Agent Skills

Give your AI coding agent instant knowledge of the 0x Swap & Gasless API — swap flows, auth, error handling, and more with a single command.

Use an LLM

Use 0x docs directly in your AI workflow with context-menu copy options, direct AI tool integrations, and one-click IDE setup.

AI Projects with 0x

Explore consumer and developer tools using AI and 0x in production.

Available Options

Below is a list of all available options, what they do, and when to use them.

Install Agent Skills

Give your AI coding agent built-in knowledge of the 0x API — no manual prompting or copy-pasting docs required.

$npx skills add 0xProject/0x-ai

Once installed, your agent understands the full 0x Swap API surface: swap flows, gasless transactions, authentication, error handling, and chain-specific details. Works with Claude Code, Cursor, GitHub Copilot, and other agents that support the Agent Skills specification.

→ See the full setup guide: 0x Agent Skills

Agent Skills are the recommended starting point if you’re actively building a swap integration in your editor.


Connect via MCP

For the best AI development experience, connect your editor or AI assistant to the 0x MCP Server.

MCP gives AI tools live, searchable access to 0x documentation — no copy-pasting required.

→ Follow the full setup guide: Connect to the 0x MCP Server

If you’re building in an IDE or working on a multi-step integration, MCP is the recommended approach.


Copy Page

Copies the page in a format optimized for AI tools.

  • Preserves structure and code blocks
  • Removes UI and navigation noise

When to use
Paste into any LLM to ask questions or generate code using the current page as context.

How to use
Select Copy page, then paste into your AI tool.


View as Markdown

Shows the raw Markdown source of the page.

When to use
Inspect, edit, or selectively share content before sending it to an AI tool.

How to use
Select View as Markdown, then copy what you need.


Ask AI

Ask questions about the current page directly in the docs.

When to use
Get quick explanations without leaving the documentation site.

How to use
Select Ask AI and enter your question.


Open in ChatGPT

Opens the page in ChatGPT with context included.

When to use
Quick Q&A or code generation based on a single page.

How to use
Select Open in ChatGPT to continue in ChatGPT.


Open in Claude

Opens the page in Claude with full context.

When to use
Deeper analysis or longer-form reasoning about the page.

How to use
Select Open in Claude to continue in Claude.