{"uid":"cap_TdQ6bIrY3rwfIVAvaGDQf","slug":"near-account-check-be54beb5","name":"NEAR Account Check","description":"Before an agent pays or trusts a NEAR account: does it exist, what kind is it (named, implicit, 0x), how much NEAR it holds (available, staked, locked for storage), whether it is a contract or a NEP-141 token, and who controls it — full-access keys that can do anything, and function-call keys limited to one contract. Flags a wallet held by one key, a contract replaceable by key, and an account no one can sign for. Live from the NEAR RPC.","url":"https://402.com.tr/api/x402/near-account?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["account"],"properties":{"account":{"type":"string","description":"NEAR account"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5oNK91dHQXV6ZnyFScBqq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Inspects a NEAR account to reveal its type, NEAR balance breakdown, contract/token status, and full-access/function-call key authorizations — live from the NEAR RPC.","exampleAgentPrompt":"Before I send NEAR to alice.near, can you check if that account actually exists, what kind of account it is, how much NEAR it holds, and who has signing authority over it?","exampleUseCases":[{"title":"Pre-payment NEAR account verification","prompt":"I'm about to pay bob.near 50 NEAR — can you first check that the account exists, confirm it's a regular wallet and not some contract, and tell me who has full-access keys so I know it's not compromised?"},{"title":"Smart contract security audit","prompt":"Can you pull up the account details for token.v2.ref-finance.near and tell me if it's a contract, whether it's a NEP-141 token, and whether any full-access keys could replace it?"},{"title":"Implicit account trustworthiness check","prompt":"I received a payment request from a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2.near — check if that implicit account exists, what its available NEAR balance is, and how many keys control it."}],"resultDescription":"Returns the account's existence status, account type (named, implicit, or 0x-style), available/staked/storage-locked NEAR balances, whether it is a deployed contract, whether it implements NEP-141, a list of full-access keys and function-call keys (with their permitted contracts), and security flags such as single-key wallet, key-replaceable contract, or keyless/locked account.","failureModes":["Account does not exist on NEAR mainnet — returns not-found flag","Invalid account ID format — query rejected","NEAR RPC node unavailable — timeout or 503 error","Rate limit exceeded — 429 response"],"whenToPreferThis":"Use this endpoint when you need a comprehensive, single-call pre-flight check on a NEAR account before executing a payment, establishing trust, or auditing key authority. Prefer it over manual RPC calls when you need balance breakdown (available vs staked vs storage-locked), contract detection, and key enumeration in one response without assembling multiple NEAR RPC queries yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:47:05.012Z","isFirstParty":false,"canonicalSlug":"near-account-check-be54beb5"}