Rate Limit for account_history_api.get_account_history (api.steemit.com)steemCreated with Sketch.

in #steemit3 years ago

You can test it by the following command

for i in {1..30}; do
curl -s --data "{"jsonrpc":"2.0", "method":"account_history_api.get_account_history", "params":{"account": "justyy", "start":$i, "limit":$i}, "id":1}" https://api.steemit.com
done

image.png

You will see:

{"jsonrpc":"2.0","error":{"id":1,"code":-32801,"message":"account_history_api.get_account_history upper limit is 20"}}

And

{"jsonrpc":"2.0","error":{"id":1,"code":-32801,"message":"this method is limited by 10r/s per ip"},"id":1}

So here are the limitations:

  1. the limit parameter upperbound is 20.
  2. the max request speed is 10 per second per ip.

Steem Blockchain

Steem to the Moon🚀!

  • You can swap the STEEM/SBD to ETH (Ethereum) via steem2eth!
  • You can swap the STEEM/SBD to Tether USDT (TRC-20) via steem2usdt!
  • You can swap the STEEM/SBD to TRX (TRON) via steem2trx!
  • You can swap the STEEM/SBD to BTS (BitShares) via steem2bts!
  • Register a free STEEM account at SteemYY!
Sort:  

!ask what is api.steemit.com?



api.steemit.com is the official JSON-RPC API for the Steem blockchain. It allows developers to send and receive data from Steem, such as reading user profiles, creating posts, voting and more.


command: !ask is powered by witness @justyy and his contributions are: SteemYY.com
More Commands are coming!. !ask is currently based on ChatGPT-3.5

!test !thumbup

Hello @justyy! You are Terrific!


command: !thumbup is powered by witness @justyy and his contributions are: SteemYY.com
More Commands are coming!

Coin Marketplace

STEEM 0.04
TRX 0.33
JST 0.104
BTC 64238.38
ETH 1792.25
USDT 1.00
SBD 0.39