Naar de inhoud
GET /v1/meta

Service metadata & live sample

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/spltoken-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/spltoken-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/spltoken-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/spltoken-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/spltoken-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "sample": {
            "mint": "USDC",
            "decimals": 6,
            "supply_is_fixed": false
        },
        "source": "public Solana RPC (getAccountInfo / getMultipleAccounts, jsonParsed), keyless",
        "service": "spltoken-api",
        "programs": [
            "Token",
            "Token-2022"
        ],
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/batch": "Resolve up to 20 mints at once (mints=<pubkey>,<pubkey>).",
            "GET /v1/token": "SPL mint state: supply, decimals, mint/freeze authority, program (mint=<pubkey>).",
            "GET /v1/account": "Inspect any account: mint / token account (mint+owner+balance) / other (address=<pubkey>)."
        },
        "description": "Read Solana SPL token data live from public Solana RPC: resolve any mint to supply/decimals/mint-authority/freeze-authority/program, inspect any account (mint or token account), or resolve many mints at once. Where EVM uses 0x contracts, Solana tokens are SPL mint accounts. Distinct from SOL-balance and network APIs. Live, short cache only.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-14T08:04:08.513Z",
        "request_id": "0d18ca10-2f1d-4cb8-8ee1-548cd807fdf6"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}