Chado Studio Rebalance API

The Rebalance API from Chado Studio — 1 operation(s) for rebalance.

Operations 1

POST /api/rebalance Simulate Rebalance #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/llama-box:llama-box-rebalance-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

llama-box-rebalance-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: crvUSD Yield Optimizer Rebalance API
  description: 'Multi-chain crvUSD yield optimizer with A2A protocol support. Sources: scrvUSD, LlamaLend, Convex, StakeDAO. Chains: Ethereum, Arbitrum, Base, Optimism, Fraxtal. Supports Google A2A (Agent-to-Agent) protocol for agent interoperability.'
  version: 1.1.0
servers:
- url: /yo
tags:
- name: Rebalance
paths:
  /api/rebalance:
    post:
      summary: Simulate Rebalance
      description: 'Simulate rebalance: accept current allocation, suggest optimal.

        Requires pro or enterprise tier.


        Send your current positions and get recommendations for optimal allocation.


        Example body:

        ```json

        {

        "current_allocation": [

        {"pool_address": "0x0655977FEb2f289A4aB78af67BAB0d17aAb84367", "chain": "ethereum", "amount_usd": 5000}

        ],

        "risk_tolerance": "medium",

        "position_size": 10000

        }

        ```'
      operationId: simulate_rebalance_api_rebalance_post
      parameters:
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RebalanceRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RebalanceResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Rebalance
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AllocationItem:
      properties:
        pool_address:
          type: string
          title: Pool Address
        chain:
          type: string
          title: Chain
          default: ethereum
        amount_usd:
          type: number
          title: Amount Usd
      type: object
      required:
      - pool_address
      - amount_usd
      title: AllocationItem
    RebalanceAction:
      properties:
        action:
          type: string
          title: Action
        pool_name:
          type: string
          title: Pool Name
        pool_address:
          type: string
          title: Pool Address
        chain:
          type: string
          title: Chain
        current_amount_usd:
          type: number
          title: Current Amount Usd
          default: 0
        suggested_amount_usd:
          type: number
          title: Suggested Amount Usd
          default: 0
        apy:
          type: number
          title: Apy
          default: 0
        reason:
          type: string
          title: Reason
          default: ''
      type: object
      required:
      - action
      - pool_name
      - pool_address
      - chain
      title: RebalanceAction
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    RebalanceResponse:
      properties:
        strategy:
          type: string
          title: Strategy
        actions:
          items:
            $ref: '#/components/schemas/RebalanceAction'
          type: array
          title: Actions
        current_total_usd:
          type: number
          title: Current Total Usd
        expected_blended_apy:
          type: number
          title: Expected Blended Apy
        rationale:
          type: string
          title: Rationale
      type: object
      required:
      - strategy
      - actions
      - current_total_usd
      - expected_blended_apy
      - rationale
      title: RebalanceResponse
    RebalanceRequest:
      properties:
        current_allocation:
          items:
            $ref: '#/components/schemas/AllocationItem'
          type: array
          title: Current Allocation
        risk_tolerance:
          type: string
          title: Risk Tolerance
          default: high
        position_size:
          type: number
          title: Position Size
          default: 10000
      type: object
      required:
      - current_allocation
      title: RebalanceRequest