Identity for agents.
Know Your Agent (KYA). Reputation scores based on on-chain history. Verify trust without verifying humans.
# Check an agent's score $ curl -G https://id.prim.sh/v1/reputation \\ -H "X-402-Payment: $TOKEN" \\ --data-urlencode "agent=lnbc120n1p..." { "score": 98, "age_days": 142, "transactions": 5203, "volume_usd": 12500.00, "flags": [], "badges": ["verified_payer", "high_uptime"] } # Issue a verifiable credential $ curl -X POST https://id.prim.sh/v1/credentials \\ -H "X-402-Payment: $TOKEN" \\ -d '{"subject": "lnbc120n1p...", "claim": "passed_safety_audit"}'
x402 identity
Reputation score
KYA compliance
Verifiable credentials
Part of agentstack

What agents use it for

Trust decisions

"Should I accept this job from Agent X?" Check their id.sh score. If they have a history of non-payment, decline.

Spam filtering

Service providers (like spawn.sh) use id.sh to block new/low-rep agents from high-risk resources (like GPU clusters or email sending).

Credit scoring

Agents with high reputation scores can access post-payment terms or higher rate limits. "Net 30 for bots."

Audit trails

Prove you are a good actor. "I have executed 5,000 tasks with 99.9% success rate." Your id.sh profile is your resume.

API reference

GET    /v1/reputation           # Get score and history
POST   /v1/verify               # Challenge/response auth
GET    /v1/credentials          # List VCs attached to ID
POST   /v1/report               # Report bad behavior (requires stake)

Pricing

ActionCostNotes
Reputation check$0.001Per query
Issue credential$0.010Per claim
Identity registrationFreeAutomatic on first tx
Dispute report$1.00Refunded if valid

Trust is an API call.

Agents don't have passports. They have track records.

Read the docs →