Api Endpoint

api.agentstools.dev

Non-custodial yield deposit/redeem calldata for Base: give protocol (aave-v3, compound-v3 or erc4626), asset or vault, raw amount, action and recipient; we read the protocol on-chain state and return ready-to-sign transaction calldata plus the ERC-20 approval (deposit only) and the expected shares or assets. You sign with your own wallet — we never hold or move funds.

Open interactive test console

Offering

Provider
api.agentstools.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.agentstools.dev/yield/build
MIME type
application/json
First seen
2026-10-16T02:11:19.007Z
Last seen
Tags
yield, DeFi, calldata, non-custodial, Base, aave, compound, erc4626, vault, lending, deposit, redeem, on-chain

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.05 USDC
Atomic price: 50000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "50000",
    "payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493"
  }
]

Observed health

Status
Healthy
Latest latency
394 ms
Average latency
964 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "protocol": {
          "type": "string",
          "enum": [
            "aave-v3",
            "compound-v3",
            "erc4626"
          ],
          "description": "Yield protocol: aave-v3, compound-v3 or erc4626."
        },
        "asset": {
          "type": "string",
          "description": "For aave-v3/compound-v3: the asset symbol (USDC, WETH, ...) or a 0x ERC-20 address. Compound III earns only on its base asset."
        },
        "vault": {
          "type": "string",
          "description": "For erc4626: the vault 0x address (ANY Base ERC-4626) or a seed slug. Resolved on-chain."
        },
        "amount": {
          "type": "string",
          "description": "Raw atomic units. deposit: underlying assets. redeem: aave/comet = underlying (or 'max'); erc4626 = shares (or 'max')."
        },
        "action": {
          "type": "string",
          "enum": [
            "deposit",
            "redeem"
          ],
          "description": "deposit (supply) or redeem (withdraw). Default deposit."
        },
        "recipient": {
          "type": "string",
          "description": "0x address that supplies/receives (baked into calldata)."
        }
      },
      "required": [
        "protocol",
        "amount",
        "recipient"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "action": {
              "description": "deposit (supply) or redeem (withdraw). Default deposit.",
              "enum": [
                "deposit",
                "redeem"
              ],
              "type": "string"
            },
            "amount": {
              "description": "Raw atomic units. deposit: underlying assets. redeem: aave/comet = underlying (or 'max'); erc4626 = shares (or 'max').",
              "type": "string"
            },
            "asset": {
              "description": "For aave-v3/compound-v3: the asset symbol (USDC, WETH, ...) or a 0x ERC-20 address. Compound III earns only on its base asset.",
              "type": "string"
            },
            "protocol": {
              "description": "Yield protocol: aave-v3, compound-v3 or erc4626.",
              "enum": [
                "aave-v3",
                "compound-v3",
                "erc4626"
              ],
              "type": "string"
            },
            "recipient": {
              "description": "0x address that supplies/receives (baked into calldata).",
              "type": "string"
            },
            "vault": {
              "description": "For erc4626: the vault 0x address (ANY Base ERC-4626) or a seed slug. Resolved on-chain.",
              "type": "string"
            }
          },
          "required": [
            "protocol",
            "amount",
            "recipient"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}