# Get Public Price

Get the public logged-out price for one PerformanceId from search: last price, change, change percent, currency, exchange and an ISO date. This is one upstream lookup and does not use any premium entitlement.

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

## 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/price?id=0P000000GY"
```

## Example response

```json
{
    "performanceId": "0P000000GY",
    "price": 349.21,
    "currency": "USD",
    "source": "morningstar"
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | Not found | No public price 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)
