Planned: not available yet
API, command-line, and AI assistant access
How can I request TradeRecount data and calculations from my own code, terminal, or AI assistant?
The website, the command-line tool, and the AI assistant connection will all use one service. An API is a service that accepts structured requests and returns results. So the same request will give the same figures, whatever method you use.
A CLI, or command-line interface, is a program that you use through commands in a terminal. It will let you repeat a data request or a calculation with a script. MCP, or Model Context Protocol, is a connection method that lets an AI assistant request data through tools.
When you ask an AI assistant a question in words, the question will become a structured request. The calculation service, not the assistant, will produce the figures. Each answer will name its source, date range, coverage, and assumptions.
Who it is for
- Developers who build their own research tools
- They need a documented API with stable fields, so that their code gets the same results each time.
- Traders and developers who work in a terminal
- They need to repeat data requests and calculations from scripts, without the website.
- People who ask data questions through an AI assistant
- They need answers with figures from a calculation service, plus the source and coverage of each figure.
What you will get
- An API that returns recorded option prices and calculation results in a structured format.
- A command-line tool that sends the same requests from a terminal or a script.
- An MCP connection that lets a supported AI assistant use the same requests as tools.
- The source, date range, coverage, and assumptions with each result.
- Documentation with the request fields, the result fields, and worked examples.
What it will need from you
- An access key for your account. Keep it private and do not put it in shared code.
- A structured request: the contract or contracts, the dates, and the calculation that you need.
- For the AI assistant connection, an assistant that supports MCP.
How it will work
- Read the documentation for the request that you need.
- Get an access key for your account.
- Send a request through the API, the command-line tool, or your AI assistant.
- Read the source, coverage, and assumptions with each result.
Limits
- All access methods use the same records. A minute bar shows recorded trades, not a price that you could have traded at.
- A missing bar can mean that no trade occurred or that source data is missing. The service will not invent prices for gaps.
- Coverage will be checked for each request. Archive counts do not prove that every contract or minute is present.
- An AI assistant can explain a result incorrectly. Compare its words with the figures and the coverage that the service returns.
- Results are records and arithmetic. They are not investment advice.
Common questions
Will the API give different results from the website?
No. The website, the command-line tool, and the AI assistant connection will use the same API and the same calculation rules.
Does the AI assistant calculate the figures?
No. The assistant changes your question into a structured request. The calculation service produces the figures and returns them with their source and coverage.
Which AI assistants will work with the MCP connection?
An assistant that supports MCP tools can use the connection. The documentation will list the assistants that were tested.