Tensorust LLC Records API
Wallet Lot Ledger: crypto cost basis records for Form 1099-DA and Form 8949
Wallet Lot Ledger: crypto cost basis records for Form 1099-DA and Form 8949
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/tensorust-com:tensorust-com-records-api"
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.
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: 3.2.0
info:
title: Tensorust Records API
version: 1.0.0
summary: 'Receipts-first data and free tools: real crates.io downloads, LLM API prices, The Manual, reports.'
description: 'Current values are free with no key: 60 requests a minute per IP; an enterprise key lifts the limits. Full history (/history/*, /bulk/*) and research need an enterprise API key (API Enterprise, $60,000 a year: https://tensorust.com/offers/enterprise-api/) sent as `Authorization: Bearer tdk_...` or `X-API-Key`. 60 requests a minute per IP (HTTP 429 with Retry-After beyond that). Every record has a `url` to cite and, for prices and numbers, a source and check date. Bulk JSON without limits: https://tensorust.com/data/v1/index.json. MCP server: https://mcp.tensorust.com/mcp. Data license: CC BY 4.0, credit Tensorust with a link.'
contact:
name: Tensorust
email: matt@tensorust.com
url: https://tensorust.com/developers/
license:
name: CC BY 4.0 (data)
url: https://creativecommons.org/licenses/by/4.0/
servers:
- url: https://api.tensorust.com/v1
tags:
- name: Records
description: 'Wallet Lot Ledger: crypto cost basis records for Form 1099-DA and Form 8949'
paths:
/wll:
get:
tags:
- Records
operationId: walletLotLedger
summary: 'Wallet Lot Ledger: what it returns and what it costs (free)'
responses:
'200':
description: Product, prices and paths
content:
application/json:
schema:
type: object
'400':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/RateLimited'
/wll/exposure/{chain}/{address}:
get:
tags:
- Records
operationId: transferInExposure
summary: 'Free check: which outbound transfers from a wallet went to a broker'
description: Units transferred into a broker are noncovered on Form 1099-DA (box 9 checked, no basis). Lists each outbound transfer to an exchange-like destination with units, time and transaction hash. No prices or lots. Read-only public chain data. Not tax advice.
parameters:
- name: chain
in: path
required: true
description: btc, eth or sol (base, arb, op, polygon when the server has an explorer key)
schema:
type: string
- name: address
in: path
required: true
description: Wallet address
schema:
type: string
- name: max_tx
in: query
required: false
description: Transaction cap, 50-1500 (default 1500)
schema:
type: integer
responses:
'200':
description: Exposure
content:
application/json:
schema:
type: object
'400':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/RateLimited'
/wll/lots/{chain}/{address}:
get:
tags:
- Records
operationId: walletLots
summary: Per-wallet lot ledger ($25 per wallet pull, x402)
description: Every acquisition lot with USD price, price source, transaction hash and block; every outbound transfer with the lots it carried and their basis; exceptions; Rev. Proc. 2024-28 status. FIFO within the wallet (Treas. Reg. 1.1012-1(j)). Pay over HTTP 402 (USDC on Base). Not tax advice.
parameters:
- name: chain
in: path
required: true
description: btc, eth or sol
schema:
type: string
- name: address
in: path
required: true
description: Wallet address
schema:
type: string
- name: format
in: query
required: false
description: json (default), csv or html
schema:
type: string
enum:
- json
- csv
- html
- name: firm
in: query
required: false
description: Firm name printed on the html report
schema:
type: string
- name: max_tx
in: query
required: false
description: Transaction cap (default 2500)
schema:
type: integer
responses:
'200':
description: Lot ledger
'400':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/PaymentRequired'
'502':
$ref: '#/components/responses/Error'
/wll/match-1099da:
post:
tags:
- Records
operationId: match1099da
summary: Match Form 1099-DA transfer-in lines to wallet transactions ($25 per wallet +…
description: Give the wallets and the broker lines (box 12a units, box 12b date; optional sale date and proceeds). Returns each line tied to the outbound chain transaction, the lots those units carried, and Form 8949 rows (box H or K, column e basis) with the transaction hash and price source on every row. Unmatched lines and unsupported units are listed, never forced. Not tax advice.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- wallets
properties:
wallets:
type: array
items:
type: object
required:
- chain
- address
properties:
chain:
type: string
address:
type: string
lines:
type: array
items:
type: object
required:
- asset
- units
- transfer_date
properties:
asset:
type: string
units:
type: string
transfer_date:
type: string
description: YYYY-MM-DD, box 12b
broker:
type: string
sale_date:
type: string
proceeds_usd:
type: string
firm:
type: string
client:
type: string
format:
type: string
enum:
- json
- csv
- html
responses:
'200':
description: Match report
'400':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/PaymentRequired'
'502':
$ref: '#/components/responses/Error'
components:
responses:
RateLimited:
description: Over 60 requests a minute; see Retry-After
headers:
Retry-After:
schema:
type: integer
content:
application/json:
schema:
type: object
properties:
error:
type: string
Error:
description: Error
content:
application/json:
schema:
type: object
properties:
error:
type: string
description: What went wrong and how to fix the call
PaymentRequired:
description: Legacy x402 response; per-call payment is retired and paid calls now answer 401.
headers:
PAYMENT-REQUIRED:
schema:
type: string
content:
application/json:
schema:
type: object
properties:
error:
type: string
price:
type: object
accepts:
type: array
items:
type: object
securitySchemes:
bearer:
type: http
scheme: bearer
description: Enterprise API key tdk_... (https://tensorust.com/offers/enterprise-api/)
apiKey:
type: apiKey
in: header
name: X-API-Key
externalDocs:
url: https://tensorust.com/developers/
description: Docs with curl, Python and JavaScript examples