Veli Performance API

Portfolio performance and returns

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/veli/refs/heads/main/json-schema/veli-portfolio-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/veli/refs/heads/main/json-schema/veli-strategy-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/veli/refs/heads/main/json-schema/veli-position-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/veli/refs/heads/main/json-schema/veli-order-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/veli/refs/heads/main/json-schema/veli-asset-allocation-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/veli/refs/heads/main/json-schema/veli-performance-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/veli/refs/heads/main/json-schema/veli-create-portfolio-request-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/veli/refs/heads/main/json-structure/veli-portfolio-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/veli/refs/heads/main/json-structure/veli-strategy-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/veli/refs/heads/main/json-structure/veli-position-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/veli/refs/heads/main/json-structure/veli-order-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/veli/refs/heads/main/json-structure/veli-asset-allocation-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/veli/refs/heads/main/json-structure/veli-performance-response-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/veli/refs/heads/main/json-structure/veli-create-portfolio-request-structure.json

Other Resources

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/veli-performance-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

veli-performance-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Veli Orders Performance API
  description: The Veli API enables financial platforms and crypto exchanges to integrate automated investment strategies for their users. Partners retain custody and execution while Veli handles strategy logic, rebalancing signals, fee collection, and performance reporting for crypto portfolios.
  version: '1.0'
  contact:
    name: Veli Support
    url: https://veli.io/
  license:
    name: Veli Terms of Service
    url: https://veli.io/terms
  x-generated-from: documentation
servers:
- url: https://api.veli.io/v1
  description: Veli API
security:
- BearerAuth: []
tags:
- name: Performance
  description: Portfolio performance and returns
paths:
  /portfolios/{portfolioId}/performance:
    get:
      operationId: getPerformance
      summary: Veli Get Performance
      description: Returns portfolio performance metrics including total return, annualized return, Sharpe ratio, and time-series data for specified date ranges.
      tags:
      - Performance
      parameters:
      - name: portfolioId
        in: path
        required: true
        description: Portfolio identifier
        schema:
          type: string
        example: port-abc123
      - name: period
        in: query
        description: 'Time period: 1d, 7d, 1m, 3m, 1y, all'
        schema:
          type: string
          enum:
          - 1d
          - 7d
          - 1m
          - 3m
          - 1y
          - all
          default: 1m
      responses:
        '200':
          description: Portfolio performance metrics
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PerformanceResponse'
              examples:
                GetPerformance200Example:
                  summary: Default getPerformance 200 response
                  x-microcks-default: true
                  value:
                    portfolioId: port-abc123
                    period: 1m
                    totalReturn: 0.08
                    annualizedReturn: 0.96
                    sharpeRatio: 1.8
                    startValue: 4861.81
                    endValue: 5250.75
        '404':
          description: Portfolio not found
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    PerformanceResponse:
      type: object
      description: Portfolio performance metrics
      properties:
        portfolioId:
          type: string
        period:
          type: string
          example: 1m
        totalReturn:
          type: number
          description: Total return for period (e.g. 0.08 = 8%)
          example: 0.08
        annualizedReturn:
          type: number
          description: Annualized return
          example: 0.96
        sharpeRatio:
          type: number
          description: Sharpe ratio
          example: 1.8
        startValue:
          type: number
          description: Portfolio value at start of period
          example: 4861.81
        endValue:
          type: number
          description: Portfolio value at end of period
          example: 5250.75
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT Bearer token for API authentication