# Web3 Tools – Solana Address Validator

> Web3 Tools – Solana Address Validator is a paid API for AI agents from web3-tools.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Validates a Solana public key: checks base58 encoding, byte length (32 bytes), and whether it lies on the ed25519 curve (wallet address) or off it (program-derived address).

## Facts

- Endpoint: GET https://web3-tools.x402tookit.com/solana-address?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/web3-tools-solana-address-validator-73d9fa39
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G1n6aZL7zI5WlexpjQqqz

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 web3-tools-solana-address-validator-73d9fa39
```

Example prompt: Can you check whether 9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin is a valid Solana address, and tell me if it's a wallet or a program-derived address?

## When to prefer this

Use this endpoint when you need to programmatically verify a Solana public key before using it in a transaction, smart contract call, or user-facing display. It is specifically tuned for Solana (base58, 32-byte, ed25519) and distinguishes wallet addresses from program-derived addresses — something generic address validators or EVM-focused tools do not do.

## Known failure modes

- Address parameter missing — returns error or 400
- Address contains invalid base58 characters — verdict invalid with reasons
- Address decodes to wrong byte length (not 32) — verdict invalid
- Network or service unavailable — degraded flag may be set
- Payment not made — 402 response before result is returned

## How this service works

Validate a Solana address: base58, 32 bytes, and whether it is on the ed25519 curve (wallet) or off it (program-derived).

## Output

Returns a JSON object with a verdict (valid/invalid), whether the address is on the ed25519 curve (wallet) or off it (PDA), the byte count, hex encoding, input echo, a human-readable summary, an array of validation reasons, any known account name, a degraded flag, and a disclaimer. Failures or invalid addresses include an array of reasons explaining what check failed.

## 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": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "A Solana public key in base58 (32 to 44 characters)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "hex": {
       "type": [
        "null",
        "string"
       ]
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "bytes": {
       "type": [
        "null",
        "number"
       ]
      },
      "input": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "onCurve": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "knownAccount": {
       "type": [
        "null",
        "string"
       ]
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web3-tools-solana-address-validator-73d9fa39/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from web3-tools.x402tookit.com](https://www.zero.xyz/host/web3-tools.x402tookit.com/llms.txt)
