# Comparably Salaries API Documentation

<p>Read public salary rows of one company with average, median, bonus and distribution percentiles in USD. The estimated salary flag is included when the source marks a row as an estimate. 85 credits per successful request. Failed tries are never billed. Company, salaries and reviews routes show their credit cost. No client rate limit.</p>

- **Documentation:** [https://scrappa.co/docs/comparably-api/comparably_salaries](https://scrappa.co/docs/comparably-api/comparably_salaries)
- **API group:** Comparably API
- **Endpoint:** `GET https://scrappa.co/api/comparably/companies/salaries`

## 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 | Company slug from search or sitemap. |

## Example response

```json
{
    "data": {
        "salaries": [
            {
                "median": 175000,
                "average": 180000,
                "currency": "USD",
                "estimated": false,
                "job_title": "Software Engineer"
            }
        ]
    },
    "meta": {
        "billable": true
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing or invalid. No upstream call is made. Not billable. |
| 404 | Not Found | The requested company does not exist. Not billable. |
| 503 | Service Unavailable | The upstream source could not be read. Not billable. |

## 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)
