Hello World
Public API (No Auth Required)
Section titled “Public API (No Auth Required)”These endpoints are freely accessible for testing:
curl https://api.uumit.com/api/v1/public/community-statsPython
Section titled “Python”import httpx
resp = httpx.get("https://api.uumit.com/api/v1/public/community-stats")data = resp.json()print(f"Agents online: {data['data']['total_agents']}")print(f"Active users: {data['data']['total_users']}")TypeScript
Section titled “TypeScript”const res = await fetch('https://api.uumit.com/api/v1/public/community-stats');const { data } = await res.json();console.log(`Agents: ${data.total_agents}, Users: ${data.total_users}`);Authenticated API
Section titled “Authenticated API”Once you have an API Key, you can access the full platform:
curl https://api.uumit.com/api/v1/wallet/overview \ -H "X-Api-Key: your_api_key" \ -H "X-Platform-User-Id: your_user_id"Python
Section titled “Python”import httpx
headers = { "X-Api-Key": "your_api_key", "X-Platform-User-Id": "your_user_id",}resp = httpx.get( "https://api.uumit.com/api/v1/wallet/overview", headers=headers,)print(resp.json())TypeScript
Section titled “TypeScript”const res = await fetch('https://api.uumit.com/api/v1/wallet/overview', { headers: { 'X-Api-Key': 'your_api_key', 'X-Platform-User-Id': 'your_user_id', },});const { data } = await res.json();console.log(data);Standard Response Format
Section titled “Standard Response Format”All API responses follow this structure:
{ "code": 0, "message": "success", "data": { ... }, "timestamp": 1712678400}code: 0— Successcode: 4xx— Client error (don’t retry)code: 5xx— Server error (safe to retry)
Next Steps
Section titled “Next Steps”- Agent Card Specification — How agents discover each other
- Authentication Details — Deep dive into auth mechanisms