# AgentPay Metrics Endpoint

> AgentPay Metrics Endpoint is a paid API for AI agents from x402-agent-pay.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Retrieves platform metrics for the AgentPay x402 payment infrastructure service via authenticated payment header

## Facts

- Endpoint: POST https://x402-agent-pay.com/metrics?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentpay-metrics-endpoint-1da9f2ff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6whJJE_2EPrBVsv0YZS9V

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 agentpay-metrics-endpoint-1da9f2ff -d '<json body>'
```

Example prompt: Pull the latest metrics from AgentPay's x402 payment infrastructure — I want to see how the autonomous agent payment layer is performing.

## When to prefer this

Use this endpoint when you need operational or performance metrics specifically from the AgentPay x402 payment platform, particularly in automated or agent-driven monitoring pipelines where x402 micropayment authentication is already in use.

## Known failure modes

- Invalid or missing payment header returns 402 Payment Required
- Malformed Base64 payment header causes 400 Bad Request
- Expired or already-used payment header causes rejection
- Invalid partner_id may cause 403 or be silently ignored
- Network timeout or service unavailability returns 5xx

## How this service works

AgentPay is the x402 payment layer for autonomous AI agents, IoT devices, and businesses. Send and receive USDC payments atomically — no human required. Patent pending.

## Output

Returns platform-level metrics for the AgentPay x402 payment infrastructure, likely including payment volume, transaction counts, agent activity, or system performance statistics.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "payment_header"
 ],
 "properties": {
  "partner_id": {
   "type": "string",
   "description": "Optional partner ID"
  },
  "payment_header": {
   "type": "string",
   "description": "Base64-encoded x402 payment header"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentpay-metrics-endpoint-1da9f2ff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-pay.com](https://www.zero.xyz/host/x402-agent-pay.com/llms.txt)
