Veli · JSON Structure

Veli Position Structure

Current asset position in a portfolio

Type: object Properties: 7
CryptoDeFiFinanceInvestmentPortfolio-Management

Position is a JSON Structure definition published by Veli, describing 7 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

symbol quantity averageCost currentPrice currentValue unrealizedPnL allocationPct

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/veli/refs/heads/main/json-structure/veli-position-structure.json",
  "name": "Position",
  "description": "Current asset position in a portfolio",
  "type": "object",
  "properties": {
    "symbol": {
      "type": "string",
      "description": "Crypto asset symbol",
      "example": "BTC"
    },
    "quantity": {
      "type": "double",
      "description": "Number of units held",
      "example": 0.045
    },
    "averageCost": {
      "type": "double",
      "description": "Average cost per unit in base currency",
      "example": 42000.0
    },
    "currentPrice": {
      "type": "double",
      "description": "Current market price per unit",
      "example": 68000.0
    },
    "currentValue": {
      "type": "double",
      "description": "Current total position value",
      "example": 3060.0
    },
    "unrealizedPnL": {
      "type": "double",
      "description": "Unrealized profit/loss",
      "example": 1170.0
    },
    "allocationPct": {
      "type": "double",
      "description": "Actual allocation percentage",
      "example": 0.583
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/veli-position-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.