{"openapi":"3.1.0","info":{"title":"Solana Program API","version":"1.0.0","description":"Inspect deployed Solana programs live from public Solana RPC — no key — and answer the question that matters most for safety: can this program still be changed, and by whom? For any program address it resolves the loader it runs under, whether it is executable, its on-chain ProgramData account, the upgrade authority (or that it has been made immutable / frozen), and the slot it was last deployed at. A batch endpoint audits up to twelve programs at once — perfect for checking the upgrade authority of every program a protocol depends on before you trust it — and a loaders endpoint documents Solana's program loaders. Distinct from balance, token and transaction APIs: this is the program and upgrade-authority layer that auditors, wallets and security tooling rely on to judge whether a Solana program is safe. Live from the chain; short cache only.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/solanaprogram-api","description":"oanor gateway"}],"tags":[{"name":"Programs"},{"name":"Reference"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/batch":{"get":{"operationId":"get_v1_batch","tags":["Programs"],"summary":"Audit up to 12 programs' upgrade authorities at once","description":"","parameters":[{"name":"addresses","in":"query","required":true,"description":"Comma-separated program addresses","schema":{"type":"string"},"example":"JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4,TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"Audit up to 12 program addresses at once — each program's upgrade authority and immutability.","count":2,"source":"public Solana RPC","programs":[{"loader":"BPF Loader (Upgradeable)","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"},{"loader":"BPF Loader (Upgradeable)","address":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","executable":true,"is_program":true,"upgradeable":true,"is_immutable":true,"loader_program":"BPFLoaderUpgradeab1e11111111111111111111111","last_deployed_slot":419472000,"program_data_account":"3gvYRKWyXRR9xKWe1ZjPhLY5ZJRN7KDB4rFZFGoJfFk2"}]},"meta":{"timestamp":"2026-06-14T08:04:03.565Z","request_id":"4e1d9224-9719-4049-8887-1c5eefdce0d4"},"status":"ok","message":"Programs retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/program":{"get":{"operationId":"get_v1_program","tags":["Programs"],"summary":"Inspect one program: loader, upgrade authority, immutability","description":"","parameters":[{"name":"address","in":"query","required":true,"description":"Solana program address (base58 pubkey)","schema":{"type":"string"},"example":"JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"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}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/loaders":{"get":{"operationId":"get_v1_loaders","tags":["Reference"],"summary":"Solana's program loaders and whether they are upgradeable","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"Solana's program loaders. A program owned by the Upgradeable loader can be changed by its upgrade authority; others are immutable.","count":5,"source":"static reference","loaders":[{"name":"BPF Loader (Upgradeable)","program_id":"BPFLoaderUpgradeab1e11111111111111111111111","upgradeable":true},{"name":"BPF Loader 2 (non-upgradeable)","program_id":"BPFLoader2111111111111111111111111111111111","upgradeable":false},{"name":"BPF Loader (deprecated)","program_id":"BPFLoader1111111111111111111111111111111111","upgradeable":false},{"name":"Loader v4","program_id":"LoaderV411111111111111111111111111111111111","upgradeable":false},{"name":"Native Loader","program_id":"NativeLoader1111111111111111111111111111111","upgradeable":false}]},"meta":{"timestamp":"2026-06-14T08:04:04.328Z","request_id":"6d744084-a713-4a2f-a325-7a08863f5544"},"status":"ok","message":"Loaders retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Service metadata & live sample","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"sample":{"immutable":false,"upgradeable":true},"source":"public Solana RPC (getAccountInfo / getMultipleAccounts, jsonParsed), keyless","service":"solanaprogram-api","endpoints":{"GET /v1/meta":"This document.","GET /v1/batch":"Audit up to 12 programs' upgrade authorities at once (addresses=<pubkey>,<pubkey>).","GET /v1/loaders":"Solana's program loaders and whether they are upgradeable.","GET /v1/program":"Inspect one program: loader, upgrade authority, immutability (address=<pubkey>)."},"description":"Inspect deployed Solana programs live via public Solana RPC: loader, executability, ProgramData account, upgrade authority and immutability — can this program still be changed, and by whom. A batch endpoint audits many programs at once; a loaders endpoint documents Solana's loaders. The program/upgrade-authority layer for auditors and security tooling. Live, short cache only.","upstream_status":"ok"},"meta":{"timestamp":"2026-06-14T08:04:04.395Z","request_id":"961bcd5d-3c3a-4593-96fe-6ae3cfaeccaf"},"status":"ok","message":"Meta","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":6100,"rps_limit":3,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":890,"monthly_call_quota":119000,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":3150,"monthly_call_quota":740000,"rps_limit":20,"hard_limit":true},{"slug":"business","name":"Business","price_cents_month":9300,"monthly_call_quota":4700000,"rps_limit":50,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/solanaprogram-api"}