$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "listings": [
< {
< "title": "Senior Data Engineer",
< "companyName": "Example Labs",
< "companyDomain": "example.com",
< "location": "Remote US",
< "source": "Greenhouse",
< "id": "example-101",
< "url": "https://job-boards.greenhouse.io/example/jobs/example-101",
< "description": "Build reliable data pipelines and financial reporting tools. Design Python services, review database queries, monitor production workloads and document technical decisions. Work with product managers and analysts to clarify requirements. Improve automated testing and deployment workflows. Investigate incidents, explain root causes and support other engineers. This full-time role focuses on data quality and service reliability for the platform team."
< },
< {
< "jobTitle": "Sr. Data Engineer",
< "company": "Example Labs Inc.",
< "companyWebsite": "https://example.com",
< "location": "Remote US",
< "source": "Indeed",
< "id": "mirror-101",
< "url": "https://www.indeed.com/viewjob?jk=example101",
< "description": "Build reliable data pipelines and financial reporting tools. Design Python services, review database queries, monitor production workloads and document technical decisions. Work with product managers and analysts to clarify requirements. Improve automated testing and deployment workflows. Investigate incidents, explain root causes and support other engineers. This full-time role focuses on data quality and service reliability for the platform team."
< },
< {
< "title": "Junior Data Engineer",
< "companyName": "Example Labs",
< "companyDomain": "example.com",
< "location": "Remote US",
< "source": "Greenhouse",
< "id": "example-102",
< "url": "https://job-boards.greenhouse.io/example/jobs/example-102",
< "description": "Build reliable data pipelines and financial reporting tools. Design Python services, review database queries, monitor production workloads and document technical decisions. Work with product managers and analysts to clarify requirements. Improve automated testing and deployment workflows. Investigate incidents, explain root causes and support other engineers. This full-time role focuses on data quality and service reliability for the platform team."
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/moggedhq~job-listings-deduplicate/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'