<!-- AUTO-GENERATED from the capability registry — regenerate: npm run generate:registry -->

# `company_linkedin` — Orange Slice capability

> Outcome-priced capability. One price for the answer, whichever providers it took.
> Everything we expose, with prices: https://orangeslice.ai/llms.txt

Finds a company's LinkedIn page from its name or website, and returns the slug that `search employees` takes. Two credits, billed only when a page is found.

## Price

**$0.004, charged per hit**

Billed only when the answer is found. A miss costs nothing.

The price is a property of the outcome, not of the work behind it. Whichever
vendor serves this call, and whatever it costs us, the number above is the number
quoted before the run and charged after it.


## Call it

**CLI**

```bash
orangeslice enrich company_linkedin --company-name Anthropic

# the first link in the chain — company name to a list of enriched people:
echo '{"companyName":"Anthropic"}' \
  | orangeslice enrich company_linkedin \
  | orangeslice search employees --title-variations engineer --limit 10 \
  | orangeslice enrich work_email \
  | orangeslice sheets push "Anthropic engineers"
```

**HTTP**

```bash
curl -X POST 'https://orangeslice.ai/api/v1/run' \
  -H 'Authorization: Bearer $ORANGESLICE_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"capability":"company_linkedin","input":{"companyName":"<string>","location":"<string>","website":"<string>"}}'
```

**SDK**

```ts
await services.company.linkedin.findUrl({ companyName: "…", location: "…", website: "…" });
```

## Inputs

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `companyName` | string | No | Company name, e.g. 'Anthropic' |
| `location` | string | No | Location, to disambiguate companies that share a name |
| `website` | string | No | Company website or domain, e.g. 'anthropic.com' |

Inputs may also be piped as NDJSON, one JSON object per line.

## Output

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "companyLinkedinUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "companySlug": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "companyLinkedinUrl",
    "companySlug"
  ],
  "additionalProperties": false
}
```

The field that carries the answer is `companyLinkedinUrl`. It is
`null` — or empty — when nothing was found, which is how a miss is told from a
hit without knowing anything else about this entry.

## Before you run

- **Price it first.** `orangeslice enrich company_linkedin --dry-run` returns the
  exact dollar cost and spends nothing.
- **Large runs need approval.** Above the spend-gate threshold a run exits **7**
  until it carries a plan token, and only a dry run mints one.
- **Scopes:** enrich
- **Permitted uses:** research, outreach, export

## Exit codes

`0` ok · `2` bad input · `3` auth · `4` not found · `5` provider ·
`6` rate limited · `7` spend gate, nothing billed · `8` timeout ·
`9` a third-party account needs connecting
