Tushare Opt Basic

1 credits/call
ae_tushare_opt_basic

Look up option contract codes and reference details, including the underlying asset, call or put type, strike price, term, and listing status.

Productivity
1 credits/call

Pricing

1 credits/call
ConditionCharge
Each call1 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
fieldsarrayNo指定返回字段,不传则返回默认字段。 默认字段: ts_code, exchange, name, per_unit, opt_code, opt_type, call_put, exercise_type, exercise_price, s_month, maturity_date, list_price, list_date, delist_date, last_edate, last_ddate, quote_unit, min_price_chg 额外可选字段: (所有字段均为默认返回,无需指定)—
ts_codestringNoTS期权代码—
call_putstringNo期权类型—
exchangestringNo交易所代码 (包括上交所SSE等[交易所](https://tushare.pro/document/2?doc_id=157))—
opt_codestringNo标准合约代码,OP+期货合约TS_CODE,如棕榈油2207合约,输入OPP2207.DCE—
list_datestringNo上市交易日—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_tushare_opt_basic' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "fields": [
      "ts_code"
    ],
    "opt_code": "OPJD2611.DCE"
  }
}'
Response exampleresponse.json
JSONPartial content
[
  {
    "ts_code": "JD2611-C-3350.DCE"
  }
]

This example shows part of the response. Copied content is valid JSON.