{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "business-utils-agent-up-railway-app-kpi-roi",
  "title": "Business Utils \u00b7 Calculate ROI",
  "url": "https://business-utils-agent.up.railway.app/kpi/roi",
  "category": "tools",
  "summary": "Compute ROI percentage from investment gain and cost inputs.",
  "seo": {
    "title": "Business Utils ROI Calculator - x402 on Base",
    "description": "Calculate Return on Investment via x402 API on Base. Input gain and cost, receive percentage ROI. $0.002 USDC per call."
  },
  "use_cases": [
    "Calculate investment returns",
    "Automate financial reporting",
    "Build ROI comparison tools"
  ],
  "ideal_buyer": "Financial analysts and business tool developers needing automated ROI calculations.",
  "example_prompt": "Calculate the ROI for an investment with $500 gain and $2000 cost.",
  "example_request_body": {
    "cost": 2000,
    "gain": 500
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "cheap",
    "ratio": 0.2,
    "median_category_atomic": 10000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "verified_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0xf2cdd270a62c06427245f66dd0c3af5b700d10c5",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "2000",
      "max_timeout_seconds": 60,
      "description": "Calculate Return on Investment (ROI).",
      "verified": true,
      "hints": {
        "input": {
          "type": "http",
          "method": "POST"
        },
        "output": {
          "input": {
            "type": "http",
            "method": "POST",
            "bodyType": "json",
            "bodyFields": {
              "required": [
                "gain",
                "cost"
              ],
              "properties": {
                "cost": {
                  "type": "number",
                  "description": "Cost or initial investment amount"
                },
                "gain": {
                  "type": "number",
                  "description": "Gain or profit from the investment"
                }
              }
            }
          },
          "output": {
            "properties": {
              "roi": {
                "type": "number",
                "description": "Return on Investment as decimal (e.g., 0.5 for 50%)"
              },
              "percentage": {
                "type": "number",
                "description": "Return on Investment as percentage"
              }
            }
          }
        }
      }
    }
  ],
  "origin": {
    "slug": "business-utils-agent-up-railway-app",
    "host": "business-utils-agent.up.railway.app",
    "title": "Business Utils Agent (Railway)",
    "description": "x402-payable API endpoint hosted on Railway. Application status currently unavailable; origin may be under deployment or configuration.",
    "url": "https://business-utils-agent.up.railway.app"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/business-utils-agent-up-railway-app-kpi-roi",
    "url": "https://x402all.com/resource/business-utils-agent-up-railway-app-kpi-roi",
    "name": "Business Utils \u00b7 Calculate ROI",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/business-utils-agent-up-railway-app-kpi-roi",
      "@type": "Offer",
      "price": "0.002",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.002000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://business-utils-agent.up.railway.app/kpi/roi",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/business-utils-agent-up-railway-app",
      "url": "https://business-utils-agent.up.railway.app",
      "name": "Business Utils Agent (Railway)",
      "@type": "Organization"
    },
    "identifier": "business-utils-agent-up-railway-app-kpi-roi",
    "description": "Calculate Return on Investment via x402 API on Base. Input gain and cost, receive percentage ROI. $0.002 USDC per call.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=business-utils-agent-up-railway-app-kpi-roi",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "tools"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=business-utils-agent-up-railway-app-kpi-roi"
}
