Tushare Us Tycr

1 credits/call
ae_tushare_us_tycr

Look up nominal U.S. Treasury yields by date and maturity.

Productivity
1 credits/call

Pricing

1 credits/call
ConditionCharge
Each call1 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
datestringNo日期 (YYYYMMDD格式,下同)—
fieldsarrayNo指定返回字段,不传则返回默认字段。 默认字段: date, m1, m2, m3, m4, m6, y1, y2, y3, y5, y7, y10, y20, y30 额外可选字段: (所有字段均为默认返回,无需指定)—
end_datestringNo结束日期—
start_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_us_tycr' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "end_date": "20261109",
    "fields": [
      "date",
      "y5",
      "y10",
      "y30"
    ],
    "start_date": "20260801"
  }
}'
Response exampleresponse.json
JSONPartial content
[
  {
    "date": "20261106",
    "y10": 4.86,
    "y30": 5.26,
    "y5": 4.64
  }
]

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