BLACK FRIDAY

All plans up to 50% off, only Nov 23 – Dec 6. Don’t miss out!

Get It Now

Futures API · SHFE

Rebar Futures (RB) Futures API - Real-Time Quotes & Historical Data

Access real-time futures quotes, OHLCV historical data and WebSocket streams for Rebar Futures (RB) on SHFE. Free API key included.

  • Real-time quote for RB on SHFE
  • OHLCV historical K-line data from 1-min to monthly
  • WebSocket streaming for real-time price updates
  • Free API key to start - simple REST & WebSocket access
import requests
import pandas as pd

# kType = bar interval (1 = 1-minute ... 10 = monthly, see docs)
url = "https://api.itick.org/future/kline"
params = {"region": "CN", "code": "RB", "kType": 8, "limit": 500}
headers = {"accept": "application/json", "token": "YOUR_API_TOKEN"}

bars = requests.get(url, params=params, headers=headers, timeout=10).json()["data"]
df = pd.DataFrame(bars).rename(columns={
    "t": "time", "o": "open", "h": "high", "l": "low", "c": "close", "v": "volume"
})
df["time"] = pd.to_datetime(df["time"], unit="ms")
df.to_csv("RB_ohlcv.csv", index=False)
print(df.tail())
Rebar Futures
3065.00-6.00 (-0.20%)
Code: RBExchange: SHFECurrency: CNYUpdated: 2026-11-30 15:00:02 UTC
Open3082.00
High3082.00
Low3058.00
Prev Close3071.00
Volume558,339
Turnover1,713,400,122
1W Change+1.76%
1M Change+1.59%

AboutRebar Futures

Rebar futures (RB) are traded on the Shanghai Futures Exchange (SHFE). They are the benchmark for steel rebar prices in China, the world's largest steel market.

API Access

Use the REST and WebSocket endpoints below with your API token.

REST Endpointhttps://api.itick.org/future/quote?region=CN&code=RB
WebSocket Endpointwss://api.itick.org/future

Get Rebar Futures (RB) data with Python

Query real-time futures quotes and historical data for RB via REST API.

  1. Sign up and get your free API token
  2. Use the /future/quote endpoint for real-time prices
  3. Use /future/kline for historical bars
import requests
import pandas as pd

# kType = bar interval (1 = 1-minute ... 10 = monthly, see docs)
url = "https://api.itick.org/future/kline"
params = {"region": "CN", "code": "RB", "kType": 8, "limit": 500}
headers = {"accept": "application/json", "token": "YOUR_API_TOKEN"}

bars = requests.get(url, params=params, headers=headers, timeout=10).json()["data"]
df = pd.DataFrame(bars).rename(columns={
    "t": "time", "o": "open", "h": "high", "l": "low", "c": "close", "v": "volume"
})
df["time"] = pd.to_datetime(df["time"], unit="ms")
df.to_csv("RB_ohlcv.csv", index=False)
print(df.tail())

FAQ: Rebar Futures (RB) Futures Data API

How do I get real-time Rebar Futures (RB) price data?

Sign up for a free iTick account, get your API token, and call the /future/quote endpoint with region=CN&code=RB. You can also subscribe via WebSocket for live streaming updates.

What data is available for Rebar Futures (RB)?

iTick provides real-time quotes (price, bid/ask, volume), OHLCV K-line bars from 1-minute to monthly, and tick-by-tick trade data for Rebar Futures on SHFE.

Is there a free plan for Rebar Futures (RB) data?

Yes. iTick offers a free plan that includes real-time quotes, historical K-line and tick data for personal use and evaluation. Paid plans add higher rate limits and commercial usage rights.

How do I access Rebar Futures (RB) historical data?

Use the /future/kline endpoint with region=CN&code=RB and choose your interval via the kType parameter (1=1min, 8=daily, etc.).

What is the latest price of Rebar Futures (RB)?

As of 2026-11-30 15:00:02 UTC, the latest price of Rebar Futures (RB) is 3065.00 CNY.

Start building with RB data today

Get a free API key and access real-time quotes, historical data and WebSocket streams in minutes.