Skip to the content

Scraper API

TipRanks

tipranks.forecastAvailable

TipRanks forecast

The analysts' consensus rating, the buy, hold and sell counts of the past 3 months, the average, highest and lowest 12-month price targets, how many targets they rest on, the current price and the distance to the average.

Give it a stock's ticker (AAPL, BRK.B), or the address of its page on TipRanks.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
1, 1 required
Record
14 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/tipranks.forecast/runs

{
"input": {
"ticker": "AAPL"
}
}

sent, and answered

a record of the run14 fields

{
ticker: "AAPL"
company: "Apple"
url: "https://www.tipranks.com/stocks/aapl/forecast"
consensus: "Moderate Buy"
buy_ratings: 15
hold_ratings: 8
sell_ratings: 6
analysts: 29
average_price_target: 343.69
… 5 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 14 fields are set down here; the whole record is below.

tipranks.com
The page TipRanks forecast reads, as a browser shows it
The page this scraper reads, photographed in a browser on 19 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Screen stocks by analyst view
Read a list of tickers and sort them by change_to_average_percent or consensus.
Track a stock's consensus
Read it every day and follow average_price_target, buy_ratings and sell_ratings.
Add analyst targets to a model
Join average_price_target, high_price_target and low_price_target to your own prices by ticker.

What you send

A stock's ticker (AAPL, BRK.B), or the address of its page on TipRanks. It is the one input.

tickerstring Required
The stock's ticker as TipRanks writes it in its addresses (AAPL, MSFT, BRK.B), or the address of its page.

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/tipranks.forecast/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"ticker":"AAPL"}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("tipranks.forecast", {"ticker": "AAPL"})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("tipranks.forecast", { ticker: "AAPL" });
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "tipranks.forecast", map[string]any{"ticker": "AAPL"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("tipranks.forecast", Map.of("ticker", "AAPL"));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run tipranks.forecast --input ticker=AAPL

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

The analysts' consensus rating, the buy, hold and sell counts of the past 3 months, the average, highest and lowest 12-month price targets, how many targets they rest on, the current price and the distance to the average. A record has 14 fields. One we could not read is null, never an empty string or a zero.

A record tipranks.forecast returned
{
  "ticker": "AAPL",
  "company": "Apple",
  "url": "https://www.tipranks.com/stocks/aapl/forecast",
  "consensus": "Moderate Buy",
  "buy_ratings": 15,
  "hold_ratings": 8,
  "sell_ratings": 6,
  "analysts": 29,
  "average_price_target": 343.69,
  "high_price_target": 425,
  "low_price_target": 261,
  "current_price": 352.45,
  "change_to_average_percent": -2.48,
  "fetched_at": "2026-11-19T22:02:45.805558Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

The fields of a record

tickerstring
The stock's ticker, as TipRanks writes it, e.g. AAPL.
companystring or null
The company's name, e.g. Apple.
urlstring
The stock's forecast page on tipranks.com.
consensusstring or null
The analysts' consensus rating, e.g. Moderate Buy, Strong Buy, Hold.
buy_ratingsinteger or null
Buy ratings in the past 3 months.
hold_ratingsinteger or null
Hold ratings in the past 3 months.
sell_ratingsinteger or null
Sell ratings in the past 3 months.
analystsinteger or null
How many 12-month price targets the average is based on.
average_price_targetnumber or null
The average 12-month price target, in the stock's currency.
high_price_targetnumber or null
The highest price target.
low_price_targetnumber or null
The lowest price target.
current_pricenumber or null
The price the targets are compared with, as the page states it.
change_to_average_percentnumber or null
How far the average target is from the current price, in percent; negative when below it.
fetched_atdatetime
When the page was read, in UTC.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • One run reads one stock.
  • The individual analysts' ratings are not returned.

Scraper API pricing: how units workThe five ways a run ends

Questions

What does TipRanks forecast return?

The analysts' consensus rating, the buy, hold and sell counts of the past 3 months, the average, highest and lowest 12-month price targets, how many targets they rest on, the current price and the distance to the average. A record has 14 fields, among them ticker, company, url, consensus, buy_ratings and hold_ratings. A value that could not be read is null, never an empty string or a zero.

What do I send?

A stock's ticker (AAPL, BRK.B), or the address of its page on TipRanks. The input ticker is required.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

What does it not do?

One run reads one stock. The individual analysts' ratings are not returned.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id tipranks.forecast and the same input. It costs what the same API call costs.

TipRanks

Wall Street analysts' consensus on a stock, as TipRanks' forecast pages show it: the rating, how many rate it buy, hold or sell, and their price targets.

TipRanks on the line-up

Where
Worldwide

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.