Bitcoin Forum

Other => Beginners & Help => Topic started by: cafter on March 06, 2023, 10:55:23 AM



Title: what is api and how to use it
Post by: cafter on March 06, 2023, 10:55:23 AM
Many times on exchanges i seen that api api and i searched on web about api
i really wanted this kind of small app like feature but i don't able to understand and run it
can anyone please tell what is api and how to use it , like order books , and many other site's api
like exchanges , long vs shorts, live orders ,
it will help to save time and space


Title: Re: what is api and how to use it
Post by: Macadonian on March 06, 2023, 11:29:58 AM
API means application programming interface.

What API are you trying to use? If you provide a link we can help you communicate with it because every api is different and they usually have documentation showing you how to use it.


Title: Re: what is api and how to use it
Post by: mailsats on March 06, 2023, 11:33:41 AM
Many times on exchanges i seen that api api and i searched on web about api
i really wanted this kind of small app like feature but i don't able to understand and run it
can anyone please tell what is api and how to use it , like order books , and many other site's api
like exchanges , long vs shorts, live orders ,
it will help to save time and space

Api is really cool, I can only tell you my limited experience...
There is much more to is,

anyways, it's a way to get info from a website... and then use the info on your own site,
so for example:
on your website you add in some simple 'get' code that references and api

let's say you want to have on your page, the current price of Bitcoin,
you could incorporate Coingeckos api data, which allows you to have their regularly updating data of the price of bitcoin, to update right on your site


Title: Re: what is api and how to use it
Post by: cafter on March 06, 2023, 12:15:17 PM
API means application programming interface.

What API are you trying to use? If you provide a link we can help you communicate with it because every api is different and they usually have documentation showing you how to use it.


this api:https://binance-docs.github.io/apidocs/spot/en/#market-data-endpoints


Title: Re: what is api and how to use it
Post by: witcher_sense on March 06, 2023, 12:58:45 PM
Many times on exchanges i seen that api api and i searched on web about api
i really wanted this kind of small app like feature but i don't able to understand and run it
can anyone please tell what is api and how to use it , like order books , and many other site's api
like exchanges , long vs shorts, live orders ,
it will help to save time and space
API is a convenient way for your application or service to interact with other application or service. It is fairly simple because you don't need to know how other application works on a low level, what language it is written in or how it handles incoming requests. You make requests to provided API endpoints, get some data in response and use this data in your application. Before making a request, however, you need to obtain a special API key from a service you are trying to connect to so that it knows that request is authorized and not coming from random source. If you are interested in using API of particular platform, you should consult its API documentation in which you will find how to find endpoints and how to create correct requests.