{"uid":"cap_0_K98pxTXa52hegHWk-M2","slug":"near-token-safety-b5759e02","name":"NEAR Token Safety","description":"Before an agent takes a NEP-141 token on NEAR: who can change it? Counts full-access keys that can redeploy the contract, and asks the contract for an owner and a pause switch — issued tokens like USDt keep control through owner methods, not keys. No key and no owner → GO; key- or owner-controlled → HOLD; paused, no contract or not NEP-141 → STOP. Plus name, symbol, supply, and NEAR Intents liquidity and price. Live from the NEAR RPC.","url":"https://402.com.tr/api/x402/near-token-safety?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":["token"],"properties":{"token":{"type":"string","description":"NEAR token contract 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.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ut2-PyiKQTeJan2gcUFmW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates the safety of a NEP-141 token contract on NEAR by checking full-access keys, owner methods, and pause state, then returns a GO/HOLD/STOP signal plus token metadata and NEAR Intents liquidity/price.","exampleAgentPrompt":"Before we swap into wrap.near, check the NEAR token safety on it — tell me if it gets a GO, HOLD, or STOP and why, including whether there are any full-access keys or an owner that could rug the contract.","exampleUseCases":[{"title":"Pre-swap token risk check","prompt":"I want to buy some token on NEAR Intents — can you check the safety of meta-token.near first? Tell me if it's GO, HOLD, or STOP and explain the key risks."},{"title":"DeFi portfolio safety audit","prompt":"I'm holding a few NEP-141 tokens in my NEAR wallet. Can you run a safety check on usdt.tether-token.near and tell me if the contract is owner-controlled, has full-access keys, or is paused?"},{"title":"Agent autonomous trade gate","prompt":"Before the trading agent swaps into any new NEP-141 token, check token safety for it — only proceed if the result is GO, and stop completely if it comes back paused or not a valid NEP-141 contract."}],"resultDescription":"Returns a safety signal (GO, HOLD, or STOP) with reasoning: count of full-access keys that could redeploy the contract, detected contract owner, pause status, whether the contract is a valid NEP-141 token, plus token name, symbol, total supply, NEAR Intents liquidity, and current price — all sourced live from the NEAR RPC.","failureModes":["Token contract account does not exist → STOP signal returned","Contract is not NEP-141 compliant → STOP signal returned","Contract is currently paused → STOP signal returned","NEAR RPC unavailable or rate-limited → request fails with connectivity error","Invalid or malformed contract account ID → input validation error","Token has no NEAR Intents listing → liquidity/price fields absent or null"],"whenToPreferThis":"Use this endpoint when an AI agent needs to autonomously decide whether to interact with, trade, or accept a NEP-141 token on NEAR Protocol — especially before any swap, bridge, or payment involving an unfamiliar token. It is the right choice when you need a single structured safety verdict (GO/HOLD/STOP) rather than raw on-chain data, and when you want NEAR-specific risk signals like full-access key counts and owner-method control checks alongside market context (liquidity, price) in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T18:33:06.960Z","isFirstParty":false,"canonicalSlug":"near-token-safety-b5759e02"}