Skip to content

Option Chain

GET /v1/quote/{symbol}/option-chain

Get the option chain for a given underlying symbol within a specified expiration date range.

Parameters

NameTypeInRequiredDescription
symbolstringpathyesOption underlying code, e.g. HK.00700, US.AAPL, HK.800000 (HSI).
startstringquerynoStart expiration date yyyy-MM-dd (inclusive), omit for no lower bound.
endstringquerynoEnd expiration date yyyy-MM-dd (inclusive), omit for no upper bound.
index_option_typeintquerynoIndex option type, required only for index underlyings, omit for regular stocks. See Naming Dictionary.
filter_standardstringquerynoFilter by standard/non-standard options, default ALL. See Naming Dictionary.

Request Example

bash
curl '$ip/v1/quote/HK.00700/option-chain?start=2026-05-01&end=2026-05-31' | jq

Response Fields

Returns data.option_chain[], each element is one CALL or PUT contract:

FieldTypeDescription
codestringOption contract code, e.g. HK.TCH260528C230000.
stock_iduint64Option contract internal numeric ID.
namestringContract name, e.g. 腾讯 260528 230.00 购.
lot_sizeintShares per lot, e.g. 100.
stock_typestringSecurity type, fixed DRVT for option contracts.
option_typestringOption direction: CALL / PUT.
stock_ownerstringUnderlying stock code, e.g. HK.00700.
strike_timestringStrike date yyyy-MM-dd.
strike_pricenumberStrike price (restored to actual value).
index_option_typestringIndex option type: NORMAL / SMALL / N/A.
expiration_cyclestringExpiration cycle. See Naming Dictionary.
option_standard_typestringOption standard type: STANDARD / NON_STANDARD / N/A.

Supported Markets

  • Supported markets: HK / US / JP; other markets return ret_code=-8 unsupported.
  • Index underlyings must pass index_option_type; regular stocks should not pass this parameter.
  • Backend returns a maximum of 20 expiration dates per query (nearest dates first); for more expiration dates, split requests by start / end ranges.

Error Codes

ret_codeerror.codeTrigger ScenarioSuggested Handling
0Success
-3invalid_parametersymbol / start / end / index_option_type / filter_standard value is invalidCorrect request parameters and retry
-7invalid_symbolPath symbol not found in security databaseVerify code validity via search API
-8unsupportedsymbol market not in HK / US / JPThis market does not support option chain, no need to retry
-10no_dataValid underlying but no option contracts in current date range (including empty after filtering)Treat as no option data for this underlying in current range
-5internal_errorGateway internal error / backend call failure / timeoutRetry later or contact platform

Response Example

json
{
  "ret_code": 0,
  "ret_msg": "",
  "data": {
    "option_chain": [
      {
        "code": "HK.TCH260528C230000",
        "stock_id": 81210697,
        "name": "腾讯 260528 230.00 购",
        "lot_size": 100,
        "stock_type": "DRVT",
        "option_type": "CALL",
        "stock_owner": "HK.00700",
        "strike_time": "2026-05-28",
        "strike_price": 230,
        "index_option_type": "N/A",
        "expiration_cycle": "MONTH",
        "option_standard_type": "STANDARD"
      }
    ]
  }
}