const params = new URLSearchParams({
url: 'https://www.linkedin.com/jobs/view/4153069088/', // by URL
// jobId: '4153069088', // by jobId alternatively
});
fetch(`https://api.harvest-api.com/linkedin/job?${params.toString()}`, {
headers: { 'X-API-Key': '<api-key>' },
})
.then((response) => response.json())
.then((data) => console.log(data));