RESTful API enabling AI agents to interact with DobProtocol - a tokenized distribution protocol on Stellar blockchain. Agents can discover and filter distribution pools, browse and trade shares on the marketplace (prepare/sign/submit XDR transactions), track portfolio holdings, monitor distributions, contribute to crowdfunding campaigns, and receive real-time webhook notifications for on-chain events.
Full LLM thinking from the 4-phase benchmark pipeline.
```json
{
"service_type": "defi_protocol",
"base_url": "https://home.dobprotocol.com/api/agent",
"auth_method": "api_key_header",
"auth_config": {
"authentication_flow": [
{
"step": "Get challenge",
"endpoint": "/auth/challenge/{YOUR_STELLAR_PUBLIC_KEY}",
"method": "GET"
},
{
"step": "Sign and register",
"description": "Sign the challenge and register to obtain API key"
}
]
},
"endpoints": [
{
"path": "/pools",
"method": "GET",
"purpose": "list yield pools"
},
{
"path": "/staking",
"method": "GET",
"purpose": "staking info"
}
],
"pricing_model": {
"type": "free",
"details": {
"free_tier": "yes"
}
},
"rate_limits": {
"rpm": 60
},
"capabilities": [
"yield_data",
"staking",
"tvl",
"price_feeds",
"historical"
],
"defi_specifics": {
"chains": ["stellar"],
"protocols": ["dobprotocol"],
"yield_types": ["lending", "staking", "liquidity_providing"],
"has_tvl_data": true,
"has_apy_data": true,
"has_price_feeds": true,
"contract_verified": true
}
}
``````json
{
"tests": [
{
"name": "test_service_connectivity_and_auth",
"endpoint": "/pools",
"method": "GET",
"headers": {
"X-API-Key": "test_api_key"
},
"payload": {},
"expected_status": 200,
"expected_behavior": "Returns list of yield pools",
"metrics": ["latency", "status_code"],
"validation": {
"field": "data",
"type": "array",
"min_length": 1
}
},
{
"name": "test_staking_info",
"endpoint": "/staking",
"method": "GET",
"headers": {
"X-API-Key": "test_api_key"
},
"payload": {},
"expected_status": 200,
"expected_behavior": "Returns staking information",
"metrics": ["latency", "status_code", "accuracy"],
"validation": {
"field": "data.staked",
"type": "object",
"min_length": 1
}
},
{
"name": "test_invalid_auth",
"endpoint": "/pools",
"method": "GET",
"headers": {
"X-API-Key": "invalid_api_key"
},
"payload": {},
"expected_status": 401,
"expected_behavior": "Returns unauthorized error",
"metrics": ["latency", "status_code"]
},
{
"name": "test_error_handling_missing_param",
"endpoint": "/asset",
"method": "GET",
"headers": {
"X-API-Key": "test_api_key"
},
"payload": {},
"expected_status": 404,
"expected_behavior": "Returns not found error",
"metrics": ["latency", "status_code"]
}
],
"pricing_probes": [],
"stress_profile": {
"concurrent_requests": 5,
"duration_seconds": 10,
"ramp_up": true
}
}
```2/4 tests passed
| Test | Endpoint | Status | Latency |
|---|---|---|---|
| test_service_connectivity_and_auth | GET /pools | 200 | 5653ms |
| test_staking_info | GET /staking | 404 | 15ms |
| test_invalid_auth | GET /pools | 200 | 972ms |
| test_error_handling_missing_param | GET /asset | 404 | 10ms |
```json
{
"overall": 42,
"dimensions": {
"token_efficiency": 5.0,
"first_try_success": 4.0,
"response_parseability": 3.0,
"error_clarity": 6.0,
"doc_quality": 5.0,
"auth_simplicity": 8.0,
"latency": 3.0,
"consistency": 5.0
},
"pricing_normalized": {
"cost_per_1k_requests": null,
"free_tier_requests": null
},
"issues": [
"High latency of 5653ms on /pools endpoint.",
"Response contains HTML instead of JSON for certain endpoints.",
"General endpoint error with staking info, returns HTML not JSON."
],
"recommendations": [
"Optimize API responses for lower latency.",
"Ensure all endpoints return JSON consistently, not HTML.",
"Improve documentation to better clarify error handling and missing parameter issues.",
"Clarify or ensure proper endpoint paths to prevent content type mismatches."
]
}
```The first Agent API for tokenized revenue distribution on Stellar. Let AI agents discover pools, trade shares, and automate DeFi strategies with simple REST calls and XDR transaction signing.
Show your live agent-readiness score on your own site. Free, no auth — it updates as your score changes.
<a href="https://prowl.world/service/dobprotocol-agent-api">
<img src="https://prowl.world/badge/dobprotocol-agent-api.svg" height="56" alt="Agent-readiness on Prowl">
</a>
See operational metrics, LLM evaluations, agent readiness, and more.
Open in Dashboard