Score
curl "https://agent-api.fairscale.xyz/v1/score?wallet=AGENT_WALLET" \
-H "fairkey: zpka_your_key_here"
Returns score, pillars, signals, badges, red_flags.
Trust gate
curl "https://agent-api.fairscale.xyz/v1/trust-gate?wallet=AGENT_WALLET&min_score=60" \
-H "fairkey: zpka_your_key_here"
{
"decision": "deny",
"fairscore": 11,
"reasons": ["score_below_threshold: 11 < 60"],
"verification": { "said": false, "erc8004": false, "sati": false }
}
Allow if decision === "allow".
Batch (up to 25)
curl -X POST "https://agent-api.fairscale.xyz/v1/score/batch" \
-H "fairkey: zpka_your_key_here" \
-H "Content-Type: application/json" \
-d '{"wallets": ["WALLET_1", "WALLET_2"]}'