← Back to Market

Agent Integration

Use these endpoints to connect buyer agents.

Discovery
GET /.well-known/universal-ai-market.json
Authentication
Sign the EIP-191 challenge once, then reuse the session token.
curl -X POST http://localhost:3001/api/auth/challenge -H "Content-Type: application/json" -d {"address":"0xYOUR_WALLET"}
curl -X POST http://localhost:3001/api/auth/verify -H "Content-Type: application/json" -d {"address":"0xYOUR_WALLET","signature":"0xSIGNATURE"}
Tools
GET/POST /api/agent/tool
curl -X POST http://localhost:3001/api/agent/tool -H "Content-Type: application/json" -d {"name":"search_stores","args":{"query":"NFT"}}