Get Price Target
get_price_targetAnalyst price-target consensus for a company — high, low, mean, and median 12-month price targets, and when they were last updated. Requires your own PAID Finnhub API key with price-target access, passed as _apiKey — Pipeworx's shared key is on a lower plan and cannot reach this endpoint. For free analyst buy/hold/sell trends without a key requirement beyond the shared one, use get_recommendation_trends instead. Example: get_price_target({ symbol: "AAPL", _apiKey: "your_finnhub_key" })
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "AAPL"
},
"name": "get_price_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Stock ticker symbol, e.g. "AAPL", "MSFT", "TSLA" | |
| _apiKey | Yes | Your own Finnhub API key on a PAID plan that includes price-target data (finnhub.io/pricing). The shared Pipeworx key is on a lower plan and cannot reach this endpoint, unlike the other tools in this pack. Free analyst buy/hold/sell trends are available without this via get_recommendation_trends. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Data source attribution | |
| symbol | Yes | Stock ticker symbol | |
| target_low | Yes | Lowest analyst price target | |
| target_high | Yes | Highest analyst price target | |
| target_mean | Yes | Mean analyst price target | |
| last_updated | Yes | When the price-target consensus was last updated | |
| target_median | Yes | Median analyst price target |