Skip to content

Introduction

Qeychain is a REST API for cryptoassets portfolio tracking and U.S. tax reporting, built for financial advisors, RIAs, and the applications that serve them. Point it at a client’s public wallet addresses and it returns current holdings, FIFO cost basis, unrealized gain/loss, full transaction history, and IRS-ready tax reports — all valued in USD.

This reference covers everything you need to authenticate, make your first call, and understand the shape of every response.

All requests go to the production host:

https://api.qeychain.xyz

Every supported endpoint lives under the /api/v1 prefix, for example https://api.qeychain.xyz/api/v1/wallets/{address}/dashboard.

Qeychain exposes two surfaces:

  • v1 (/api/v1) — supported. The institutional product API. Every response uses a standardized envelope, carries a request ID for tracing, supports pagination on list endpoints, and returns typed, machine-readable error codes. Build all new integrations here.
  • Legacy (/api/...) — deprecated. An older surface kept only for backward compatibility with existing clients. It receives no new features. Migrate to v1.
  • Track wallets across multiple chains and roll several addresses up into a single view.
  • Read holdings and cost basis — current positions, per-asset holdings intelligence, FIFO cost basis, and unrealized gain/loss:
    • GET /api/v1/wallets/{address}/dashboard
    • GET /api/v1/wallets/{address}/positions
    • GET /api/v1/wallets/{address}/holdings
    • GET /api/v1/wallets/{address}/cost-basis
    • GET /api/v1/wallets/{address}/lots
  • Pull transaction history — paginated, filterable by type, chain, asset, and date range, with spam filtering:
    • GET /api/v1/wallets/{address}/transactions
  • Generate IRS tax reports — Form 8949, Schedule 1, and a tax summary with estimated liability:
    • GET /api/v1/wallets/{address}/tax-reports/8949
    • GET /api/v1/wallets/{address}/tax-reports/schedule-1
    • GET /api/v1/wallets/{address}/tax-reports/summary

Qeychain tracks fungible tokens and native coins only — there is no NFT support. All valuation is in USD.

Chain Address format Notes
EVM (Ethereum and EVM-compatible networks) 0x + 40 hex characters A single address is resolved across many EVM networks
Bitcoin bc1… (bech32) or 1… / 3… (legacy) Native BTC
Solana base58 Native SOL and SPL tokens
  • Authentication — get a token and make authenticated requests.
  • Quickstart — your first end-to-end call.
  • Response format — the envelope, pagination, and error shape shared by every v1 endpoint.