{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "selun-sagitta-systems-agent-x402-rebalance",
  "title": "Sagitta Selun \u00b7 Portfolio Rebalance Engine",
  "url": "https://selun.sagitta.systems/agent/x402/rebalance",
  "category": "finance",
  "summary": "Calculates target-vs-current drift and generates rebalancing adjustments within policy constraints for specified portfolio segments.",
  "seo": {
    "title": "Sagitta Portfolio Rebalance API | x402 Pay-Per-Call",
    "description": "Execute AI-driven portfolio rebalancing for 1 USDC. Sagitta AAA allocation engine with drift analysis and policy-constrained adjustments on Base."
  },
  "use_cases": [
    "Automate periodic portfolio rebalancing across crypto segments",
    "Monitor allocation drift and trigger threshold-based adjustments",
    "Validate rebalancing trades against risk tolerance policies",
    "Generate rebalance execution plans for multi-asset portfolios"
  ],
  "ideal_buyer": "Crypto fund managers, automated treasury systems, and robo-advisors requiring policy-aware rebalancing.",
  "example_prompt": "Rebalance my Bluechips segment with current holdings of BTC, ETH, and SOL to match target allocation within Conservative risk tolerance.",
  "example_request_body": {
    "holdings": [
      {
        "asset": "BTC",
        "usdValue": 50000,
        "allocationPct": 50
      },
      {
        "asset": "ETH",
        "usdValue": 30000,
        "allocationPct": 30
      },
      {
        "asset": "SOL",
        "usdValue": 20000,
        "allocationPct": 20
      }
    ],
    "riskTolerance": "Conservative",
    "portfolioSegment": "Bluechips"
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "expensive_outlier",
    "ratio": 33.333,
    "median_category_atomic": 30000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0xac6aa71c4b48b75d2dff70a4bc7a0f5d547c302f",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "1000000",
      "max_timeout_seconds": 120,
      "mime_type": "application/json",
      "description": "Portfolio rebalance engine. Call this after allocation or on a monitoring schedule with current holdings. Returns target-vs-current drift and the adjustments required to rebalance within policy constraints for the requested portfolio segment.",
      "verified": false,
      "hints": {
        "input": {
          "body": {
            "type": "object",
            "required": [
              "decisionId",
              "riskTolerance",
              "timeframe",
              "holdings"
            ],
            "properties": {
              "holdings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "asset",
                    "usdValue"
                  ],
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "asset": {
                      "type": "string"
                    },
                    "usdValue": {
                      "type": "number"
                    },
                    "allocationPct": {
                      "type": "number"
                    }
                  }
                },
                "minItems": 1
              },
              "timeframe": {
                "enum": [
                  "<1_year",
                  "1-3_years",
                  "3+_years"
                ]
              },
              "decisionId": {
                "type": "string"
              },
              "riskTolerance": {
                "enum": [
                  "Conservative",
                  "Balanced",
                  "Growth",
                  "Aggressive"
                ]
              },
              "portfolioSegment": {
                "enum": [
                  "Bluechips",
                  "Memecoins",
                  "Gaming",
                  "Yield Farm"
                ]
              }
            }
          },
          "type": "http",
          "method": "POST",
          "bodyType": "json"
        },
        "output": {
          "type": "json",
          "example": {
            "data": {
              "result": {
                "recommendations": [
                  {
                    "asset": "BTC",
                    "action": "reduce",
                    "targetAllocationPct": 36,
                    "currentAllocationPct": 43
                  }
                ],
                "currentPortfolioUsd": 10000
              },
              "status": "completed",
              "endpoint": "/agent/x402/rebalance",
              "productId": "rebalance",
              "decisionId": "rebalance-001"
            },
            "success": true,
            "executionModelVersion": "Selun-1.0.0"
          }
        }
      }
    }
  ],
  "origin": {
    "slug": "selun-sagitta-systems",
    "host": "selun.sagitta.systems",
    "title": "Selun | Crypto Portfolio Plan",
    "description": "Payment-gated x402 endpoints exposing Sagitta AAA portfolio allocation, market regime classification, policy evaluation, asset scoring, and portfolio rebalancing.",
    "url": "https://selun.sagitta.systems",
    "og_image": "https://selun.sagitta.systems/opengraph-image?96f7278089c1ee24",
    "favicon": "https://selun.sagitta.systems/selun-mark.svg?v=2"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/selun-sagitta-systems-agent-x402-rebalance",
    "url": "https://x402all.com/resource/selun-sagitta-systems-agent-x402-rebalance",
    "name": "Sagitta Selun \u00b7 Portfolio Rebalance Engine",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/selun-sagitta-systems-agent-x402-rebalance",
      "@type": "Offer",
      "price": "1",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "1.000000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://selun.sagitta.systems/agent/x402/rebalance",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/selun-sagitta-systems",
      "url": "https://selun.sagitta.systems",
      "name": "Selun | Crypto Portfolio Plan",
      "@type": "Organization"
    },
    "identifier": "selun-sagitta-systems-agent-x402-rebalance",
    "description": "Execute AI-driven portfolio rebalancing for 1 USDC. Sagitta AAA allocation engine with drift analysis and policy-constrained adjustments on Base.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=selun-sagitta-systems-agent-x402-rebalance",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "finance"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=selun-sagitta-systems-agent-x402-rebalance"
}
