# Solana SPL Token On-Chain Mint Info

> Solana SPL Token On-Chain Mint Info is a paid API for AI agents from agents.x402stock.xyz, paid per call via MPP, $0.01/call, status unknown (last checked 2026-09-12).

Returns on-chain facts for a Solana SPL token mint: total supply, decimals, mint/freeze authority, initialization status, and token program type.

## Facts

- Endpoint: GET https://agents.x402stock.xyz/api/v1/solana/token/{mint}
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-09-12
- Activations on Zero: 0
- Provider: agents.x402stock.xyz
- Website: https://agents.x402stock.xyz
- Canonical page: https://www.zero.xyz/c/agents-x402stock-xyz-solana-spl-token-on-chain-mint-info-ce00c1c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mopl1IGfdTD6ljSa1oFeT

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 agents-x402stock-xyz-solana-spl-token-on-chain-mint-info-ce00c1c8
```

Example prompt: What's the total supply and mint authority for the BONK token on Solana? Pull the data straight from the on-chain ledger.

## When to prefer this

Use this endpoint when you need authoritative, real-time on-chain token supply and mint metadata directly from the Solana ledger, not from a third-party index like Jupiter. Ideal for due diligence on token minting rights, checking token standards (SPL vs Token-2022), or verifying supply figures without trusting aggregator caches.

## Known failure modes

- Invalid or malformed base58 mint address returns an error
- Unrecognized symbol that is not in the known mapping returns an error
- Token mint not found on Solana ledger returns not-found error
- Network or RPC connectivity issues may cause timeouts
- Token with very large supply may have supply_raw as a large integer string requiring careful parsing

## How this service works

On-chain facts for any Solana SPL token, read straight from the public ledger (not the Jupiter API): total supply and decimals, mint and freeze authority, initialization, and token program (SPL Token or Token-2022). Pass a base58 mint address or a known symbol (SOL, JUP, JLP, USDC, USDT, BONK, JTO, WIF). Keyless public-chain data, no account. From x402stock

## Output

A JSON object with the token's mint address, symbol (if mapped), decimals, total supply as a UI amount and as an exact raw integer string, mint authority, freeze authority (either a base58 address or null), whether the mint is initialized, the owning token program address, and the token standard ('spl-token', 'token-2022', or 'unknown'). Also includes source, venue, and an as_of timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "mint"
 ],
 "properties": {
  "mint": {
   "type": "string",
   "description": "Solana SPL token mint address (base58)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "source",
  "as_of",
  "venue",
  "data"
 ],
 "properties": {
  "data": {
   "type": "object",
   "required": [
    "mint",
    "symbol",
    "decimals",
    "supply",
    "supply_raw",
    "mint_authority",
    "freeze_authority",
    "is_initialized",
    "token_program",
    "token_standard"
   ],
   "properties": {
    "mint": {
     "type": "string",
     "description": "The SPL token mint address (base58)."
    },
    "supply": {
     "anyOf": [
      {
       "type": "number"
      },
      {
       "type": "null"
      }
     ],
     "description": "Total supply as a UI amount (raw ÷ 10^decimals)."
    },
    "symbol": {
     "anyOf": [
      {
       "type": "string"
      },
      {
       "type": "null"
      }
     ],
     "description": "Known symbol for the mint, if one is mapped; else null."
    },
    "decimals": {
     "type": "number"
    },
    "supply_raw": {
     "type": "string",
     "description": "Total supply in base units, as an exact integer string."
    },
    "token_program": {
     "type": "string",
     "description": "Owning token program address."
    },
    "is_initialized": {
     "type": "boolean"
    },
    "mint_authority": {
     "anyOf": [
      {
       "type": "string"
      },
      {
       "type": "null"
      }
     ]
    },
    "token_standard": {
     "type": "string",
     "description": "'spl-token', 'token-2022', or 'unknown'."
    },
    "freeze_authority": {
     "anyOf": [
      {
       "type": "string"
      },
      {
       "type": "null"
      }
     ]
    }
   },
   "additionalProperties": false
  },
  "as_of": {
   "type": "string"
  },
  "venue": {
   "type": "string",
   "const": "solana"
  },
  "source": {
   "type": "string",
   "const": "x402stock"
  }
 },
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agents-x402stock-xyz-solana-spl-token-on-chain-mint-info-ce00c1c8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.x402stock.xyz](https://www.zero.xyz/host/agents.x402stock.xyz/llms.txt)
