# Testnet ETH Merchant – Buy Sepolia ETH

> Testnet ETH Merchant – Buy Sepolia ETH is a paid API for AI agents from merchant-production-c224.up.railway.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Purchase Sepolia testnet ETH using Base mainnet USDC at $0.05 per ETH via x402 micropayment protocol

## Facts

- Endpoint: GET https://merchant-production-c224.up.railway.app/v1/buy/sepolia
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/testnet-eth-merchant-buy-sepolia-eth-6fbf7058
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ydwj_58BSs124yIBpbeMI

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 testnet-eth-merchant-buy-sepolia-eth-6fbf7058
```

Example prompt: Can you buy me 10 Sepolia testnet ETH using my Base USDC and send it to my wallet at 0xAbCd1234abcd1234abcd1234abcd1234AbCd1234?

## When to prefer this

Use this endpoint when an AI agent or developer needs Sepolia testnet ETH funded via a programmable, on-chain micropayment (x402 / Base USDC) rather than using a free faucet. Ideal for automated CI/CD pipelines, agent fleets, or any workflow that needs testnet ETH on demand without manual faucet interaction. Prefer this over faucets when reliability, programmatic access, and instant payment settlement matter more than zero cost.

## Known failure modes

- Invalid recipient address format (must be 0x-prefixed 40-char hex) returns validation error
- Amount out of range (must be whole number 1-100) causes rejection
- Insufficient USDC balance or failed x402 payment results in order not created
- Testnet ETH supply temporarily unavailable may delay or fail fulfillment
- Network/Railway service downtime returns HTTP 5xx

## How this service works

Buy Sepolia ETH with Base or Solana USDC at $0.05 per testnet ETH

## Output

Returns a JSON object with a status field (e.g. 'payment_pending'), a UUID orderId, and a statusUrl path where the agent can poll for fulfillment and confirmation that Sepolia ETH was delivered to the recipient address.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "amount": {
       "type": "string",
       "pattern": "^[1-9][0-9]*$",
       "description": "Whole-number amount of Sepolia ETH; 1-100"
      },
      "recipient": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "EVM payout address; optional for Base payments and required for Solana payments"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "payment_pending",
  "orderId": "00000000-0000-0000-0000-000000000000",
  "statusUrl": "/v1/orders/00000000-0000-0000-0000-000000000000"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/testnet-eth-merchant-buy-sepolia-eth-6fbf7058/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from merchant-production-c224.up.railway.app](https://www.zero.xyz/host/merchant-production-c224.up.railway.app/llms.txt)
