# 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-09).

Proxies POST requests to the Discord HTTP API through a pay-per-call x402 gateway, enabling paid programmatic access to Discord endpoints.

## Facts

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

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-5222c885 -d '<json body>'
```

Example prompt: Send a message to Discord channel 1234567890 in guild 9876543210 saying 'Deployment complete!' using the Discord HTTP API gateway.

## When to prefer this

Use this endpoint when you need to make Discord HTTP API calls in an agent workflow that uses x402 micropayment rails, particularly when you don't want to manage your own Discord API infrastructure or when billing per-call via USDC is preferred over a subscription.

## Known failure modes

- Invalid Discord API path returns 404 or Discord error
- Missing or invalid Discord authorization token causes 401 from Discord
- Payment failure via x402 protocol blocks the request
- Malformed request body causes Discord to return 400 Bad Request
- Rate limiting by Discord API results in 429 Too Many Requests
- Unsupported Discord endpoint path returns an error

## How this service works

API Gateway: Discord HTTP API

## Output

The raw Discord REST API JSON response for the proxied request, such as a message object, channel object, or confirmation payload depending on the Discord endpoint called.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-5222c885/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)
