Bitcoin Forum

Economy => Exchanges => Topic started by: karsyla on March 05, 2018, 09:23:39 PM



Title: upbit API
Post by: karsyla on March 05, 2018, 09:23:39 PM
Hello, does anybody know the URL for Ticker for upbit exchange?

https://upbit.com/home

Cannot find anything there and it seems they don't have english language there.

If anybody has that URL please share it here, thanks!!!!


Title: Re: upbit API
Post by: cryptofriendz on March 22, 2018, 01:13:05 PM
Looking for the same ideally websockets. Anyone?


Title: Re: upbit API
Post by: wouterds on March 28, 2018, 12:58:54 PM
I've found a few endpoints, and it's surely possible to get all the data by combining them, but far from ideal.
Also no documentation. Mainly looking for a ticker endpoint that lists all pairs here.

- https://ccx.upbit.com/api/v1/market_status/all
- https://crix-api.upbit.com/v1/crix/trades/ticks?code=CRIX.UPBIT.KRW-XRP&count=1
- https://crix-api.upbit.com/v1/crix/candles/minutes/240?code=CRIX.UPBIT.KRW-BTC&count=1
- wss://crix-websocket.upbit.com/sockjs/532/hxh4amls/websocket


Title: Re: upbit API
Post by: wouterds on March 28, 2018, 01:36:00 PM
I've found a few endpoints, and it's surely possible to get all the data by combining them, but far from ideal.
Also no documentation. Mainly looking for a ticker endpoint that lists all pairs here.

- https://ccx.upbit.com/api/v1/market_status/all
- https://crix-api.upbit.com/v1/crix/trades/ticks?code=CRIX.UPBIT.KRW-XRP&count=1
- https://crix-api.upbit.com/v1/crix/candles/minutes/240?code=CRIX.UPBIT.KRW-BTC&count=1
- wss://crix-websocket.upbit.com/sockjs/532/hxh4amls/websocket

So what you could do (in theory) is get all the pairs based on the `id` prop (which are at the moment of writing 356 unique pairs) and then make a separate call (through TOR?) to get details on each pair. But as I said, will be slow, unperformant and probably result in a rate limit ban when not using some kind of proxy service.

If any Korean speaking people can help out, be my guest. Guide me!


Title: Re: upbit API
Post by: wouterds on March 29, 2018, 11:24:18 AM
So what you could do (in theory) is get all the pairs based on the `id` prop (which are at the moment of writing 356 unique pairs) and then make a separate call (through TOR?) to get details on each pair. But as I said, will be slow, unperformant and probably result in a rate limit ban when not using some kind of proxy service.

If any Korean speaking people can help out, be my guest. Guide me!

I tried above but a full run took around 10 minutes with TOR and the regular HTTP API. I ended up using the `market_status/all` endpoint to get all the markets and using the websocket API to get realtime trade data for all these markets. That works fine, but a bit PITA as it's not really documented, they don't return valid json, ..


Title: Re: upbit API
Post by: davey76 on April 04, 2018, 02:54:19 PM
Does anybody know of endpoints to get the last prices?


Title: Re: upbit API
Post by: wouterds on April 09, 2018, 11:16:35 AM
Does anybody know of endpoints to get the last prices?

You can get it through the websocket endpoint I provided earlier.


Title: Re: upbit API
Post by: wouterds on April 09, 2018, 11:54:50 AM
Looks like upbit added auth to their https://ccx.upbit.com/api/v1/market_status/all endpoint  :-\..


Title: Re: upbit API
Post by: davey76 on April 09, 2018, 01:05:38 PM
Does anybody know of endpoints to get the last prices?

You can get it through the websocket endpoint I provided earlier.

I need a REST api


Title: Re: upbit API
Post by: wouterds on April 09, 2018, 01:10:02 PM
I need a REST api

They don't have it  :-\


Title: Re: upbit API
Post by: cryptofriendz on April 17, 2018, 06:28:03 PM
Can someone guide me with a little doc on how to implement their websockets?

I'm failing miserably.


Title: Re: upbit API
Post by: jayarjo on June 05, 2018, 02:50:33 PM
Can someone guide me with a little doc on how to implement their websockets?

Do they even have websockets accessible?

wss://crix-websocket.upbit.com/sockjs/532/hxh4amls/websocket doesn't seem to be functional :/


Title: Re: upbit API
Post by: pornluver on September 04, 2023, 11:54:19 AM
You can get data from

https://global-docs.upbit.com/reference/available-order-information

You combine orderbook and ticker

The problem is getting open order.

I am still looking for ways to get open order.