{
  "x402Version": 2,
  "id": 37566,
  "slug": "37566",
  "resource": "https://api.vextorium.com/v1/portfolio-valuation",
  "description": "Value a crypto portfolio such as {\"BTC\": 0.1, \"ETH\": 2}: current value and weight of each holding and total; with a start date, its value then, return, annualized volatility and maximum drawdown. Prices from DefiLlama.",
  "type": "http",
  "serviceName": "Vextorium",
  "resourceType": "Security",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "HcjfmZLgWRZzwj4deEiS7pewc4KBYSw39mW5nTyt3pz2",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:10",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
      "amount": "5000",
      "maxTimeoutSeconds": 604900
    },
    {
      "scheme": "exact",
      "network": "eip155:5042",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3600000000000000000000000000000000000000",
      "amount": "5000",
      "maxTimeoutSeconds": 604900
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "historical": {
            "properties": {
              "annual_volatility_pct": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "initial_value_usd": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "max_drop_pct": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "return_pct": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "since": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": [
              "object",
              "null"
            ]
          },
          "positions": {
            "items": {
              "properties": {
                "amount": {
                  "type": [
                    "null",
                    "number"
                  ]
                },
                "asset": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "price": {
                  "type": [
                    "null",
                    "number"
                  ]
                },
                "value_usd": {
                  "type": [
                    "null",
                    "number"
                  ]
                },
                "weight_pct": {
                  "type": [
                    "null",
                    "number"
                  ]
                }
              },
              "type": [
                "null",
                "object"
              ]
            },
            "type": [
              "array",
              "null"
            ]
          },
          "source": {
            "type": [
              "string",
              "null"
            ]
          },
          "total_value_usd": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "type": [
          "object",
          "null"
        ]
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "positions": {
              "BTC": 0.1,
              "ETH": 2
            },
            "since": "2026-01-01"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "historical": {
              "annual_volatility_pct": 47.35,
              "initial_value_usd": 14747.05,
              "max_drop_pct": -45.41,
              "return_pct": -5.27,
              "since": "2026-01-01"
            },
            "positions": [
              {
                "amount": 0.1,
                "asset": "BTC",
                "price": 85593.85189565028,
                "value_usd": 8559.39,
                "weight_pct": 61.27
              },
              {
                "amount": 2,
                "asset": "ETH",
                "price": 2705.5148904133916,
                "value_usd": 5411.03,
                "weight_pct": 38.73
              }
            ],
            "source": "DefiLlama aggregated prices",
            "total_value_usd": 13970.41
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "positions": {
                    "description": "Asset -> quantity (up to 20)",
                    "type": "object"
                  },
                  "since": {
                    "description": "Start date for performance (optional)",
                    "type": "string"
                  }
                },
                "required": [
                  "positions"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "historical": {
                    "properties": {
                      "annual_volatility_pct": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "initial_value_usd": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "max_drop_pct": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "return_pct": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "since": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "positions": {
                    "items": {
                      "properties": {
                        "amount": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "asset": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "price": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "value_usd": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "weight_pct": {
                          "type": [
                            "null",
                            "number"
                          ]
                        }
                      },
                      "type": [
                        "null",
                        "object"
                      ]
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "source": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "total_value_usd": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "portfolio",
    "valuation",
    "performance",
    "crypto",
    "risk",
    "bazaar"
  ],
  "sourceHost": "api.vextorium.com",
  "lastUpdated": "2026-10-06T00:33:53.559Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-06T00:33:53.313Z"
  },
  "metadata": {
    "serviceName": "Vextorium",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "positions": {
                "BTC": 0.1,
                "ETH": 2
              },
              "since": "2026-01-01"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "historical": {
                "annual_volatility_pct": 47.35,
                "initial_value_usd": 14747.05,
                "max_drop_pct": -45.41,
                "return_pct": -5.27,
                "since": "2026-01-01"
              },
              "positions": [
                {
                  "amount": 0.1,
                  "asset": "BTC",
                  "price": 85593.85189565028,
                  "value_usd": 8559.39,
                  "weight_pct": 61.27
                },
                {
                  "amount": 2,
                  "asset": "ETH",
                  "price": 2705.5148904133916,
                  "value_usd": 5411.03,
                  "weight_pct": 38.73
                }
              ],
              "source": "DefiLlama aggregated prices",
              "total_value_usd": 13970.41
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "positions": {
                      "description": "Asset -> quantity (up to 20)",
                      "type": "object"
                    },
                    "since": {
                      "description": "Start date for performance (optional)",
                      "type": "string"
                    }
                  },
                  "required": [
                    "positions"
                  ]
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "historical": {
                      "properties": {
                        "annual_volatility_pct": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "initial_value_usd": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "max_drop_pct": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "return_pct": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "since": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "positions": {
                      "items": {
                        "properties": {
                          "amount": {
                            "type": [
                              "null",
                              "number"
                            ]
                          },
                          "asset": {
                            "type": [
                              "null",
                              "string"
                            ]
                          },
                          "price": {
                            "type": [
                              "null",
                              "number"
                            ]
                          },
                          "value_usd": {
                            "type": [
                              "null",
                              "number"
                            ]
                          },
                          "weight_pct": {
                            "type": [
                              "null",
                              "number"
                            ]
                          }
                        },
                        "type": [
                          "null",
                          "object"
                        ]
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "source": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "total_value_usd": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.vextorium.com",
    "manifest_name": "api.vextorium.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "historical": {
        "annual_volatility_pct": 0,
        "initial_value_usd": 0,
        "max_drop_pct": 0,
        "return_pct": 0,
        "since": "string"
      },
      "positions": [
        {
          "amount": null,
          "asset": null,
          "price": null,
          "value_usd": null,
          "weight_pct": null
        }
      ],
      "source": "string",
      "total_value_usd": 0
    },
    "type": "string"
  }
}