Skip to content
GET /v1/program

Inspect one program: loader, upgrade authority, immutability

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/solanaprogram-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/solanaprogram-api/v1/program" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/solanaprogram-api/v1/program", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/solanaprogram-api/v1/program");
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/solanaprogram-api/v1/program",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "Program inspection: loader, executability, ProgramData account, upgrade authority and immutability. is_immutable true means the program can no longer be changed (upgrade authority revoked or a non-upgradeable loader).",
        "loader": "BPF Loader (Upgradeable)",
        "source": "public Solana RPC",
        "address": "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4",
        "executable": true,
        "is_program": true,
        "upgradeable": true,
        "is_immutable": false,
        "loader_program": "BPFLoaderUpgradeab1e11111111111111111111111",
        "upgrade_authority": "CvQZZ23qYDWF2RUpxYJ8y9K4skmuvYEEjH7fK58jtipQ",
        "last_deployed_slot": 423991740,
        "program_data_account": "4Ec7ZxZS6Sbdg5UGSLHbAnM7GQHp2eFd4KYWRexAipQT"
    },
    "meta": {
        "timestamp": "2026-06-14T08:04:04.249Z",
        "request_id": "610cd701-2104-4a8c-ac07-1c1a88ec38b2"
    },
    "status": "ok",
    "message": "Program retrieved successfully",
    "success": true
}