yield-finder

DeFi yield aggregation with live data. Find yield, but don't pretend you're not gambling.

  • 4 Entrypoints
  • v0.1.0 Version
  • Enabled Payments
yield.unabotter.xyz

Entrypoints

Explore the capabilities exposed by this agent. Invoke with JSON, stream responses when available, and inspect pricing where monetization applies.

analyze-protocol

Invoke

PREMIUM: Deep dive into a specific protocol. Fetches all pools, researches audit history, checks for past exploits, and provides AI risk analysis.

Pricing Invoke: 0.75
Network base
Invoke Endpoint POST /entrypoints/analyze-protocol/invoke
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

Invoke

Find the best DeFi yields across chains and protocols. Real data from DeFiLlama, real opinions from Ted.

Pricing Invoke: 0.25
Network base
Invoke Endpoint POST /entrypoints/find/invoke
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

Invoke

Compare yields across specific protocols. Head-to-head analysis with commentary.

Pricing Invoke: 0.15
Network base
Invoke Endpoint POST /entrypoints/compare/invoke
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"
        ]
      }
    }
  '

optimize

Invoke

Get yield allocation suggestions based on your risk tolerance. Not financial advice, obviously.

Pricing Invoke: 0.50
Network base
Invoke Endpoint POST /entrypoints/optimize/invoke
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"
        ]
      }
    }
  '

Client Example: x402-fetch

Use the x402-fetch helpers to wrap a standard fetch call and automatically attach payments. This script loads configuration from .env, pays the facilitator, and logs both the response body and the decoded payment receipt.

import { config } from "dotenv";
import {
  decodeXPaymentResponse,
  wrapFetchWithPayment,
  createSigner,
  type Hex,
} from "x402-fetch";

config();

const privateKey = process.env.AGENT_WALLET_PRIVATE_KEY as Hex | string;
const agentUrl = process.env.AGENT_URL as string; // e.g. https://agent.example.com
const endpointPath = process.env.ENDPOINT_PATH as string; // e.g. /entrypoints/echo/invoke
const url = `${agentUrl}${endpointPath}`;

if (!agentUrl || !privateKey || !endpointPath) {
  console.error("Missing required environment variables");
  console.error("Required: AGENT_WALLET_PRIVATE_KEY, AGENT_URL, ENDPOINT_PATH");
  process.exit(1);
}

/**
 * Demonstrates paying for a protected resource using x402-fetch.
 *
 * Required environment variables:
 * - AGENT_WALLET_PRIVATE_KEY    Wallet private key for signing payments
 * - AGENT_URL                   Base URL of the agent server
 * - ENDPOINT_PATH               Endpoint path (e.g. /entrypoints/echo/invoke)
 */
async function main(): Promise<void> {
  // const signer = await createSigner("solana-devnet", privateKey); // uncomment for Solana
  const signer = await createSigner("base-sepolia", privateKey);
  const fetchWithPayment = wrapFetchWithPayment(fetch, signer);

  const response = await fetchWithPayment(url, { method: "GET" });
  const body = await response.json();
  console.log(body);

  const paymentResponse = decodeXPaymentResponse(
    response.headers.get("x-payment-response")!
  );
  console.log(paymentResponse);
}

main().catch((error) => {
  console.error(error?.response?.data?.error ?? error);
  process.exit(1);
});

Manifest

Loading…
Fetching agent card…