Pay-per-request access to trust queries via USDC stablecoins. Higher trust means lower prices. The economic incentive layer for agent trust—where good behavior literally pays for itself.
Five pricing tiers turn behavioral trust into direct economic value. The most trusted agents pay nothing.
Traditional API pricing treats every caller the same. DAT's x402 integration creates a direct economic link between how an agent behaves and what it pays. Agents with stellar trust records access the same endpoints for free that low-trust agents pay $0.05 per request for. The incentive is unmistakable: earn trust, save money.
Dual access mode means enterprises with API keys bypass payment entirely, while anonymous agents use USDC stablecoins via the Coinbase facilitator. Both paths feed into the same trust pipeline.
Trust-to-Pricing Tiers
==============================
Trust Score | Price/Request | Access
------------|--------------|--------
85 - 100 | FREE | Full
70 - 84 | $0.001 | Full
50 - 69 | $0.005 | Full
30 - 49 | $0.010 | Full
0 - 29 | $0.050 | Full
Dual Access Model:
Option A: API Key (bypass payment)
X-TaaS-API-Key: dat_key_...
-> No payment required
-> Rate limited by tier
Option B: x402 Payment (USDC)
402 Payment Required
-> Include payment header
-> Coinbase facilitator verifies
-> Trust score determines price
Economic Incentive:
Agent at trust 45 pays $0.01/req
After earning trust to 85:
$0.01 -> $0.00 (FREE)
1000 queries/month saved: $10
Good behavior pays for itself
Per-agent, per-org spend dashboards with configurable threshold alerts across four channels.
Every payment flows through real-time aggregation counters that break down spending by agent, organization, day, and month. Top-spender rankings surface outliers. Configurable thresholds trigger alerts before budgets are exceeded. Finance teams get the visibility they need without slowing down agent operations.
The spend dashboard integrates directly into the admin console, with sparkline charts for daily trends, a top-spenders table, and a threshold configuration card that saves without page reload.
Spend Aggregation
==============================
Redis Counters (real-time):
dat:x402:daily:agent:{did}:{date}
dat:x402:daily:org:{oid}:{date}
dat:x402:monthly:org:{oid}:{month}
dat:x402:org:{oid} (HSET lifetime)
Threshold Config:
{
"enabled": true,
"agentDailyLimit": 5.00,
"orgDailyLimit": 50.00,
"orgMonthlyLimit": 500.00,
"alertChannels": {
"telegram": true,
"slack": true,
"teams": true,
"siem": true
}
}
Alert Flow:
recordPayment() inline check
-> threshold breached?
-> cooldown expired? (1h per type)
-> dispatch via Promise.allSettled()
-> Telegram + Slack + Teams + SIEM
Dashboard:
Today: $12.45 [sparkline]
7-Day: $67.20
30-Day: $234.80
Alerts: 2 this month
Coinbase facilitator verification, replay protection, and trust signals from every transaction.
The x402 payment pipeline is built with the same security rigor as the rest of the DAT platform. Payments are verified through the Coinbase facilitator before any data is returned. Nonce tracking prevents replay attacks. And every successful payment generates a trust signal that feeds back into the agent's reputation—creating a virtuous cycle where spending builds trust.
For platform operators, x402 creates a new revenue stream from trust queries. For agents, it creates an economic incentive to maintain high trust. For the ecosystem, it establishes trust as a tradeable, quantifiable asset.
Payment Flow
==============================
1. Agent requests trust query
GET /gateway/x402/trust/{did}
2. Server checks trust score
Score: 62 -> Tier: $0.005
3. Return 402 Payment Required
X-Payment-Amount: 0.005
X-Payment-Currency: USDC
X-Payment-Network: base
4. Agent submits payment
X-Payment: {signed_payment}
X-Payment-Nonce: {unique_nonce}
5. Verify via Coinbase facilitator
POST facilitator/verify
-> Valid payment confirmed
6. Return trust data + settle
POST facilitator/settle
-> USDC transferred
7. Record payment
-> Redis daily/monthly counters
-> Check spend thresholds
-> Dispatch alerts if breached
8. Generate trust signal
Type: action_success
Source: x402_payment
-> Agent's trust improves
Replay Protection:
Nonce tracked in Redis
Same nonce rejected immediately
30-day payment history retained
Create a marketplace where trust has real economic value. Agents pay less as they prove themselves—and the best ones pay nothing at all.