{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "api-ecliptica-ninja-x402-portfolio",
  "title": "Ecliptica \u00b7 AI Portfolio Analysis & Recommendations",
  "url": "https://api.ecliptica.ninja/x402/portfolio",
  "category": "ai",
  "summary": "Analyze portfolio positions and receive AI-generated recommendations for risk management and new trade opportunities.",
  "seo": {
    "title": "Ecliptica AI Trading API | Portfolio Management x402",
    "description": "AI-powered portfolio analysis and trading recommendations via x402. Position management, risk assessment, and new trade ideas. Pay 0.15 USDC per call on Base."
  },
  "use_cases": [
    "Assess portfolio risk exposure and concentration",
    "Generate trade ideas based on current positions",
    "Optimize position sizing with AI recommendations",
    "Monitor drawdown limits against account equity"
  ],
  "ideal_buyer": "Active traders and portfolio managers seeking AI-assisted position analysis and trade generation.",
  "example_prompt": "Analyze my portfolio with $100,000 equity, 3 open positions, and suggest new trades with max 10% drawdown.",
  "example_request_body": {
    "positions": [
      {
        "side": "LONG",
        "size": 0.5,
        "symbol": "BTC",
        "leverage": 2,
        "entryPrice": 45000
      }
    ],
    "accountEquity": 100000,
    "maxDrawdownPct": 10
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "expensive",
    "ratio": 5,
    "median_category_atomic": 30000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "verified_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0xd78c323477500744214f662c15c82895a0bbdae9",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "150000",
      "max_timeout_seconds": 300,
      "mime_type": "application/json",
      "description": "Portfolio analysis and recommendations - AI-powered position management and new trade ideas",
      "verified": true,
      "hints": {
        "input": {
          "body": {
            "type": "object",
            "properties": {
              "positions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "symbol",
                    "side",
                    "size",
                    "entryPrice"
                  ],
                  "properties": {
                    "side": {
                      "enum": [
                        "LONG",
                        "SHORT"
                      ],
                      "type": "string"
                    },
                    "size": {
                      "type": "number"
                    },
                    "symbol": {
                      "type": "string"
                    },
                    "leverage": {
                      "type": "number"
                    },
                    "entryPrice": {
                      "type": "number"
                    },
                    "unrealizedPnl": {
                      "type": "number"
                    }
                  }
                },
                "description": "Current open positions"
              },
              "accountEquity": {
                "type": "number",
                "description": "Account equity in USD"
              },
              "maxDrawdownPct": {
                "type": "number",
                "description": "Maximum allowed drawdown percentage"
              }
            },
            "additionalProperties": false
          },
          "method": "POST"
        },
        "output": {
          "regime": "risk-on",
          "newTrades": [
            {
              "entry": 3200,
              "sizing": "2% of equity",
              "symbol": "ETH",
              "stopLoss": 3050,
              "direction": "long",
              "takeProfit": 3600
            }
          ],
          "timestamp": "2025-01-19T12:00:00Z",
          "regimeAnalysis": {
            "longBias": 70,
            "reasoning": "Market showing risk-on behavior with strong BTC leadership",
            "shortBias": 30,
            "overallRisk": "medium",
            "primaryDriver": "BTC strength and positive macro sentiment"
          },
          "positionManagement": [
            {
              "action": "hold",
              "reason": "Position in profit with favorable regime",
              "symbol": "BTC",
              "confidence": "high",
              "exposureAdjustmentPct": 0
            }
          ]
        }
      }
    }
  ],
  "origin": {
    "slug": "api-ecliptica-ninja",
    "host": "api.ecliptica.ninja",
    "title": "Ecliptica AI Trading API",
    "description": "AI-powered market analysis and trading insights. Payment-gated endpoints via x402 protocol.",
    "url": "https://api.ecliptica.ninja",
    "og_image": "https://api.ecliptica.ninja/apple-touch-icon.png",
    "favicon": "https://api.ecliptica.ninja/favicon-32.png"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/api-ecliptica-ninja-x402-portfolio",
    "url": "https://x402all.com/resource/api-ecliptica-ninja-x402-portfolio",
    "name": "Ecliptica \u00b7 AI Portfolio Analysis & Recommendations",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/api-ecliptica-ninja-x402-portfolio",
      "@type": "Offer",
      "price": "0.15",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.150000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://api.ecliptica.ninja/x402/portfolio",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/api-ecliptica-ninja",
      "url": "https://api.ecliptica.ninja",
      "name": "Ecliptica AI Trading API",
      "@type": "Organization"
    },
    "identifier": "api-ecliptica-ninja-x402-portfolio",
    "description": "AI-powered portfolio analysis and trading recommendations via x402. Position management, risk assessment, and new trade ideas. Pay 0.15 USDC per call on Base.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=api-ecliptica-ninja-x402-portfolio",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "ai"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=api-ecliptica-ninja-x402-portfolio"
}
