# httpay.xyz Discord HTTP API Gateway

> httpay.xyz Discord HTTP API Gateway is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-08).

Proxies HTTP requests to the Discord API through a pay-per-call x402 payment gateway

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/discord/%7B*path%7D
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-08
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-discord-http-api-gateway-df6df8f8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rJNigN-5HyholyjBlf0RH

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability httpay-xyz-discord-http-api-gateway-df6df8f8 -d '<json body>'
```

Example prompt: Send a message to Discord channel ID 123456789 saying 'Deployment to production succeeded!' using my bot token, going through the httpay Discord API gateway.

## When to prefer this

Use this endpoint when you need to call the Discord HTTP API without managing your own API key infrastructure, or when operating in an x402 micropayment context where per-call USDC billing is preferred over subscription-based access. Ideal for agents that need occasional Discord API access without setting up a full bot hosting environment.

## Known failure modes

- Invalid or expired Discord bot token returns 401 Unauthorized from Discord
- Incorrect Discord API path results in 404 Not Found
- Insufficient bot permissions return 403 Forbidden from Discord
- Payment failure (insufficient USDC balance) returns 402 Payment Required before proxying
- Malformed request body causes 400 Bad Request from Discord
- Discord API rate limiting returns 429 Too Many Requests

## How this service works

API Gateway: Discord HTTP API

## Output

Returns the raw Discord API JSON response for the proxied request — e.g. a message object with id, channel_id, content, timestamp, and author fields, or guild/channel metadata depending on the path called.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-discord-http-api-gateway-df6df8f8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
