# Get Stock Research

Get a Morningstar stock overview by PerformanceId from search: star rating and date, sector, industry, market cap, price ratios, yields and last close. Premium fair value and moat values are omitted because they are not public numbers.

- **Documentation:** [https://scrappa.co/docs/morningstar-api/morningstar_stock](https://scrappa.co/docs/morningstar-api/morningstar_stock)
- **API group:** Morningstar API
- **Endpoint:** `GET https://scrappa.co/api/morningstar/stock`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | PerformanceId from Morningstar search. Required. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/morningstar/stock?id=0P000000GY"
```

## Example response

```json
{
    "performanceId": "0P000000GY",
    "name": "Apple Inc",
    "ticker": "AAPL",
    "starRating": 2,
    "sector": "Technology",
    "industry": "Consumer Electronics",
    "marketCap": 5074783276220,
    "priceEarnings": 39.25,
    "dayRangeHigh": 355.28,
    "dayRangeLow": 346.47,
    "volume": 40906860,
    "source": "morningstar"
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | Not found | No stock was returned for the id. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
