# What is xPay?

xPay lets you turn any existing HTTP endpoint into a paid microservice with no code changes. It wraps your API with a trust-minimized x402 paywall on Solana (USDC by default), gives you a shareable proxy URL, and auto-publishes your endpoint as an MCP tool discoverable by AI agents.

#### Why it matters

* Own your distribution with cryptographic, per-request payments
* Instant settlement to your wallet, near-zero fees, no custody risk
* AI-native: your endpoints become MCP tools agents can call directly
* No-code onboarding: point to an existing URL, set price/token, share the new link

#### What you can do

* Wrap any HTTP endpoint in a paid proxy: `https://api.usexpay.xyz/:username/:endpointName`
* Price per call in USDC or any SPL token (via mint address)
* List in a marketplace with ratings and examples
* Expose an MCP server for agents: `https://api.usexpay.xyz/mcp/:username`
* Use wallet-sign-in → JWT to manage your creator dashboard

See also:

* Creators Guide (how to register and monetize endpoints)
* API Reference (backend routes summary)
* MCP (how your endpoints become AI-native tools)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.usexpay.xyz/xpay-overview/what-is-xpay.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
