# 1gateway Solana Token Info

> 1gateway Solana Token Info is a paid API for AI agents from 1gateway.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Fetches on-chain metadata for a Solana token mint, including program type, decimals, supply, authorities, Token-2022 extensions, and known issuer.

## Facts

- Endpoint: GET https://1gateway.dev/v1/onchain/solana/token-info?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/1gateway-solana-token-info-587551fa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SSFX3OziaLP_Vfl4oDnVh

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 1gateway-solana-token-info-587551fa
```

Example prompt: Can you look up the on-chain details for the Solana mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v — I need its decimals, token program (SPL or Token-2022), total supply, and whether it has any extensions like transfer fees?

## When to prefer this

Choose this endpoint when you need a single, normalized call to get all fundamental metadata about a Solana token mint — especially when you need to handle both legacy SPL tokens and Token-2022 mints with extensions like transfer fees or permanent delegates. It is preferable over raw RPC calls because it normalizes the response, identifies known issuers from a curated registry, and does not charge for invalid mint addresses (422).

## Known failure modes

- 400 Bad Request — mint parameter is missing or not valid base58
- 422 Unprocessable Entity — address is valid base58 but is not a token mint account (not charged)
- 404 Not Found — mint address is valid but not found on-chain or in registry
- Network timeout or RPC node latency spikes causing delayed response
- Stale slot data if RPC node is behind tip

## How this service works

1gateway lets AI agents buy the data and APIs they need, one call at a time: no signup, no API key, paid per request with USDC on Base or Solana via x402. Coverage: company and compliance checks (sanctions, KYB, SEC filings, Korean companies), Korean real estate, trade and macro data, onchain and market data, and agent utilities such as document-to-Markdown. Every response names its source. Failed calls are never charged.

## Output

A JSON object containing the queried mint address, the on-chain slot at read time, the token program (spl-token or token-2022), token name and symbol, decimals, raw and decimal supply, mint authority, freeze authority, a list of Token-2022 extensions with their configuration (transfer fee basis points and maximum, permanent delegate, transfer hook program, default frozen state, on-chain metadata URI), and a known issuer field if the mint is in a curated registry. Returns 422 (not charged) if the address is not a valid mint, 404 if unknown, and 400 for malformed input.

## 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": [
      "mint"
     ],
     "properties": {
      "mint": {
       "type": "string",
       "pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$",
       "examples": [
        "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
       ],
       "description": "Token mint address on Solana mainnet (base58, 32 bytes). Bad input → 400, not a mint → 422 (not charged)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "chain",
      "cluster",
      "mint",
      "slot",
      "program",
      "name",
      "symbol",
      "nameSource",
      "decimals",
      "supply",
      "mintAuthority",
      "freezeAuthority",
      "extensions",
      "knownIssuer",
      "notes",
      "rpc"
     ],
     "properties": {
      "rpc": {
       "type": "object",
       "properties": {
        "servedBy": {
         "type": "string"
        }
       }
      },
      "mint": {
       "type": "string"
      },
      "name": {
       "type": "string"
      },
      "slot": {
       "type": "integer"
      },
      "chain": {
       "type": "string"
      },
      "notes": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "supply": {
       "type": "object",
       "properties": {
        "raw": {
         "type": "string"
        },
        "amount": {
         "type": "string"
        }
       }
      },
      "symbol": {
       "type": "string"
      },
      "cluster": {
       "type": "string"
      },
      "program": {
       "type": "string"
      },
      "decimals": {
       "type": "integer"
      },
      "extensions": {
       "type": "object",
       "properties": {
        "list": {
         "type": "array",
         "items": {
          "type": "string"
         }
        },
        "metadata": {
         "type": [
          "object",
          "null"
         ],
   
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "rpc": {
   "servedBy": "public"
  },
  "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
  "name": "USD Coin",
  "slot": 460485942,
  "chain": "solana",
  "notes": [
   "Name and symbol come from the Token-2022 metadata extension or a short curated list; classic SPL token names live in Metaplex metadata, which is not read here."
  ],
  "supply": {
   "raw": "7902622123579990",
   "amount": "7902622123.57999"
  },
  "symbol": "USDC",
  "cluster": "mainnet-beta",
  "program": "spl-token",
  "decimals": 6,
  "extensions": {
   "list": [],
   "metadata": null,
   "transferFee": null,
   "nonTransferable": false,
   "permanentDelegate": null,
   "mintCloseAuthority": null,
   "defaultAccountState": null,
   "transferHookProgram": null
  },
  "nameSource": "curated list",
  "knownIssuer": {
   "note": "regulated stablecoin; issuer can mint and freeze",
   "issuer": "Circle"
  },
  "mintAuthority": "BJE5MMbqXjVwjAF7oxwPYXnTXDyspzZyt4vwenNw5ruG",
  "freezeAuthority": "7dGbd2QZcCKcTndnHcTL8q7SMVXAkp688NTQYwrRCrar"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/1gateway-solana-token-info-587551fa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 1gateway.dev](https://www.zero.xyz/host/1gateway.dev/llms.txt)
