Pular para o conteúdo
Won.dev
DocumentaçãoReferência da API
API de enriquecimento

Listar as vagas de uma empresa

As vagas abertas de uma empresa, das mais recentes para as mais antigas, com quantas estão abertas. Cobrado por vaga retornada.

Lista as vagas abertas de uma empresa, das mais recentes para as mais antigas: cargo, link, local, se é remota, o tipo de contrato, o nível e o salário quando divulgado, com o total de vagas abertas. Contratar compradores, gente de sourcing ou equipe para um novo armazém é um sinal para fazer contato. Custa US$ 0,003 por vaga retornada; nenhuma é grátis. A busca é pelo site; name é usado quando o site não tem vagas, já que uma empresa pode publicar vagas no site da controladora, e só as vagas com esse mesmo nome são retornadas. Restrinja com titles e country.

Uma chave de teste (won_test_...) responde a esta requisição com a mesma empresa e as mesmas pessoas de exemplo, sem custo.

POST
/enrich/companies/jobs/search

Autenticação

apiKey
headerAuthorizationBearer <chave de API>

Authorization: Bearer won_live_..., a key from the console.

Parâmetros de cabeçalho

Idempotency-Key?string

Any unique string. A retry with the same key and the same body returns the first response and is not charged again.

Tamanholength <= 255

Corpo da requisição

application/json
  1. body
domain?string

The company's website, such as example.com.

Tamanholength <= 253
company_id?string

A company ID from the trade data API, such as co_8f3k2m9x4p1q, instead of domain: the company's website on record is used.

Tamanholength <= 40
name?string

The company's name, as it writes it. Asked when the website has no postings, or alone when you do not know the website.

Tamanho2 <= length <= 200
titles?array<>

Job title words, such as buyer or sourcing: postings whose title has any of them. Up to 10.

Itensitems <= 10
Padrão[]
country?string

Only postings in this country. An ISO code such as US, or an English name such as United States.

Tamanholength <= 80
limit?integer

How many postings to return, 1 to 50. You pay for the postings returned.

Intervalo1 <= value <= 50
Padrão10
max_cost?number

Spending cap for this call in US dollars. If the call could cost more, it fails with budget_exceeded before anything is charged.

Intervalo0 < value
dry_run?boolean

If true, only return the maximum cost of this call. Nothing runs, nothing is charged.

Padrãofalse

Corpo da resposta

The result. With dry_run, only the maximum cost.

application/json
  1. response
data*array<>

The postings, newest first.

total*|

How many postings match in all, beyond this answer. Null when not known.

query*

The request as it was understood: country names as codes, the default dates filled in.

notice*|

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*

What this call was charged, and the balance left.

Requisição de exemplo
curl -X POST 'https://api.won.dev/v1/enrich/companies/jobs/search' \  -H 'Content-Type: application/json' \  -d '{  "domain": "northfield-home.example",  "titles": [    "buyer",    "sourcing"  ],  "limit": 2}'
Resposta de exemplo
{  "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  }}

Última atualização em