# Find the pay for a job (/recipes/job-pay)

```sh
curl -sS -X POST https://api.bowmark.ai/v1/recipes/job-pay \
  -H "Authorization: Bearer $BOWMARK_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "jobs": [
      {
        "title": "Registered Nurse - Emergency",
        "employer": "Emory Healthcare",
        "location": "Atlanta, GA"
      }
    ]
  }'
```

| Input     | Type      | What it does                                                                                                               |
| --------- | --------- | -------------------------------------------------------------------------------------------------------------------------- |
| `jobs`    | object\[] | Up to 25 jobs, each `{ "title", "employer", "location", "url" }`. Only `title` is required. `location` is a city and state |
| `sources` | string\[] | Which sites to check. Default: all of them                                                                                 |

| Source       | What it finds                                                                                                                              |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `posting`    | The pay written on the job's own page (its `url`): structured salary data, else the pay range in the description                           |
| `indeed`     | The pay the employer posted for the same role on Indeed                                                                                    |
| `linkedin`   | The range the employer published for the same role on LinkedIn                                                                             |
| `market`     | Salary reports for the role in that city: an estimate, not the employer's own number                                                       |
| `government` | Official wage statistics for the occupation in that state (10th to 90th percentile): an estimate, not the employer's own number            |
| `levels`     | Base pay reported to Levels.fyi for the job family at that employer (tech and corporate roles): an estimate, not the employer's own number |

It pairs with [employer-jobs](/recipes/employer-jobs): pass the jobs it returns straight in.

What comes back in `result`:

```json
{
  "jobs": [
    {
      "job": {
        "title": "Registered Nurse - Emergency",
        "employer": "Emory Healthcare",
        "location": "Atlanta, GA",
        "url": null
      },
      "pay": {
        "min": 43, "max": 75.24, "period": "HOURLY",
        "currency": "USD", "kind": "posted", "source": "indeed"
      },
      "found": [
        {
          "source": "indeed", "kind": "posted",
          "min": 43, "max": 75.24, "period": "HOURLY", "currency": "USD",
          "url": "https://www.indeed.com/viewjob?jk=..."
        },
        {
          "source": "market", "kind": "estimate",
          "min": 37.88, "max": 65.81, "median": 49.92, "period": "HOURLY",
          "currency": "USD", "reports": 3076
        }
      ],
      "checked": ["posting", "indeed", "linkedin", "market", "government", "levels"],
      "warnings": []
    }
  ],
  "warnings": []
}
```

`pay` is the best figure: the employer's own posted pay when any source found it, otherwise the
market estimate. `kind` says which. `pay` is `null` when no source had anything.
