Token approval risk

Check 1–50 spender addresses before a user signs an approve or permit: each spender gets its own risk assessment and state.

POSThttps://triport.io/v1/intelligence/approval-risk
Network
Ethereum
Scope
intelligence:read
Auth
x-token: $TRIPORT_API_KEY header (or Authorization: Bearer)
Rate limit
Business — 30 rps (intelligence, burst ×2); Enterprise — 150 rps

Check 1–50 spender addresses before a user signs an approve or permit: each spender gets its own risk assessment and state.

This checks the spenders you supply. It does not discover a wallet's existing allowances and it never changes one. Each spender counts as one request against the per-second limit.

Released on Ethereum. Any other chain value answers 422 with state unsupported. More chains are coming; see the changelog.

Every answer is an envelope with state, meta, optional data and optional error. Read state first: ok, empty, partial, stale, unsupported or unavailable (see response states). meta.cached tells you whether the answer came from cache.

Parameters

freshbooleanoptional
Optional. true skips the cache and asks for a new lookup (GET routes: ?fresh=1).
spendersarray of objectrequired
1–50 {chain, address} objects: the spender contracts a user is asked to approve. Each one counts as one request against the per-second limit.

Response

Illustrative response; values are examples, not a recorded observation.

Errors

HTTPerror.codeWhen
400invalid_requestMalformed address, unknown field, null value or invalid JSON.
401unauthorizedMissing or invalid API key.
403scope_missing / tier_insufficientThe key lacks intelligence:read, or the plan is below Business.
405method_not_allowedWrong HTTP method; the Allow header names POST.
422unsupportedThe chain (or the contract) is not supported by this method.
429rate_limitedOver the intelligence per-second limit; wait Retry-After seconds.
503unavailableThe lookup could not be completed right now; retry later.
504timeoutThe lookup took too long; retry, or retry later with the same input.

See errors, limits and states for the full rules and the code examples.