TipRanks Forecasts API
Retrieve TipRanks stock forecasts by ticker and expert type via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, ticker, and retrieve structured data including requested security ticker, source consensus label, source grouped target price, target-price currency, and consensus inclusion flag for forecast comparison, and expert history.
- Selected price
- $0.002 / billing creditPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
TipRanks Forecasts API
Prepare your request, then continue with your agent.
Pricing
$0.002 / billing credit
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
- Provider
- API
- Pricing
On this page
Overview
TipRanks Forecasts API
Use ticker and optionally expert_type=all, analyst or blogger. Each consensus or price_target group keeps its benchmark and period_months; expert records separately indicate whether they contribute to consensus.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | Required: ticker. Optional: expert_type. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks. |
| Selected implementation | apish · TipRanks forecast API |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Forecast comparison: Keep group benchmark, window and currency together.
- Expert history: Distinguish ratings included in consensus from other records.
Returned Data
| Field | Meaning |
|---|---|
ticker |
Requested security ticker |
consensus[].rating |
Source consensus label |
price_target[].price_target |
Source grouped target price |
price_target[].currency |
Target-price currency |
price_target[].period_months |
Source group period in months |
experts[].included_in_consensus |
Consensus inclusion flag |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
https://api.openany.si/v1/agent-apis/apish/tipranks/v1/forecast \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
--data-urlencode output=json \
--data-urlencode ticker=AAPL
Request and Response Examples
The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.
Published TipRanks Forecasts API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
apishCurrent TipRanks forecast API · GET · View API reference | $0.002 / billing credit | 0 | —successP50— |
- Pricing
- $0.002
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/apish/tipranks/v1/forecast- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
ticker | URL query parametersquery | string | Yes | Ticker, e.g. `AAPL` (UK listings as `GB:BP`). |
expert_type | URL query parametersquery | string | No | Filter the experts: `all` (default), `analyst` or `blogger`. enum: "all", "analyst", "blogger" |
raw | URL query parametersquery | string | No | 0 leaves out the bulky `raw` source blocks (often 10-30x smaller). enum: "0", "1" |
fields | URL query parametersquery | string | No | Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included. |
fresh | URL query parametersquery | string | No | 1 skips the 24-hour cache and fetches live. enum: "1" |
output | URL query parametersquery | string | No | JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed. enum: "json" |
records | URL query parametersquery | string | No | Native CSV/NDJSON record selector; it has no effect on this JSON-only product. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
best_consensus_over_time(object | string)[]buyintegerconsensusintegerdatestringholdintegerpriceTargetnumbersellinteger
blogger_sentimentobjectavgnumberbearishstringbearishCountintegerbullishstringbullishCountintegerneutralstringneutralCountintegerscoreinteger
cachedbooleanconsensus(object | string)[]benchmarkintegerbuyintegerholdintegerlatestbooleanmin_starsintegerperiod_monthsintegerratingstringsellinteger
consensus_over_time(object | string)[]buyintegerconsensusintegerdatestringholdintegerpriceTargetnumbersellinteger
credits_usedintegerexpert_countintegerexperts(object | string)[]average_returnnumberfirmstringgood_ratingsintegerincluded_in_consensusbooleanlatestobjectaction_idintegercurrencynulldatestringprevious_price_targetnullprice_targetnullratingstringsourcestringtitlestringurlstring
namestringpicturestring | nullrankingsobject[]avgReturnnumberbenchintegergRankintegergRecsintegerlRankintegeroriginalStarsnumberperiodintegerstarsnumbertPosintegertRecsinteger
ratingsobject[]action_idintegercurrencynulldatestringprevious_price_targetnullprice_targetnullratingstringsourcestringtitlestringurlstring
success_ratenumbertotal_ratingsintegertypestringuidstring
latest_ranked_consensusobjectbuyintegerholdintegerratingstringsellinteger
marketstringmonthly_ratings_summary(object | string)[]monthstringratingsSummaryobjectbuyintegerholdintegersellinteger
namestringprice_targetobject[]benchmarkintegercurrencystringhighintegerlowintegerperiod_monthsintegerprice_targetnumber
prices(object | string)[]dstringdatestringpnumber
smart_scoreobjectassetGrowthnumberreturnOnAssetsintegerreturnOnEquitynumberscoreintegersimpleMovingAverageintegersixMonthsMomentumintegertwelveMonthsMomentumnumbervolatilityLevelintegervolatilityLevelRatinginteger
tickerstringunranked_experts(object | string)[]average_returnintegerfirmstringgood_ratingsintegerincluded_in_consensusbooleanlatestobjectaction_idintegercurrencystring | nulldatestringprevious_price_targetinteger | nullprice_targetinteger | nullratingstringsourcestringtitlestringurlstring
namestringpicturenullrankingsunknown[]ratingsobject[]action_idintegercurrencystring | nulldatestringprevious_price_targetinteger | nullprice_targetinteger | nullratingstringsourcestringtitlestringurlstring
success_rateintegertotal_ratingsintegertypestringuidstring
Composite rule pricing
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.
| Fee item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| Actual API.SH credits consumed | $0.002000 / billing credit | Response · /credits_used · Numeric value | Always | 1 billing credit · Decimal places: 0 |
Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.
Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.
Pricing parameters and defaults
[]
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · Official documentation response · Supplier-tr
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 7
Review these request fields before running. Keep the published provider and request method unchanged.
ticker- Ticker, e.g. `AAPL` (UK listings as `GB:BP`).
expert_type- Filter the experts: `all` (default), `analyst` or `blogger`.
raw- 0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
fields- Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
fresh- 1 skips the 24-hour cache and fetches live.
output- JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.
records- Native CSV/NDJSON record selector; it has no effect on this JSON-only product.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/apish/tipranks/v1/forecast?output=json&ticker=AAPL' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "best_consensus_over_time": [ { "buy": 16, "consensus": 4, "date": "2025-10-31T00:00:00+00:00", "hold": 8, "priceTarget": 248.99916666666667, "sell": 1 }, { "buy": 16, "consensus": 4, "date": "2025-11-07T00:00:00+00:00", "hold": 7, "priceTarget": 287.7432857142857, "sell": 1 }, "… 52 more" ], "blogger_sentiment": { "avg": 0.627, "bearish": "35", "bearishCount": 134, "bullish": "57", "bullishCount": 222, "neutral": "8", "neutralCount": 32, "score": 2 }, "cached": false, "consensus": [ { "benchmark": 1, "buy": 15, "hold": 8, "latest": true, "min_stars": 1, "period_months": 3, "rating": "moderate_buy", "sell": 6 }, { "benchmark": 1, "buy": 14, "hold": 6, "latest": true, "min_stars": 2, "period_months": 3, "rating": "moderate_buy", "sell": 6 }, "… 63 more" ], "consensus_over_time": [ { "buy": 18, "consensus": 4, "date": "2025-10-31T00:00:00+00:00", "hold": 13, "priceTarget": 247.34217592592591, "sell": 2 }, { "buy": 18, "consensus": 4, "date": "2025-11-07T00:00:00+00:00", "hold": 12, "priceTarget": 263.045462962963, "sell": 2 }, "… 52 more" ], "credits_used": 1, "expert_count": 430, "experts": [ { "average_return": -0.0072, "firm": "Seeking Alpha", "good_ratings": 2, "included_in_consensus": false, "latest": { "action_id": 8, "currency": null, "date": "2026-11-05", "previous_price_target": null, "price_target": null, "rating": "buy", "source": "SeekingAlpha", "title": "Apple: Demand Is Not The Problem", "url": "https://seekingalpha.com/article/4962918-apple-demand-is-not-the-problem" }, "name": "Rick Orford", "picture": "https://tr-cdn.tipranks.com/expert-pictures/10942724_CD85B505F6_tsqr.jpg", "rankings": [ { "avgReturn": 0.116, "bench": 1, "gRank": 1638, "gRecs": 267, "lRank": 1010, "originalStars": 4.597833877518515, "period": 3, "stars": 4.6, "tPos": 1, "tRecs": 525 } ], "ratings": [ { "action_id": 8, "currency": null, "date": "2026-11-05", "previous_price_target": null, "price_target": null, "rating": "buy", "source": "SeekingAlpha", "title": "Apple: Demand Is Not The Problem", "url": "https://seekingalpha.com/article/4962918-apple-demand-is-not-the-problem" } ], "success_rate": 0.4, "total_ratings": 5, "type": "blogger", "uid": "73e2f205147adef212ac1d0660f945cba76b3341" }, { "average_return": 0.122428, "firm": "Investing.com", "good_ratings": 3, "included_in_consensus": false, "latest": { "action_id": 8, "currency": null, "date": "2026-11-05", "previous_price_target": null, "price_target": null, "rating": "buy", "source": "Investing", "title": "Best Mag7 dip buys: NVIDIA leads on valuation, Alphabet on RSI", "url": "https://www.investing.com/news/stock-market-news/best-mag7-dip-buys-nvidia-leads-on-valuation-alphabet-on-rsi-93CH-5005520" }, "name": "Investing.com", "picture": null, "rankings": [ { "avgReturn": 0.028, "bench": 1, "gRank": 7143, "gRecs": 240, "lRank": 3654, "originalStars": 3.5450346420323324, "period": 3, "stars": 3.5, "tPos": 1, "tRecs": 508 } ], "ratings": [ { "action_id": 8, "currency": null, "date": "2026-11-05", "previous_price_target": null, "price_target": null, "rating": "buy", "source": "Investing", "title": "Best Mag7 dip buys: NVIDIA leads on valuation, Alphabet on RSI", "url": "https://www.investing.com/news/stock-market-news/best-mag7-dip-buys-nvidia-leads-on-valuation-alphabet-on-rsi-93CH-5005520" } ], "success_rate": 0.42857142857, "total_ratings": 7, "type": "blogger", "uid": "87eac1d253cb77865cf21b98389729cabe9f4a11" }, "… 428 more" ], "latest_ranked_consensus": { "buy": 15, "hold": 8, "rating": "moderate_buy", "sell": 6 }, "market": "NASDAQ", "monthly_ratings_summary": [ { "month": "2026-06-01T00:00:00", "ratingsSummary": { "buy": 0, "hold": 1, "sell": 0 } }, { "month": "2026-07-01T00:00:00", "ratingsSummary": { "buy": 1, "hold": 2, "sell": 0 } }, "… 4 more" ], "name": "Apple", "price_target": [ { "benchmark": 1, "currency": "USD", "high": 400, "low": 250, "period_months": 3, "price_target": 337.61 }, { "benchmark": 0, "currency": "USD", "high": 400, "low": 250, "period_months": 0, "price_target": 339.75 } ], "prices": [ { "d": "6/11/25", "date": "2025-11-06T00:00:00", "p": 268.78 }, { "d": "7/11/25", "date": "2025-11-07T00:00:00", "p": 267.48 }, "… 259 more" ], "smart_score": { "assetGrowth": 12.6118, "returnOnAssets": 0, "returnOnEquity": 127.6146, "score": 7, "simpleMovingAverage": 1, "sixMonthsMomentum": 0, "twelveMonthsMomentum": 0.2787, "volatilityLevel": 0, "volatilityLevelRating": 2 }, "ticker": "AAPL", "unranked_experts": [ { "average_return": 0, "firm": "Seaport Global", "good_ratings": 0, "included_in_consensus": true, "latest": { "action_id": 5, "currency": "USD", "date": "2026-04-30", "previous_price_target": 320, "price_target": 330, "rating": "buy", "source": "TipRanks Contributor", "title": "Apple (AAPL): New Buy Recommendation for This Technology Giant", "url": "https://www.tipranks.com/news/blurbs/apple-aapl-new-buy-recommendation-for-this-technology-giant-blurbs-news-2" }, "name": "Unknown Analyst", "picture": null, "rankings": [], "ratings": [ { "action_id": 5, "currency": "USD", "date": "2026-04-30", "previous_price_target": 320, "price_target": 330, "rating": "buy", "source": "TipRanks Contributor", "title": "Apple (AAPL): New Buy Recommendation for This Technology Giant", "url": "https://www.tipranks.com/news/blurbs/apple-aapl-new-buy-recommendation-for-this-technology-giant-blurbs-news-2" } ], "success_rate": 0, "total_ratings": 0, "type": "analyst", "uid": "2d8c7b6352a20da34a12c83db3dd988b226a0c23" }, { "average_return": 0, "firm": "GF Securities", "good_ratings": 0, "included_in_consensus": true, "latest": { "action_id": 4, "currency": null, "date": "2026-07-31", "previous_price_target": null, "price_target": null, "rating": "hold", "source": "TipRanks Contributor", "title": "Apple (AAPL) was downgraded to a Hold Rating at GF Securities", "url": "https://www.tipranks.com/news/blurbs/apple-aapl-was-downgraded-to-a-hold-rating-at-gf-securities-blurbs-news" }, "name": "Unknown Analyst", "picture": null, "rankings": [], "ratings": [ { "action_id": 4, "currency": null, "date": "2026-07-31", "previous_price_target": null, "price_target": null, "rating": "hold", "source": "TipRanks Contributor", "title": "Apple (AAPL) was downgraded to a Hold Rating at GF Securities", "url": "https://www.tipranks.com/news/blurbs/apple-aapl-was-downgraded-to-a-hold-rating-at-gf-securities-blurbs-news" } ], "success_rate": 0, "total_ratings": 0, "type": "analyst", "uid": "5ba740b241eb1c2d40f0f4bd78ba99636ea64491" }, "… 55 more" ] }