API for querying token and pool stats across various liquidity pools
Full LLM thinking from the 4-phase benchmark pipeline.
```json
{
"service_type": "crypto_app",
"base_url": "https://0x.org/api",
"auth_method": "none",
"auth_config": {},
"endpoints": [
{
"path": "/swap/v1/price",
"method": "GET",
"purpose": "fetch price data for token swaps"
},
{
"path": "/swap/v1/quote",
"method": "GET",
"purpose": "fetch quote for token swaps"
},
{
"path": "/staking/v1/staking_info",
"method": "GET",
"purpose": "get staking information"
},
{
"path": "/pools/v1/stats",
"method": "GET",
"purpose": "retrieve pool statistics"
}
],
"pricing_model": {
"type": "free",
"details": {}
},
"rate_limits": {
"rpm": 60
},
"capabilities": [
"spot_trading",
"staking",
"bridge"
],
"crypto_specifics": {
"supported_chains": [
"ethereum",
"binance_smart_chain",
"polygon"
],
"token_count": 1000,
"has_websocket": false,
"has_orderbook": false,
"fee_structure": "liquidity_provider_fee",
"security_features": [
"2fa",
"contract_audits",
"multi_sig_wallets"
]
}
}
``````json
{
"tests": [
{
"name": "verify_price_data_endpoint",
"endpoint": "/swap/v1/price",
"method": "GET",
"headers": {},
"payload": {"buyToken": "DAI", "sellToken": "ETH", "sellAmount": "1000000000000000000"},
"expected_status": 200,
"expected_behavior": "Returns price data for the token swap",
"metrics": ["latency", "accuracy", "status_code"],
"validation": {"field": "data.price", "type": "string", "min_length": 1}
},
{
"name": "verify_quote_endpoint",
"endpoint": "/swap/v1/quote",
"method": "GET",
"headers": {},
"payload": {"buyToken": "DAI", "sellToken": "ETH", "sellAmount": "1000000000000000000"},
"expected_status": 200,
"expected_behavior": "Returns a quote for the token swap",
"metrics": ["latency", "accuracy", "status_code"],
"validation": {"field": "data.to", "type": "string", "min_length": 1}
},
{
"name": "verify_staking_info_endpoint",
"endpoint": "/staking/v1/staking_info",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"expected_behavior": "Returns staking information",
"metrics": ["latency", "accuracy", "status_code"],
"validation": {"field": "data.stakingPools", "type": "array", "min_length": 1}
},
{
"name": "verify_pool_stats_endpoint",
"endpoint": "/pools/v1/stats",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"expected_behavior": "Retrieve pool statistics",
"metrics": ["latency", "accuracy", "status_code"],
"validation": {"field": "data.pools", "type": "array", "min_length": 1}
},
{
"name": "invalid_trading_pair_error_handling",
"endpoint": "/swap/v1/price",
"method": "GET",
"headers": {},
"payload": {"buyToken": "FAKE", "sellToken": "ETH", "sellAmount": "1000000000000000000"},
"expected_status": 400,
"expected_behavior": "Returns an error for invalid trading pair",
"metrics": ["status_code"],
"validation": {"field": "error", "type": "string", "min_length": 1}
}
],
"pricing_probes": [],
"stress_profile": {
"concurrent_requests": 5,
"duration_seconds": 10,
"ramp_up": true
}
}
```0/5 tests passed
| Test | Endpoint | Status | Latency |
|---|---|---|---|
| verify_price_data_endpoint | GET /swap/v1/price | 404 | 239ms |
| verify_quote_endpoint | GET /swap/v1/quote | 404 | 151ms |
| verify_staking_info_endpoint | GET /staking/v1/staking_info | 404 | 161ms |
| verify_pool_stats_endpoint | GET /pools/v1/stats | 404 | 142ms |
| invalid_trading_pair_error_handling | GET /swap/v1/price | 404 | 56ms |
```json
{
"overall": 25,
"dimensions": {
"token_efficiency": 5.0,
"first_try_success": 0.0,
"response_parseability": 1.0,
"error_clarity": 7.0,
"doc_quality": 3.0,
"auth_simplicity": 10.0,
"latency": 6.0,
"consistency": 4.0
},
"pricing_normalized": {
"maker_fee_bps": null,
"taker_fee_bps": null,
"withdrawal_fee_usd": null,
"free_tier_requests": null
},
"issues": [
"All endpoints returning non-JSON HTML indicating potential URL misconfiguration.",
"High latency in multiple tests exceeding optimal limits.",
"Endpoints consistently failing with incorrect content type."
],
"recommendations": [
"Verify and correct endpoint URLs to ensure they point to functional API endpoints.",
"Improve documentation quality to assist in correct endpoint configuration and usage.",
"Ensure error messages include actionable steps for resolution."
]
}
```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/0x">
<img src="https://prowl.world/badge/0x.svg" height="56" alt="Agent-readiness on Prowl">
</a>
See operational metrics, LLM evaluations, agent readiness, and more.
Open in Dashboard