---
title: "Stock Analysis Tools: Analyst Ratings via API"
description: "Stock analysis tools for your AI agent: analyst ratings, quotes and fundamentals from two sources, compared. One real run for $0.15. Data only, no advice."
canonical: "https://dev.monid.ai/tutorial/how-to-monid-stock-research"
---

# What do two sources say about this stock?

> Stock analysis tools for your AI agent: analyst ratings, quotes and fundamentals from two sources, compared. One real run for $0.15. Data only, no advice.

- Web page: https://dev.monid.ai/tutorial/how-to-monid-stock-research
- Tools for this job: [Equities](https://dev.monid.ai/tools/equities.md)

## Set up

Paste this to your agent once. It installs the Monid skill and asks for an API key from app.monid.ai.

```text
set up https://monid.ai/SKILL.md
```

## Jobs

Each job is a sentence to paste into your agent. Replace the parts in angle brackets.

### 1. The quote and the basics

Ask your agent:

```text
get the quote for <ticker> with nasdaq on monid: last sale, day range and the 52-week range. then pull a second source and tell me where the two differ
```

Listed price: $0.01 per quote.

Endpoints for this job:

- [`nasdaq /get_stock_quote`](https://dev.monid.ai/tools/nasdaq.md), $0.01 (the one this guide ran)
- [`yahoo-finance /get_quote`](https://dev.monid.ai/tools/yahoo-finance.md), $0.05 (the one this guide ran)
- [`defillama /equities/v1/summary`](https://dev.monid.ai/tools/defillama.md), $0.0006
- `api.strale.io /x402/stock-quote`, $0.0594

What a real run returned:

- **the cheap one**: last sale, the prior close, the day range and the 52-week range for a cent
- **the other one**: the market cap, a trailing and a forward earnings multiple, for five cents
- **the disagreement**: the same after-hours minute, quoted with a 14-cent spread by one source and a four-dollar spread by the other
- **one parameter is inert**: passing the wrong exchange to that provider returned byte-identical data and billed anyway, so the field is accepted and ignored rather than validated
- **the read**: neither is wrong; they are sampling different books, which is why a single source hides it

### 2. Revenue, margins and the ratios

Ask your agent:

```text
pull the fundamentals for <ticker> with marketbeat and stockanalysis on monid and put the two side by side, then rank the fields by how far apart they are. the headline figures usually agree; the balance-sheet ratios are where they part, and on our second run one differed by more than three hundred percent
```

Listed price: $0.02 two sources.

Endpoints for this job:

- [`marketbeat /get_profitability_metrics`](https://dev.monid.ai/tools/marketbeat.md), $0.01 (the one this guide ran)
- [`stockanalysis /get_stock_financials_income`](https://dev.monid.ai/tools/stockanalysis.md), $0.01 (the one this guide ran)
- [`nasdaq /get_stock_financials`](https://dev.monid.ai/tools/nasdaq.md), $0.01
- [`defillama /equities/v1/statements`](https://dev.monid.ai/tools/defillama.md), $0.0006

What a real run returned:

- **they agree**: annual revenue and the net margin match to the decimal across both providers
- **the detail**: one adds a gross and an operating margin, the other adds beta and debt to equity
- **the arithmetic usually checks out**: on a second ticker revenue times the margin matched the printed net income to 0.01% on one source and exactly on the other, so that reconciliation is not where the problem is
- **where they actually part**: debt to equity came back as 0.07 and 0.29 for the same company on the same day, a gap of more than three hundred percent, next to return on assets 32.7% apart and market value 38.4% apart
- **the self-contradiction**: revenue times the margin does not equal the net income printed four lines below it, in the same response
- **why**: one figure is trailing twelve months and the other is a prior fiscal year, unlabelled

### 3. What the analysts say

Ask your agent:

```text
get the analyst consensus and price target for <ticker> from two providers on monid and show me both, including how many analysts each counted. do not pick one for me
```

Listed price: $0.02 two sources.

Endpoints for this job:

- [`marketbeat /get_stock_forecast`](https://dev.monid.ai/tools/marketbeat.md), $0.01 (the one this guide ran)
- [`stockanalysis /get_stock_statistics`](https://dev.monid.ai/tools/stockanalysis.md), $0.01 (the one this guide ran)
- [`marketbeat /get_analyst_ratings`](https://dev.monid.ai/tools/marketbeat.md), $0.02
- [`yahoo-finance /get_quote`](https://dev.monid.ai/tools/yahoo-finance.md), $0.05 (the one this guide ran)

What a real run returned:

- **source A**: the word Buy, across 55 analysts, with a target about 1% below the other
- **source B**: the words Strong Buy, across 61 analysts, on the same day
- **what that is**: a different panel and a different label, not a change in the market
- **they can contradict categorically**: on a second ticker one source said Moderate Buy and the other said Strong Buy on the same day, which is not a spread but a different verdict
- **empty fields**: one provider's price-target field comes back blank, and its rating field holds a dollar figure instead of a word

### 4. The last report and the next date

Ask your agent:

```text
get the earnings history and next report date for <ticker> from two providers on monid. tell me which of them labels the date an estimate
```

Listed price: $0.02 two sources.

Endpoints for this job:

- [`nasdaq /get_stock_earnings`](https://dev.monid.ai/tools/nasdaq.md), $0.01 (the one this guide ran)
- [`marketbeat /get_earnings`](https://dev.monid.ai/tools/marketbeat.md), $0.01 (the one this guide ran)
- [`nasdaq /get_earnings_calendar`](https://dev.monid.ai/tools/nasdaq.md), $0.01
- [`defillama /equities/v1/filings`](https://dev.monid.ai/tools/defillama.md), $0.0006

What a real run returned:

- **the last quarter**: reported earnings per share came in above the consensus, with both figures returned
- **the next date**: the two sources are one day apart
- **the honest one**: the provider calling it an algorithmic estimate flags it; the other marks the same kind of date as certain
- **a field called history with none in it**: that endpoint returns a single key named history containing only forward estimates and no actuals at all, and the estimates are never revised: on a second ticker its figure sat 12.6% below what the company had already reported
- **so anything reading that key reports the wrong number**: treat it as an estimate feed and take actuals from the other provider
- **what is missing**: the forward-estimate endpoint never returns actual reported figures, even for quarters already closed

### 5. Who bought or sold, and when

Ask your agent:

```text
pull the insider transactions for <ticker> with marketbeat on monid, then split the corporate officers from the legislative disclosures before you report anything: most of the feed is the second kind, most of those rows carry a dollar band instead of a share count, and there is no ticker column to check any of it against
```

Listed price: $0.01 per company.

Endpoints for this job:

- [`marketbeat /get_insider_trades`](https://dev.monid.ai/tools/marketbeat.md), $0.01 (the one this guide ran)
- [`secform4 /get_insider_buys`](https://dev.monid.ai/tools/secform4.md), $0.01 (the one this guide ran)
- [`secform4 /get_insider_sales`](https://dev.monid.ai/tools/secform4.md), $0.01
- [`finviz /get_insider_trading`](https://dev.monid.ai/tools/finviz.md), $0.01

What a real run returned:

- **what came back**: named officers with share counts, prices and dates, the largest a block of sales worth hundreds of millions
- **most of it is not insiders**: on a second ticker only 13 of 100 rows were corporate insiders and 86 were legislative disclosures, and one row was a newsletter signup blurb scraped in as data with its buy-sell field undefined
- **and most rows carry no share count**: 87 of 100 left the share count empty and 86 printed a dollar band such as $15,001 to $50,000 instead of a number, so who bought how many at what price is unanswerable on most of the feed
- **the extra**: a sitting legislator's disclosed trade appears in the same feed under the disclosure act
- **you cannot verify it from the response**: the payload carries no ticker column at all, so an instruction to check the rows belong to the company you asked for cannot be followed from the data; on a second ticker all 100 rows were in fact the right company
- **the miss**: the other provider took the ticker, ignored it, returned a global feed with none of this company in it, and billed a cent
- **the lag**: that same feed's own caveat is a six-month delay, which its dates confirmed

### 6. Who owns it

Ask your agent:

```text
pull the institutional holders for <ticker> from two providers on monid and show me both top tens. if they share no names, say so and tell me what each is sorting on
```

Listed price: $0.02 two sources.

Endpoints for this job:

- [`nasdaq /get_stock_institutional_holdings`](https://dev.monid.ai/tools/nasdaq.md), $0.01 (the one this guide ran)
- [`secform4 /get_institution_holders`](https://dev.monid.ai/tools/secform4.md), $0.01 (the one this guide ran)
- [`marketbeat /get_institutional_ownership`](https://dev.monid.ai/tools/marketbeat.md), $0.01
- [`secform4 /get_13d_filings`](https://dev.monid.ai/tools/secform4.md), $0.01

What a real run returned:

- **the scale**: institutions hold about 80% of the shares outstanding, by one provider's count
- **list A**: the index funds you would expect: the three largest asset managers at the top
- **list B**: state pension funds and a foreign insurer, with not one name in common
- **the cause is the sort**: one ranks by shares held and the other by filing date, so on a second ticker the two top tens shared exactly one name and the second list's top holder was a 155-share position worth about $57,000
- **the cause**: the second is keyed by filer id and appears to rank on shares added, not position size

## More

- [Every how-to guide](https://dev.monid.ai/tutorial.md)
- [Connect an agent to Monid](https://dev.monid.ai/index.md)
