Viewing: Plans & Data Freshness

Plans & Data Freshness

Prices are delayed about 15 minutes on Free and Starter, and real-time on Pro and above. This page shows how to tell which you got in each response, and how to choose.

Price freshness by plan

PlanPricesdata_mode=realtime
Free, StarterDelayed about 15 minutesNot available. Returns 403 PLAN_LIMIT
Pro, Business, EnterpriseReal-timeAvailable

How to tell in a response

Price responses include is_delayed: true means delayed prices, false means real-time.

json
{
  "symbol": "2222",
  "price": 26.38,
  "updated_at": "2026-11-26T13:00:00+00:00",
  "is_delayed": true
}

Choosing with data_mode

Quote, batch quotes, and the market endpoints accept data_mode:

  • delayed — delayed prices, on every plan.
  • realtime — real-time prices, Pro and above only.
  • Omitted — your plan's default.
curl "https://api.sahmk.sa/api/v1/quote/2222/?data_mode=delayed" \
     -H "X-API-Key: YOUR_API_KEY"

Real-time products

Trades, market depth, and WebSocket streams need Pro or above. The auction field is always null on delayed data.

Plan badges in these docs

  • Free — available on every plan.
  • Starter+ — needs Starter or above.
  • Pro+ — needs Pro or above.

Trying endpoints in these docs without a key also returns delayed data. Compare plans

Last updated on