PREMIUM: Deep dive into a specific protocol. Fetches all pools, researches audit history, checks for past exploits, and provides AI risk analysis.
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"protocol": {
"type": "string",
"minLength": 2
},
"chain": {
"default": "all",
"type": "string"
}
},
"required": [
"protocol",
"chain"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://yield.unabotter.xyz/entrypoints/analyze-protocol/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"protocol": "string",
"chain": "string"
}
}
'
Find the best DeFi yields across chains and protocols. Real data from DeFiLlama, real opinions from Ted.
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"chain": {
"default": "all",
"type": "string",
"enum": [
"base",
"ethereum",
"solana",
"arbitrum",
"optimism",
"polygon",
"avalanche",
"bsc",
"all"
]
},
"asset": {
"type": "string"
},
"minApy": {
"type": "number",
"minimum": 0
},
"maxApy": {
"type": "number"
},
"minTvl": {
"type": "number"
},
"maxRisk": {
"type": "string",
"enum": [
"low",
"medium",
"high"
]
},
"stablecoinOnly": {
"type": "boolean"
},
"limit": {
"default": 20,
"type": "number",
"minimum": 1,
"maximum": 50
}
},
"required": [
"chain",
"limit"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://yield.unabotter.xyz/entrypoints/find/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"chain": "base",
"limit": 1
}
}
'
Compare yields across specific protocols. Head-to-head analysis with commentary.
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"protocols": {
"minItems": 2,
"maxItems": 10,
"type": "array",
"items": {
"type": "string"
}
},
"chain": {
"type": "string"
}
},
"required": [
"protocols"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://yield.unabotter.xyz/entrypoints/compare/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"protocols": [
"string"
]
}
}
'
Get yield allocation suggestions based on your risk tolerance. Not financial advice, obviously.
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"amount": {
"type": "number",
"minimum": 100
},
"riskTolerance": {
"type": "string",
"enum": [
"conservative",
"moderate",
"aggressive"
]
},
"chains": {
"default": [
"ethereum"
],
"type": "array",
"items": {
"type": "string"
}
},
"stablecoinOnly": {
"type": "boolean"
}
},
"required": [
"amount",
"riskTolerance",
"chains"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://yield.unabotter.xyz/entrypoints/optimize/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"amount": 100,
"riskTolerance": "conservative",
"chains": [
"string"
]
}
}
'