FairScale

Agent Trust Gate

Binary allow/deny trust gate for protocol integration

Agent Trust Gate Endpoint

GET /v1/trust-gate

Binary allow/deny decision. Returns a simple pass/fail based on a minimum score threshold. Designed for protocols that need a one-line trust check before executing a transaction.

Endpoint URL

https://agent-api.fairscale.xyz/v1/trust-gate?wallet=WALLET_ADDRESS

Parameters

ParameterTypeRequiredDefaultDescription
walletstringYes-Solana wallet address
min_scorenumberNo40Minimum score threshold (0–100)
require_verificationbooleanNo-If true, requires at least one registry verification
taskstringNo-Scoring profile to apply

Example Request

curl "https://agent-api.fairscale.xyz/v1/trust-gate?wallet=WALLET&min_score=60&require_verification=true" \
  -H "fairkey: zpka_your_key_here"

Response Schema

Example Response

{
  "wallet": "WALLET",
  "allowed": true,
  "score": 67,
  "reason": "score_above_threshold",
  "meta": { "from_cache": false, "provider": "FairScale" }
}