# Resolve a Ticker and Get Key Data

Resolve a lowercase ticker slug to the numeric Seeking Alpha id and return public key data such as market cap and forward dividend yield. Pass the returned id unchanged to Quote and History. A slug with no match returns 422.

- **Documentation:** [https://scrappa.co/docs/seeking-alpha-api/seeking_alpha_metrics](https://scrappa.co/docs/seeking-alpha-api/seeking_alpha_metrics)
- **API group:** Seeking Alpha API
- **Endpoint:** `GET https://scrappa.co/api/seeking-alpha/metrics`

## 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 |
| --- | --- | --- | --- |
| `slug` | string | Yes | Lowercase ticker slug, e.g. aapl. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/seeking-alpha/metrics?slug=aapl"
```

## Example response

```json
{
    "slug": "aapl",
    "sa_id": 146,
    "key_data": {
        "marketcap": 2980000000000,
        "div_yield_fwd": 0.0044
    },
    "ticker": {
        "slug": "aapl",
        "name": "Apple Inc."
    },
    "source": "seeking_alpha"
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | Not found | The slug has no numeric 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)
