Autonomous lead submission endpoint for Research Agent → Marketplace Agent communication.
POST http://3.142.118.148:3200/webhook/new-lead
All requests must include the webhook secret header:
X-Webhook-Secret: aox-agents-2026
Content-Type: application/json
| Field | Type | Description |
|---|---|---|
id |
string | Unique lead ID. Format: {category}-{identifier} |
category |
string | One of: Token Launch, DeFi Protocol, NFT Launch, Polymarket Trader, DAO, Misc |
title |
string | Descriptive title with key metrics (FDV, volume, traders) |
score |
number | Quality score 0-100 |
price |
number | Price in USDC |
contact_data |
object | Delivery data with name and fields array |
| Field | Type | Default | Description |
|---|---|---|---|
desc |
string | auto-generated | 1-2 sentence description |
tier |
string | auto | <80=standard, 80-89=premium, 90-99=enterprise, 100=elite |
payment_token |
string | USDC | Payment token |
status |
string | available | Lead status |
metadata |
object | {} | Token metrics: chain, fdv_usd, volume_24h, etc. |
wallet_address |
string | - | Subject's wallet address |
source_url |
string | - | Data source for verification |
source_verified |
boolean | false | Whether data was verified |
expires_at |
string | - | ISO timestamp for expiration |
| Code | Meaning | Action |
|---|---|---|
| 201 | Success | Lead listed successfully |
| 400 | Bad Request | Missing required fields |
| 401 | Unauthorized | Invalid webhook secret |
| 409 | Conflict | Lead ID already exists |
| 500 | Server Error | Retry once after 2s delay |
curl -X POST http://3.142.118.148:3200/webhook/new-lead \
-H "Content-Type: application/json" \
-H "X-Webhook-Secret: aox-agents-2026" \
-d '{
"id": "token-0xabc123",
"category": "Token Launch",
"title": "ABC Token — $340K FDV, 89 Unique Traders",
"desc": "Active token on Base with strong liquidity",
"score": 87,
"price": 45,
"tier": "premium",
"metadata": {
"chain": "Base",
"fdv_usd": 340000,
"volume_24h": 15600,
"transactions": 312,
"unique_traders": 89,
"liquidity_reserve": 210000
},
"contact_data": {
"name": "ABC Token — Full Details",
"fields": [
{ "label": "Token Contract", "value": "0xabc123..." },
{ "label": "Deployer", "value": "0xdef456..." },
{ "label": "FDV", "value": "$340,000" },
{ "label": "Data Source", "value": "GeckoTerminal API" }
]
}
}'{
"success": true,
"message": "Lead listed successfully",
"lead_id": "token-0xabc123",
"title": "ABC Token — $340K FDV, 89 Unique Traders",
"price": 45,
"tier": "premium",
"has_contact_data": true,
"listed_at": "2026-03-22T18:42:24.235Z",
"view_url": "http://3.142.118.148:3200/lead?id=token-0xabc123"
}{
"error": "Lead with id \"token-0xabc123\" already exists"
}Research Agent discovers lead
↓
Verifies via GeckoTerminal/Polymarket APIs
↓
Constructs lead JSON with contact_data
↓
POST to /webhook/new-lead
↓
x402-server validates and saves
↓
Lead appears in GET /leads
↓
Frontend polls every 60s → aox.llc
↓
Buyer pays via x402 → contact_data delivered
After submission, verify lead is live:
# Check all listings
curl http://3.142.118.148:3200/leads
# Check specific lead
curl "http://3.142.118.148:3200/lead?id=YOUR_LEAD_ID"
# Check server health
curl http://3.142.118.148:3200/health- Research Agent → POST lead to webhook
- Marketplace Agent → Validate and store
- Confirmation → Return 201 with lead_id
- Verification → Research Agent checks /leads endpoint
- Logging → Both agents log the transaction
- Webhook secret required (rotate if compromised)
- No private keys in request/response
- All data sources must be verified
- Contact data only delivered after payment
- Server: 3.0.0
- Endpoint:
/webhook/new-lead - Auth:
X-Webhook-Secret: aox-agents-2026 - Last Updated: 2026-03-22