<p>You can solve this problem by making a request to <a href="https://www.okex.com/api/v1/tickers.do" rel="nofollow noreferrer">https://www.okex.com/api/v1/tickers.do</a> (without the <code>symbol</code> parameter). This will give you all the tickers in one request.</p>

CC BY-SA 3.0
2018-03-14T19:55:42.240Z
Genius! But why I can't find this way on https://www.okex.com/rest_api.html#spapi   page?
Кирилл Вишняков
CC BY-SA 3.0
2018-03-15T21:48:56.977Z
It's not completely documented, but the closest thing I found was on https://github.com/okcoin-okex/OKEx.com-api-docs/blob/master/API-For-Spot-EN/REST%20API%20for%20SPOT.md#spot-price-api.
Coinwoke
CC BY-SA 3.0
2018-03-14T19:52:02.100Z
2018-03-14T19:52:02.100Z
Coinwoke
<p>do you know about api requests cryptocurrency exchanges? Simple ticker request may be viewed like this: <a href="https://api.kucoin.com/v1/open/tick" rel="nofollow noreferrer">https://api.kucoin.com/v1/open/tick</a> or like this: <a href="https://www.okex.com/api/v1/ticker.do?symbol=ltc_btc" rel="nofollow noreferrer">https://www.okex.com/api/v1/ticker.do?symbol=ltc_btc</a></p>

<p>Different: in first case we get info about all currencies in one request and then pick up certain symbols and parameters, we need. Symbols are the keys of dictionaries or lists and other params are their values.</p>

<p>In second case I should create new request for each currencies I considering. Is it neccesary? If I consider, for instance 60 symbols, and do operations with them in Python - programm bot become slow enough. One-two ticker requests are long about 30 sec - for compare, in first case - 5 sec.</p>

<p>How can I solve this problem? Thanks.</p>

<exchanges><api><currencies>
QUESTION ABOUT SLOW API
Кирилл Вишняков
# QUESTION ABOUT SLOW API

(Asked by: username_0 on 2018-03-11)

do you know about api requests cryptocurrency exchanges? Simple ticker request may be viewed like this: <https://api.kucoin.com/v1/open/tick> or like this: <https://www.okex.com/api/v1/ticker.do?symbol=ltc_btc>

Different: in first case we get info about all currencies in one request and then pick up certain symbols and parameters, we need. Symbols are the keys of dictionaries or lists and other params are their values.

In second case I should create new request for each currencies I considering. Is it neccesary? If I consider, for instance 60 symbols, and do operations with them in Python - programm bot become slow enough. One-two ticker requests are long about 30 sec - for compare, in first case - 5 sec.

How can I solve this problem? Thanks.

**Tags:** exchanges, api, currencies


---

## 1 answers

### Answer by username_1 on 2018-03-14. Score: 1 | Accepted answer

You can solve this problem by making a request to <https://www.okex.com/api/v1/tickers.do> (without the `symbol` parameter). This will give you all the tickers in one request.

> **Comments:**
> **username_0**: Genius! But why I can't find this way on https://www.okex.com/rest_api.html#spapi   page?  
> **username_1**: It's not completely documented, but the closest thing I found was on https://github.com/okcoin-okex/OKEx.com-api-docs/blob/master/API-For-Spot-EN/REST%20API%20for%20SPOT.md#spot-price-api.  

---

