Barfinex
All exchanges
Rakuten Securities

Rakuten Securities

Coming SoonAsia-Pacific Brokers
connectorType: "rakuten_securities"

Major Japanese online brokerage

Connection Architecture

Rakuten Securities
WebSocket / REST
Connector
libs/exchange-rakuten-securities
Provider
:8081/api
Detector
Advisor
Studio

The connector receives data from the exchange and feeds it to Provider (port 8081). From there — to Detector, Advisor, and Studio.

Technologies

Transport
REST Polling
Authentication
API Key + Secret
Data Format
JSON

Best for

  • Japanese domestic investors seeking programmatic access to TSE-listed equities.
  • Global investors who want a regulated Japanese gateway to domestic and US stocks.
  • Rakuten ecosystem users combining brokerage with loyalty points and banking services.

Connect via code

1Environment variables (.env)

RAKUTEN_API_KEY=your_key_here
RAKUTEN_API_SECRET=your_secret_here

2Connector configuration

// config/config.provider.json
{
  "provider": {
    "connectors": [
      {
        "connectorType": "rakuten_securities",
        "enabled": true,
        "key": "${RAKUTEN_API_KEY}",
        "secret": "${RAKUTEN_API_SECRET}",
        "markets": [
          { "marketType": "spot", "symbols": [{ "name": "BTCUSDT" }] }
        ],
        "subscriptions": [
          { "type": "PROVIDER_MARKETDATA_CANDLE", "symbols": ["BTCUSDT"], "intervals": ["min1", "h1"], "active": true },
          { "type": "PROVIDER_MARKETDATA_TRADE", "symbols": ["BTCUSDT"], "active": true },
          { "type": "PROVIDER_MARKETDATA_ORDERBOOK", "symbols": ["BTCUSDT"], "active": true }
        ]
      }
    ]
  }
}

3Verify and query data

# Verify connection
curl -H "Authorization: Bearer $PROVIDER_API_TOKEN" \
  https://localhost:8081/api/exchanges/runtime-proof

# Candles (last 7 days)
curl -H "Authorization: Bearer $PROVIDER_API_TOKEN" \
  "https://localhost:8081/api/candles/rakuten_securities/spot/BTCUSDT/h1?days=7"

Available via Barfinex API

/api/candles/rakuten_securities/...
/api/trades/rakuten_securities/...
/api/orderbook/rakuten_securities/...
/api/account/rakuten_securities/...
/api/symbols/rakuten_securities/...
/api/assets/rakuten_securities/...

Studio graphical setup — in development, coming in the next release.

Important

API access is only available to verified Japanese residents with an active Rakuten Securities account.
Trading hours follow JST (Japan Standard Time); ensure time-range queries account for the TSE session schedule.
Supported Markets
Spot
Connect in Studio(soon)
Exchange Website

Let’s Get in Touch

Have questions or want to explore Barfinex? Send us a message.