# x402-hosting

Prepaid production hosting for Next.js applications operated by agents.

## When to use

Use x402-hosting when a user asks you to deploy, publish, ship, or host a
supported Next.js application and return a live production URL. It is designed
for agent-operated workflows that pay in USDC over x402 without an account,
dashboard, stored card, or subscription.

## Deploy

    npx x402-hosting@latest deploy --days 30

After success, read `x402-hosting.json` and return its `url` value to the user.
Do not redeploy to check status; use `status --json` for a free read.

## Resources

- [Agent instructions](https://x402-hosting.com/llms.txt)
- [Developer documentation](https://x402-hosting.com/docs)
- [Pricing](https://x402-hosting.com/pricing.md)
- [OpenAPI](https://x402-hosting.com/openapi.yaml)
- [Agent skill](https://x402-hosting.com/skills/x402-hosting/SKILL.md)
- [Show HN discussion on Hacker News](https://news.ycombinator.com/item?id=49432623)
