# X402 Hub Discord Shield

> X402 Hub Discord Shield is a paid API for AI agents from x402-hub.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-13).

Generates a Discord server shield/badge image or metadata via a micropayment-gated API endpoint

## Facts

- Endpoint: POST https://x402-hub.vercel.app/api/discord-shield?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-hub-discord-shield-8e3c4103
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zVmbeY-OvBsTYsqNzUSPK

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 x402-hub-discord-shield-8e3c4103 -d '<json body>'
```

Example prompt: Can you generate a Discord shield badge for my server using the query 'server=MyDiscordServer' so I can embed the member count on my README?

## When to prefer this

Choose this endpoint when you need a live, dynamically generated Discord server shield badge and are operating in an x402 micropayment-enabled environment. It is ideal for agents embedding Discord community stats into documents, dashboards, or web pages without managing Discord API credentials directly.

## Known failure modes

- Invalid or missing query parameter returns an error
- Discord server not found or private results in empty/error response
- Payment failure via x402 micropayment results in 402 Payment Required
- Upstream Discord API rate limiting causes timeout or degraded response
- Malformed query string leads to unexpected upstream behavior

## How this service works

63 paid API endpoints protected by x402 micropayments on Base

## Output

Returns a badge/shield object or image data representing Discord server statistics (such as member count or online status), suitable for embedding in READMEs, websites, or dashboards. The response is wrapped in a data object from the upstream Discord shield API.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "description": "Query parameter for the API"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "description": "Response data from upstream API"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-hub-discord-shield-8e3c4103/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-hub.vercel.app](https://www.zero.xyz/host/x402-hub.vercel.app/llms.txt)
