Skip to content
Eden Engine

Stock Quotes: China A-Shares, Hong Kong and US (Tencent Finance)

tencentgtimgquotes/stock-quote

Live quotes from Tencent Finance for one to 20 symbols at a time on the Shanghai (sh), Shenzhen (sz), Beijing (bj), Hong Kong (hk) and US (us) markets, indices included: for example sh600000, sz000001, hk00700, usAAPL, sh000001. Each quote has the name, code, currency, last price, previous close, open, volume, change, percent change, day high, day low and quote time in the exchange's local time, plus the full raw field list. Volume is in lots of 100 shares for China A-shares and in shares elsewhere. Quotes can be delayed by the exchange. An unknown code returns no quote for it. Tencent Finance data, served by Eden Engine; not an official Tencent product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.

Data source

Tencent Finance

Quote data from Tencent Finance (qt.gtimg.cn). Served by Eden Engine; not an official Tencent product.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "tencentgtimgquotes/stock-quote" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "tencentgtimgquotes/stock-quote" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "tencentgtimgquotes/stock-quote", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "tencentgtimgquotes/stock-quote", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 28, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "codes"
  ],
  "properties": {
    "codes": {
      "type": "string",
      "pattern": "^(sh|sz|bj|hk|us)[A-Za-z0-9.]{1,12}(,(sh|sz|bj|hk|us)[A-Za-z0-9.]{1,12}){0,19}$",
      "maxLength": 400,
      "minLength": 3,
      "description": "One to 20 symbols separated by commas, each a market prefix (sh, sz, bj, hk, us) followed by the code, for example 'sh600000', 'hk00700,usAAPL' or 'sh000001,sz399001'."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "quotes"
  ],
  "properties": {
    "quotes": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "symbol",
          "name",
          "code",
          "price",
          "raw_fields"
        ],
        "properties": {
          "low": {
            "type": [
              "number",
              "null"
            ],
            "description": "Day low."
          },
          "code": {
            "type": "string",
            "description": "Exchange code, for example 600000 or AAPL.OQ."
          },
          "high": {
            "type": [
              "number",
              "null"
            ],
            "description": "Day high."
          },
          "name": {
            "type": "string",
            "description": "Security name, mostly Chinese."
          },
          "open": {
            "type": [
              "number",
              "null"
            ],
            "description": "Opening price."
          },
          "time": {
            "type": [
              "string",
              "null"
            ],
            "description": "Quote time in the exchange's local time, YYYY-MM-DD HH:MM:SS, no offset."
          },
          "price": {
            "type": [
              "number",
              "null"
            ],
            "description": "Last price."
          },
          "change": {
            "type": [
              "number",
              "null"
            ],
            "description": "Change against the previous close."
          },
          "symbol": {
            "type": "string",
            "description": "The requested symbol, for example sh600000."
          },
          "volume": {
            "type": [
              "number",
              "null"
            ],
            "description": "Traded volume: lots of 100 shares for China A-shares, shares for Hong Kong and US."
          },
          "currency": {
            "type": [
              "string",
              "null"
            ],
            "description": "CNY for sh, sz and bj, HKD for hk, USD for us."
          },
          "raw_fields": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Every field of the upstream line in order; positions after the named ones differ by market."
          },
          "change_percent": {
            "type": [
              "number",
              "null"
            ],
            "description": "Percent change."
          },
          "previous_close": {
            "type": [
              "number",
              "null"
            ],
            "description": "Previous close."
          }
        },
        "additionalProperties": true
      }
    }
  },
  "description": "The quotes the upstream knew, in the order it returned them; empty when none of the codes is known.",
  "additionalProperties": false
}