# x402 APIs - Gold Price Lookup

> x402 APIs - Gold Price Lookup is a paid API for AI agents from x402-apis-eta.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns current gold prices by karat purity and currency via pay-per-request micropayment (no API key required)

## Facts

- Endpoint: GET https://x402-apis-eta.vercel.app/api/gold-price
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-apis-gold-price-lookup-529883ff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7bSs_qkRQPw1j35u9vjn1

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-apis-gold-price-lookup-529883ff
```

Example prompt: What's the current price of 24K gold in USD? Also show me 18K and 22K if you can.

## When to prefer this

Use this endpoint when an agent needs live or near-live gold commodity prices across multiple karat purities and international currencies, especially when no API key or account signup is desired — just pay $0.005 USDC per call via x402 protocol. Prefer this for quick spot-price checks in markets like UAE, India, Pakistan, Philippines, Saudi Arabia, Egypt, or standard Western currencies.

## Known failure modes

- Payment not received — returns HTTP 402 requiring x402 micropayment before serving data
- Invalid karat value — returns error if karat not in accepted set (24K, 22K, 21K, 18K, all)
- Unsupported currency — returns error if currency code not in supported list
- Data source unavailable — upstream gold price feed may be temporarily unreachable
- Network/server error — Vercel deployment may return 500 on transient failures

## How this service works

AI-agent-friendly APIs with instant micropayments via x402 protocol. No API keys, no accounts - just pay and access.

## Output

Returns the current gold price(s) for the requested karat purity (or all karats) denominated in the specified currency, reflecting live or near-live market rates.

## Example request

```json
{
 "karat": "24K",
 "currency": "USD"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "karat": {
   "type": "string",
   "description": "Karat: 24K, 22K, 21K, 18K, or all"
  },
  "currency": {
   "type": "string",
   "description": "Currency: USD, AED, EUR, GBP, INR, SAR, PKR, PHP, BDT, EGP"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-apis-gold-price-lookup-529883ff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-apis-eta.vercel.app](https://www.zero.xyz/host/x402-apis-eta.vercel.app/llms.txt)
