Api Endpoint

HubVibe

Trading and portfolio math: returns and CAGR, volatility, Sharpe and Sortino, max drawdown, VaR/CVaR, beta, alpha and correlation vs a benchmark, SMA/EMA, RSI, Bollinger bands, Black-Scholes option price with Greeks, and the Kelly fraction, over prices you send or a ticker fetched live. Deterministic, every formula named, no LLM. Input: prices or symbol; optional metrics, benchmark, option, kelly.

Open interactive test console

Offering

Provider
hubvibe-io.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Financial Analysis
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://hubvibe-io.com/work/finance/analytics
MIME type
application/json
First seen
2026-10-16T01:50:53.972Z
Last seen
Tags
Trading, technical-analysis, Risk, sharpe-ratio, RSI

Payment pricing

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

Payment option 1
0.5 USDC
Atomic price: 500000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.5 USDC
Atomic price: 500000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "500000",
    "payTo": "0x837C40E2B4e976f43Ffb4451eE281A00fA9477dd"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "500000",
    "payTo": "J1K4mdbvXEbJLRKpgxFcA7s66LWMCYHu71ye6Hz2icSh"
  }
]

Observed health

Status
Reachable
Latest latency
50 ms
Average latency
163 ms
HTTP status
405
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": [
        "POST",
        "PUT",
        "PATCH"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "type": "object",
      "properties": {
        "prices": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "number",
                "exclusiveMinimum": 0
              },
              {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "string"
                  },
                  "close": {
                    "type": "number",
                    "exclusiveMinimum": 0
                  }
                },
                "required": [
                  "close"
                ],
                "additionalProperties": true
              }
            ]
          },
          "minItems": 2,
          "maxItems": 100000
        },
        "symbol": {
          "type": "string",
          "pattern": "^[A-Za-z][A-Za-z0-9.\\-]{0,11}$"
        },
        "range": {
          "type": "string",
          "enum": [
            "1d",
            "5d",
            "1mo",
            "3mo",
            "6mo",
            "1y",
            "2y",
            "5y"
          ]
        },
        "benchmark_prices": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "number",
                "exclusiveMinimum": 0
              },
              {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "string"
                  },
                  "close": {
                    "type": "number",
                    "exclusiveMinimum": 0
                  }
                },
                "required": [
                  "close"
                ],
                "additionalProperties": true
              }
            ]
          },
          "minItems": 2,
          "maxItems": 100000
        },
        "benchmark_symbol": {
          "type": "string",
          "pattern": "^[A-Za-z][A-Za-z0-9.\\-]{0,11}$"
        },
        "metrics": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "returns",
              "volatility",
              "sharpe",
              "sortino",
              "drawdown",
              "var",
              "beta",
              "moving_averages",
              "rsi",
              "bollinger",
              "black_scholes",
              "kelly"
            ]
          },
          "minItems": 1,
          "uniqueItems": true
        },
        "periods_per_year": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100000
        },
        "risk_free_rate": {
          "type": "number",
          "minimum": -1,
          "maximum": 10
        },
        "alpha": {
          "type": "number",
          "exclusiveMinimum": 0,
          "maximum": 0.5
        },
        "windows": {
          "type": "object",
          "properties": {
            "sma": {
              "oneOf": [
                {
                  "type": "integer",
                  "minimum": 2,
                  "maximum": 5000
                },
                {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "minimum": 2,
                    "maximum": 5000
                  },
                  "minItems": 1,
                  "maxItems": 10
                }
              ]
            },
            "ema": {
              "oneOf": [
                {
                  "type": "integer",
                  "minimum": 2,
                  "maximum": 5000
                },
                {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "minimum": 2,
                    "maximum": 5000
                  },
                  "minItems": 1,
                  "maxItems": 10
                }
              ]
            },
            "rsi": {
              "oneOf": [
                {
                  "type": "integer",
                  "minimum": 2,
                  "maximum": 5000
                },
                {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "minimum": 2,
                    "maximum": 5000
                  },
                  "minItems": 1,
                  "maxItems": 10
                }
              ]
            },
            "bollinger": {
              "oneOf": [
                {
                  "type": "integer",
                  "minimum": 2,
                  "maximum": 5000
                },
                {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "minimum": 2,
                    "maximum": 5000
                  },
                  "minItems": 1,
                  "maxItems": 10
                }
              ]
            }
          },
          "additionalProperties": false
        },
        "option": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "call",
                "put"
              ]
            },
            "strike": {
              "type": "number",
              "exclusiveMinimum": 0
            },
            "spot": {
              "type": "number",
              "exclusiveMinimum": 0
            },
            "rate": {
              "type": "number"
            },
            "volatility": {
              "type": "number",
              "exclusiveMinimum": 0
            },
            "time_to_expiry_years": {
              "type": "number",
              "exclusiveMinimum": 0
            },
            "dividend_yield": {
              "type": "number",
              "minimum": 0
            }
          },
          "required": [
            "type",
            "strike",
            "time_to_expiry_years"
          ],
          "additionalProperties": false
        },
        "kelly": {
          "type": "object",
          "properties": {
            "win_probability": {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            },
            "win_loss_ratio": {
              "type": "number",
              "exclusiveMinimum": 0
            }
          },
          "required": [
            "win_probability",
            "win_loss_ratio"
          ],
          "additionalProperties": false
        },
        "language": {
          "type": "string",
          "maxLength": 35,
          "pattern": "^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$"
        }
      },
      "required": [],
      "additionalProperties": false,
      "oneOf": [
        {
          "required": [
            "prices"
          ]
        },
        {
          "required": [
            "symbol"
          ]
        }
      ]
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "required": [
    "type"
  ],
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object"
    }
  }
}