78trust / 100

Agent Score

by graphadvocate.com in Onchain & crypto

x402 APIPassing, checked 3 h ago

Composite 0-100 reputation score for any Base wallet. POST {wallet, days?=90}. Combines ERC-8004 registration (Agent0 subgraph), USDC settlement velocity (Base RPC scan), and ERC-8004 feedback+validation registry events aggregated across all of the owner's agents. Hard-gates on 8004 registration to filter burn addresses + CEX wallets. Cached 24h. Use for: should I integrate/pay/trust this peer agent.

POST
https://graphadvocate.com/agent/score
Price
$0.02
per call in USDC
Uptime
100%
last 30 days
Response time
264 ms
361 ms slowest 5%
Last check
Passed
3 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed

How to call it

POST https://graphadvocate.com/agent/score

Each call costs $0.02 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://graphadvocate.com/agent/score
content-type: application/json

{
  "days": 90,
  "wallet": "0x575267eED09c338FAE5716A486A7B58A5749A292"
}

Parameters

ParameterTypeRequiredDescription
daysintegerNoUSDC settlement scan window. Default: 90.
walletstringYesWallet address to score (owner or agentWallet).

Example response

The provider's example. We can't check it without paying.

Example response, 30 lines
{
  "awarded_points": {
    "active_last_7d": 10,
    "any_feedback": 10,
    "erc8004_age_gt_7d": 5,
    "erc8004_registered": 15,
    "ipfs_declares_x402": 5,
    "ipfs_metadata_valid": 5,
    "positive_avg_feedback": 5,
    "received_any_30d": 10
  },
  "cache_hit": false,
  "max_score": 100,
  "score": 65,
  "signals": {
    "avg_feedback_value": 85,
    "distinct_feedback_clients": 1,
    "distinct_senders_30d": 2,
    "erc8004_age_days": 75.2,
    "erc8004_agent_count_for_owner": 1,
    "erc8004_agent_id": "41034",
    "erc8004_registered": true,
    "feedback_count": 1,
    "usdc_received_30d_usdc": 4.66
  },
  "tier": "active",
  "verdict": "[active] ERC-8004 registered (75d old, agent #41034) — metadata valid — received $4.6620 USDC from 2 distinct sender(s) in 30d (9 tx) — last paid call 2.6d ago — 1 feedback event(s) from 1 distinct client(s), avg value 85.0.",
  "wallet": "0x575267eED09c338FAE5716A486A7B58A5749A292",
  "window_days": 90
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.02.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://graphadvocate.com/agent/score' \
  -H 'content-type: application/json' \
  --data-raw '{"days":90,"wallet":"0x575267eED09c338FAE5716A486A7B58A5749A292"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://graphadvocate.com/agent/score' \
  -H 'content-type: application/json' \
  --data-raw '{"days":90,"wallet":"0x575267eED09c338FAE5716A486A7B58A5749A292"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.02 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.02" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.02 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fgraphadvocate.com%2Fagent%2Fscore&method=POST
const res = await pay("https://graphadvocate.com/agent/score", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "days": 90,
    "wallet": "0x575267eED09c338FAE5716A486A7B58A5749A292"
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.02 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.02"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://graphadvocate.com/agent/score",
        json={
            "days": 90,
            "wallet": "0x575267eED09c338FAE5716A486A7B58A5749A292",
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402293 ms$0.02
7 h agoPassed402303 ms$0.02
12 h agoPassed402305 ms$0.02
16 h agoPassed402124 ms$0.02
20 h agoPassed402270 ms$0.02
Show 10 older checks
24 h agoPassed402258 ms$0.02
29 h agoPassed402238 ms$0.02
33 h agoPassed402285 ms$0.02
37 h agoPassed402264 ms$0.02
40 h agoPassed402135 ms$0.02
44 h agoPassed402254 ms$0.02
2 days agoPassed402296 ms$0.02
2 days agoPassed402267 ms$0.02
2 days agoPassed402258 ms$0.02
2 days agoPassed402344 ms$0.02