# Atrium x402 Gateway

> Atrium x402 Gateway is a paid API for AI agents from relayer.atriumhermes.tech, paid per call via x402, $0.0001/call, status unknown (last checked 2026-09-13).

Fetches a DID-signed, IPFS-hosted onchain skill body from the Atrium marketplace by paying its exact USDC price via x402 HTTP payment protocol

## Facts

- Endpoint: GET https://relayer.atriumhermes.tech/x402/skill/%7BskillId%7D
- Price: $0.0001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/atrium-x402-gateway-9d505028
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hjNejNahqvBmQxdvDAk-6

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 atrium-x402-gateway-9d505028
```

Example prompt: Fetch me the Atrium skill with ID 0x3a1b2c4d5e6f7890abcdef1234567890abcdef1234567890abcdef1234567890 — pay whatever the onchain price is in USDC and return the skill body.

## When to prefer this

Choose this endpoint when an AI agent needs to pay for and retrieve a specific skill from the Atrium onchain marketplace using x402 micropayments without CLI or wallet setup, especially when the skill is identified by its bytes32 skillId and royalty distribution to authors is required.

## Known failure modes

- Invalid or malformed skillId (not matching ^0x[0-9a-fA-F]{64}$) returns 400 Bad Request
- Skill not found on Atrium marketplace returns 404 Not Found
- Insufficient USDC balance or failed x402 payment returns 402 Payment Required
- Relayer network or IPFS resolution failure returns 503 Service Unavailable
- Onchain price mismatch or stale quote returns payment error

## How this service works

Pay-per-call any skill on Atrium — the onchain skill marketplace for AI agents. DID-signed, IPFS-hosted, stake-attested skills. One x402 GET pays the exact onchain price in USDC and returns the skill body; royalties cascade to authors. No CLI, no wallet setup, no CDP.

## Output

The full body of the requested onchain Atrium skill — DID-signed, IPFS-hosted content with royalties automatically cascaded to authors; returned after the x402 micropayment is processed at the exact onchain USDC price.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "skillId": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{64}$",
   "description": "Atrium skill id (bytes32) — the {skillId} path segment."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/atrium-x402-gateway-9d505028/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from relayer.atriumhermes.tech](https://www.zero.xyz/host/relayer.atriumhermes.tech/llms.txt)
