get_price_target

Pack: finnhub · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_price_target for the schema, then POST the same URL with its arguments for the data.

Analyst price-target consensus for a company — high, low, mean, and median 12-month price targets, and when they were last updated. Example: get_price_target({ symbol: “AAPL” })

Parameters

NameTypeRequiredDescription
symbolstringyesStock ticker symbol, e.g. “AAPL”, “MSFT”, “TSLA”
_apiKeystringyesFinnhub API key (get one free at finnhub.io)

Example call

Arguments

{
  "symbol": "AAPL"
}

curl

curl -X POST https://gateway.pipeworx.io/finnhub/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_price_target","arguments":{"symbol":"AAPL"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_price_target', {
  "symbol": "AAPL"
});

More examples

{
  "symbol": "MSFT"
}

Response shape

Always returns: symbol, source, last_updated, target_high, target_low, target_mean, target_median

FieldTypeDescription
symbolstringStock ticker symbol
sourcestringData source attribution
last_updatedstring | nullWhen the price-target consensus was last updated
target_highnumber | nullHighest analyst price target
target_lownumber | nullLowest analyst price target
target_meannumber | nullMean analyst price target
target_mediannumber | nullMedian analyst price target
Full JSON Schema
{
  "type": "object",
  "properties": {
    "symbol": {
      "type": "string",
      "description": "Stock ticker symbol"
    },
    "source": {
      "type": "string",
      "description": "Data source attribution"
    },
    "last_updated": {
      "type": [
        "string",
        "null"
      ],
      "description": "When the price-target consensus was last updated"
    },
    "target_high": {
      "type": [
        "number",
        "null"
      ],
      "description": "Highest analyst price target"
    },
    "target_low": {
      "type": [
        "number",
        "null"
      ],
      "description": "Lowest analyst price target"
    },
    "target_mean": {
      "type": [
        "number",
        "null"
      ],
      "description": "Mean analyst price target"
    },
    "target_median": {
      "type": [
        "number",
        "null"
      ],
      "description": "Median analyst price target"
    }
  },
  "required": [
    "symbol",
    "source",
    "last_updated",
    "target_high",
    "target_low",
    "target_mean",
    "target_median"
  ]
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the finnhub pack
{
  "mcpServers": {
    "finnhub": {
      "url": "https://gateway.pipeworx.io/finnhub/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 3, 2026