Vestiarion Treasury API

The Treasury API from Vestiarion, for treasury.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

GET /api/v1/treasury Get the treasury #

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/vestiarion-xyz:vestiarion-xyz-treasury-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

vestiarion-xyz-treasury-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Vestiarion Treasury API
  version: v1
  description: Read a workspace's ledger, books, counterparties, milestones, treasury and insights, each payment's evidence and receipt and the monthly close pack, and add counterparties, invoices, milestones and payee links, with a workspace API key.
servers:
- url: https://www.vestiarion.xyz
tags:
- name: Treasury
paths:
  /api/v1/treasury:
    get:
      operationId: get-treasury
      summary: Get the treasury
      description: The workspace's accounts and reserve position, its obligations from the latest cycle snapshot, the latest liquidity forecast, and up to 20 recent treasury moves. Obligations stay `null` before any snapshot exists; the API does not invent zeroes.
      tags:
      - Treasury
      security:
      - bearerAuth: []
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetTreasuryResponse'
              example:
                data:
                  accounts:
                  - id: 55ce33e5-4b1c-47e6-838b-2446b80300c7
                    name: Base Client Wallet
                    kind: chain
                    chain: BASE-SEPOLIA
                    token: USDC
                    address: '0x4d10b4076a4975650e80d087fc9c99610ca76266'
                    balance: 0
                    apy: 0
                  - id: 6f32681d-2f32-4db2-9841-c44f9be25965
                    name: Arc Operating Wallet
                    kind: operating
                    chain: ARC-TESTNET
                    token: USDC
                    address: '0x2fafdda3f973e8f993911f1c2196d5e72d51d71d'
                    balance: 22.765
                    apy: 0
                  - id: 02a3c356-9571-4d5e-992a-5672dedba590
                    name: USYC Reserve
                    kind: reserve
                    chain: ARC-TESTNET
                    token: USYC
                    address: '0x8c99d5b1ee35e7d02887f5064a1b3f1a78a0ab66'
                    balance: 0
                    apy: 0.045
                  reservePosition: 0
                  obligations:
                    asOf: '2026-09-24T18:33:03.344+00:00'
                    dueWithin7Days: 11.2
                    dueWithin14Days: 11.2
                  latestForecast:
                    id: 73400ece-0f38-4695-9bad-3816650b71fb
                    asOf: '2026-09-24T18:33:03.226+00:00'
                    horizonDays: 14
                    projectedInflow: 9
                    projectedOutflow: 11.2
                    liquidBalance: 22.765
                    recommendation: Liquidity healthy.
                  recentActions: []
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: internal
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  schemas:
    GetTreasuryResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            accounts:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  kind:
                    type: string
                    enum:
                    - operating
                    - reserve
                    - chain
                  chain:
                    type: string
                  token:
                    type: string
                  address:
                    type:
                    - string
                    - 'null'
                  balance:
                    type: number
                  apy:
                    type: number
                required:
                - id
                - name
                - kind
                - chain
                - token
                - address
                - balance
                - apy
            reservePosition:
              type: number
              description: The sum of the reserve accounts' balances.
            obligations:
              type: object
              properties:
                asOf:
                  type:
                  - string
                  - 'null'
                dueWithin7Days:
                  type:
                  - number
                  - 'null'
                dueWithin14Days:
                  type:
                  - number
                  - 'null'
              required:
              - asOf
              - dueWithin7Days
              - dueWithin14Days
              description: From the latest cycle snapshot; null before any snapshot exists, never an invented zero.
            latestForecast:
              anyOf:
              - type: object
                properties:
                  id:
                    type: string
                  asOf:
                    type: string
                  horizonDays:
                    type: number
                  projectedInflow:
                    type: number
                  projectedOutflow:
                    type: number
                  liquidBalance:
                    type: number
                  recommendation:
                    type:
                    - string
                    - 'null'
                required:
                - id
                - asOf
                - horizonDays
                - projectedInflow
                - projectedOutflow
                - liquidBalance
                - recommendation
              - type: 'null'
            recentActions:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  action:
                    type: string
                    enum:
                    - sweep_to_usyc
                    - redeem_from_usyc
                    - rebalance
                  amount:
                    type: number
                  fromAccountId:
                    type:
                    - string
                    - 'null'
                  toAccountId:
                    type:
                    - string
                    - 'null'
                  reasoning:
                    type:
                    - string
                    - 'null'
                  createdAt:
                    type: string
                required:
                - id
                - action
                - amount
                - fromAccountId
                - toAccountId
                - reasoning
                - createdAt
              description: Up to 20 treasury moves, newest first.
          required:
          - accounts
          - reservePosition
          - obligations
          - latestForecast
          - recentActions
          description: The workspace's accounts, reserve, obligations, latest forecast and recent treasury moves.
      required:
      - data
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
              - unauthorized
              - forbidden
              - not_found
              - invalid_request
              - conflict
              - rate_limited
              - unavailable
              - internal
              description: One of a closed set, so a client can branch on it without parsing the message.
            message:
              type: string
              description: A human-readable explanation. Never carries internal detail.
          required:
          - code
          - message
      required:
      - error
      description: Every error the API returns has this shape.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'A workspace API key: vxk_<prefix>_<secret>.'