# AgentKit x402 ETH Price

> AgentKit x402 ETH Price is a paid API for AI agents from agentkit-x402-buy.netlify.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-16).

Returns the current ETH/USD price with 24-hour change percentage via a pay-per-call x402 micropayment on Base

## Facts

- Endpoint: GET https://agentkit-x402-buy.netlify.app/api/eth-price
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentkit-x402-eth-price-c3a2a6cc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MJp3tegU7vKfPVhxMuL_l

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 agentkit-x402-eth-price-c3a2a6cc
```

Example prompt: What is the current ETH price in USD and how has it changed over the last 24 hours? Pay the $0.001 USDC fee via x402 on Base to get the live data.

## When to prefer this

Choose this endpoint when you need real-time ETH/USD price data with 24-hour change in a no-API-key, pay-per-call model using USDC on Base via the x402 protocol. Ideal for AI agents that need lightweight, on-demand crypto price lookups without managing API credentials, especially when operating in a Coinbase AgentKit or Base ecosystem context.

## Known failure modes

- Payment not received — x402 payment challenge returned if USDC micropayment on Base is not completed
- Invalid query parameter format — malformed format param may result in unexpected response
- Network congestion — delayed response if Base network is congested during payment verification
- Stale data — price may be slightly delayed depending on upstream data source refresh rate

## How this service works

ETH/USD spot via AgentKit x402 — $0.001 USDC

## Output

A JSON object containing the seller wallet address, current ETH/USD price as a number, the Base network identifier (eip155:8453), and the 24-hour percentage price change. Example: {seller: '0xEb76...', eth_usd: 3500, network: 'eip155:8453', change_24h: 1.2}

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "format": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "seller": "0xEb76f3442EAF192EBdDbc1F7EeBD59CdE5e00D35",
  "eth_usd": 3500,
  "network": "eip155:8453",
  "change_24h": 1.2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentkit-x402-eth-price-c3a2a6cc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentkit-x402-buy.netlify.app](https://www.zero.xyz/host/agentkit-x402-buy.netlify.app/llms.txt)
