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

What is a read-only API?

Última actualización: 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.

La información proporcionada en este sitio web es de naturaleza general y no constituye asesoramiento fiscal, contable o legal. Ha sido elaborado sin tener en cuenta tus objetivos, situación financiera o necesidades. Antes de actuar sobre la base de esta información, debe considerar la idoneidad de la información teniendo en cuenta sus propios objetivos, situación financiera y necesidades y buscar asesoramiento profesional. Cryptotaxcalculator renuncia a todas las garantías, compromisos y garantías, expresas o implícitas, y no es responsable de ninguna pérdida o daño de ningún tipo (incluidos errores humanos o informáticos, negligentes o de otro tipo, o pérdidas o daños incidentales o consecuentes) que surjan de o en conexión con cualquier uso o confianza en la información o asesoramiento de este sitio web. El usuario debe aceptar la responsabilidad exclusiva asociada con el uso del material en este sitio, independientemente del propósito para el cual se aplique dicho uso o resultados. La información contenida en este sitio web no sustituye el asesoramiento de un especialista.

Comience gratis

Importe sus transacciones y genere una vista previa del informe gratuita
No se requiere tarjeta de crédito
CryptoTaxCalculator

DISEÑADO PARA LA PRECISIÓN

Calco