# Listar las vacantes de una empresa

Source: https://won.dev/es/docs/enrich/companies-jobs-search

`POST https://api.won.dev/v1/enrich/companies/jobs/search`

Lista las vacantes abiertas de una empresa, de la más reciente a la más antigua: puesto, enlace, lugar, si es remota, el tipo de contrato, el nivel y el salario cuando se publica, con el total de vacantes abiertas. Que esté contratando compradores, personal de abastecimiento o gente para un nuevo almacén es una señal para contactarla. Cuesta USD 0.003 por cada vacante devuelta; si no hay ninguna es gratis. Se busca por sitio web; si ese sitio web no tiene vacantes se usa `name`, porque una empresa puede publicar con el sitio web de su matriz, y solo se devuelven las vacantes con ese mismo nombre. Acótala con `titles` y `country`.

- **Cobro:** `job_posting` USD 0.003: Una vacante devuelta.
- **Modo:** `proxy` ([qué significa cada modo](/es/docs/trade#modes))

Una clave de prueba (`won_test_...`) responde esta solicitud con la misma empresa y las mismas personas de muestra, sin costo.

## Parámetros [#parameters]

Los parámetros van en el cuerpo JSON. Las solicitudes `POST` también aceptan el encabezado `Idempotency-Key`; consulta [Idempotencia](/es/docs/idempotency).

| Parámetro | Tipo | Obligatorio | Descripción (texto original de la API) |
| --- | --- | --- | --- |
| `domain` | string | no | The company's website, such as `example.com`. |
| `company_id` | string | no | A company ID from the trade data API, such as `co_8f3k2m9x4p1q`, instead of `domain`: the company's website on record is used. |
| `name` | string | no | The company's name, as it writes it. Asked when the website has no postings, or alone when you do not know the website. |
| `titles` | string[] | no | Job title words, such as `buyer` or `sourcing`: postings whose title has any of them. Up to 10. |
| `country` | string | no | Only postings in this country. An ISO code such as `US`, or an English name such as `United States`. |
| `limit` | integer | no | How many postings to return, 1 to 50. You pay for the postings returned. Default: `10`. |
| `max_cost` | number | no | Spending cap for this call in US dollars. If the call could cost more, it fails with `budget_exceeded` before anything is charged. |
| `dry_run` | boolean | no | If true, only return the maximum cost of this call. Nothing runs, nothing is charged. Default: `false`. |

## Respuesta [#response]

Con `dry_run: true` no se ejecuta nada y `data` trae solo lo máximo que puede costar la llamada; consulta [Simulaciones](/es/docs/responses#dry-run). Los errores se describen en [Errores](/es/docs/errors).

| Campo | Tipo | Descripción (texto original de la API) |
| --- | --- | --- |
| `data` | object[] | The postings, newest first. |
| `data[].id` | string | Job ID, such as `job_6t2m9x4p1q8w`. |
| `data[].title` | string |  |
| `data[].url` | string \| null | Where to read the posting and apply. |
| `data[].location` | string \| null | Where the job is, as the posting says. |
| `data[].countries` | string[] | The countries of its places, as English names. |
| `data[].workplace` | `remote` \| `hybrid` \| `on_site` \| null | Whether the job is remote, hybrid or on site. |
| `data[].employment` | `full_time` \| `part_time` \| `contract` \| `internship` \| null | The kind of contract. |
| `data[].seniority` | string \| null | The level the posting asks for. |
| `data[].posted_at` | string \| null | Date it was posted, `YYYY-MM-DD`. |
| `data[].salary` | object \| null | Pay as the posting states it. Null when it states none. |
| `data[].salary.min` | number \| null |  |
| `data[].salary.max` | number \| null |  |
| `data[].salary.currency` | string \| null |  |
| `data[].salary.period` | string \| null | Such as `year` or `hour`. |
| `total` | integer \| null | How many postings match in all, beyond this answer. Null when not known. |
| `query` | object | The request as it was understood: country names as codes, the default dates filled in. |
| `notice` | string \| null | A plain sentence when there is something to know about this result: why a part is missing, or what to try next. Null otherwise. |
| `usage` | object | What this call was charged, and the balance left. |
| `usage.unit` | `person_record` \| `person_profile` \| `person_email` \| `person_phone` \| `email_verification` \| `company_listing` \| `company_record` \| `company_channels` \| `company_technologies` \| `company_funding` \| `company_news` \| `company_lookalikes` \| `job_posting` | What is counted. |
| `usage.records` | integer | How many were returned and charged. |
| `usage.already_paid` | integer | How many more were returned for free, because this organization paid for them in the last 30 days. |
| `usage.cost` | number | What this call cost, in US dollars. |
| `usage.balance` | number | The balance left after this call, in US dollars. |
| `usage.replayed` | boolean | True when this is a repeat of a request from the last 24 hours. Repeats are free. |

## Ejemplo [#example]

```bash
curl https://api.won.dev/v1/enrich/companies/jobs/search \
  -H "Authorization: Bearer $WON_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "domain": "northfield-home.example",
  "titles": [
    "buyer",
    "sourcing"
  ],
  "limit": 2
}'
```

```json
{
  "data": [
    {
      "id": "job_6t2m9x4p1q8w",
      "title": "Senior Buyer, Upholstery",
      "url": "https://careers.northfield-home.example/senior-buyer-upholstery",
      "location": "Charlotte, NC",
      "countries": [
        "United States"
      ],
      "workplace": "hybrid",
      "employment": "full_time",
      "seniority": "Senior",
      "posted_at": "2026-11-12",
      "salary": {
        "min": 85000,
        "max": 110000,
        "currency": "USD",
        "period": "year"
      }
    },
    {
      "id": "job_3k8n1v5c7x2z",
      "title": "Sourcing Manager, Vietnam",
      "url": "https://careers.northfield-home.example/sourcing-manager-vietnam",
      "location": "Ho Chi Minh City, Vietnam",
      "countries": [
        "Vietnam"
      ],
      "workplace": "on_site",
      "employment": "full_time",
      "seniority": "Mid-Level",
      "posted_at": "2026-11-03",
      "salary": null
    }
  ],
  "total": 2,
  "query": {
    "domain": "northfield-home.example",
    "titles": [
      "buyer",
      "sourcing"
    ],
    "limit": 2
  },
  "notice": null,
  "usage": {
    "unit": "job_posting",
    "records": 2,
    "already_paid": 0,
    "cost": 0.006,
    "balance": 48.994,
    "replayed": false
  }
}
```