Resources/blog/What is a read-only API?

What is a read-only API?

Last Updated: a year ago
what-is-read-only-api

To understand what a read-only API is, first we have to understand what an API is more generally. API stands for ‘application programming interface’. It is a set of definitions and protocols used when building application software. Previously, we’ve gone into detail on how smart contracts work. An API is not too different, in that it lets products communicate with each other. As an example, if a second party is connecting to an API, the API’s contract will dictate how the second party can interact with its product. APIs are built to simplify the interoperability of products so that they can interact with each other with minimal friction.

What is the difference of a read-only API?

If an API is used to facilitate interoperability between software, what is the difference between that and a read-only API? In the crypto world, read-only APIs are used by platforms to allow their users to share information with other applications. A read-only API restricts the second party interacting with it so that they cannot modify or action anything, and can only “view” the available data. An example of this in practice is granting crypto tax software (like us!) read-only access to an exchange account so we can aggregate your transaction history on that platform for your tax purposes. In contrast, an example of a trading API would be granting a trading bot full reign over your exchange account to make trades on your behalf.

How does Crypto Tax Calculator use APIs?

The majority of our 600+ integrations allow for API connections to streamline the aggregation of your crypto transaction history. Our software will never require anything more than ‘read-only’ or ‘view’ API keys, meaning that we can never access your crypto assets, but merely can provide you with your historical data.

As an example, let’s look at how Crypto Tax Calculator’s software interacts with Binance’s API. If a user wants to create an API connection between the two platforms, they can follow the steps outlined on this page. Doing so will allow Crypto Tax Calculator to request your transaction history from the Binance API in order to load your transactions so that you can begin to calculate your taxes. The benefit of importing data via an API over a CSV is that it enables our software to keep your transaction records up to date. If you choose to import your data with a CSV, then you will have to re-upload a CSV to maintain up-to-date trading records. An API connection will maintain these records for you as long as you click the ‘resync’ button when you want an updated view.

Disclaimer: The content of this guide is for general informational purposes only. It is not legal or tax advice. Viewing this guide, purchasing or using Crypto Tax Calculator does not create an attorney-client relationship or a tax advisor-client relationship.

The information in this guide represents the opinions of experienced crypto tax professionals; however, some of the topics in this guide are still subject to debate amongst professionals, and tax authorities could ultimately release guidance that conflicts with the information in this guide. The information contained in this guide is based on the authors’ interpretation of current guidelines. Changes to the guidelines may be retroactive and could significantly alter the views expressed herein. Therefore, use this information at your own risk and for information purposes only.

Consult a professional regarding your individual tax or legal situation.

The information provided on this website is general in nature and is not tax, accounting or legal advice. It has been prepared without taking into account your objectives, financial situation or needs. Before acting on this information, you should consider the appropriateness of the information having regard to your own objectives, financial situation and needs and seek professional advice. Cryptotaxcalculator disclaims all and any guarantees, undertakings and warranties, expressed or implied, and is not liable for any loss or damage whatsoever (including human or computer error, negligent or otherwise, or incidental or Consequential Loss or damage) arising out of, or in connection with, any use or reliance on the information or advice in this website. The user must accept sole responsibility associated with the use of the material on this site, irrespective of the purpose for which such use or results are applied. The information in this website is no substitute for specialist advice.

Get started for free

Import your transactions and generate a free report preview
No credit card required
CryptoTaxCalculator

BUILT FOR ACCURACY

Calco
Privacy policy
Terms of Service
Security
(415) 818-8823
315 Montgomery St, San Francisco, CA 94104