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

What is a read-only API?

Dernière mise à jour: 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.

Les informations fournies sur ce site Web sont de nature générale et ne constituent pas des conseils fiscaux, comptables ou juridiques. Il a été préparé sans tenir compte de vos objectifs, de votre situation financière ou de vos besoins. Avant d'agir sur la base de ces informations, vous devez évaluer leur pertinence par rapport à vos propres objectifs, votre situation financière et vos besoins et demander conseil à un professionnel. Cryptotaxcalculator décline toutes garanties, engagements et garanties, expresses ou implicites, et n'est pas responsable de toute perte ou dommage de quelque nature que ce soit (y compris une erreur humaine ou informatique, négligente ou autre, ou une perte ou un dommage accidentel ou consécutif) découlant de, ou dans connexion avec, toute utilisation ou confiance dans les informations ou les conseils contenus dans ce site Web. L'utilisateur doit accepter l'entière responsabilité associée à l'utilisation du matériel de ce site, quel que soit le but pour lequel cette utilisation ou ces résultats sont appliqués. Les informations contenues sur ce site Web ne remplacent pas les conseils d'un spécialiste.

Commencez sans frais

Importez vos transactions et générez un aperçu gratuit de la déclaration fiscale
Sans carte de crédit
CryptoTaxCalculator

CONÇU POUR LA PRÉCISION

Calco