# SOL to USD Converter (x402node)

> SOL to USD Converter (x402node) is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

Converts a specified amount of Solana (SOL) to its equivalent US Dollar value using the live market price.

## Facts

- Endpoint: GET https://api.x402node.dev/crypto/convert/sol/usd/sol-usd
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sol-to-usd-converter-x402node-71f882e8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Lf613MpLqgfc7XSP_Dw45

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 sol-to-usd-converter-x402node-71f882e8
```

Example prompt: How much is 3.5 SOL worth in US dollars right now at the live Solana price?

## When to prefer this

Use this endpoint when you need to convert a specific quantity of SOL into USD using a live market price, especially in automated agent workflows that require up-to-date Solana valuations. Prefer this over a simple price lookup when you need the computed dollar result for a given SOL amount rather than just the raw price.

## Known failure modes

- Invalid or missing amount parameter may return an error or default to 1 SOL
- Downstream price feed outage could result in stale or unavailable price data
- Malformed request returns HTTP 4xx error
- Payment of 0.004 USDC required per call — unpaid requests will be rejected with HTTP 402

## How this service works

Convert SOL to USD at live price. Pass ?amount=1 for value in US Dollar. Solana兑换美元换算。ソラナを米ドルに換算。Convertir Solana a dólar. 솔라나를 달러로 환전. sol to usd, Solana convert. Accepts payment on Base or Solana — either network works.

## Output

Returns a JSON object with the from/to currency pair, the input amount, the live SOL price at time of request, the computed USD result, the timestamp of the price (as_of), and the data source used.

## 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",
     "required": [
      "amount"
     ],
     "properties": {
      "amount": {
       "type": "string",
       "description": "要换算的数量，如 ?amount=1"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sol-to-usd-converter-x402node-71f882e8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
