Use cases › Job Aggregator

Build a job aggregator

Search Jobstreet, LinkedIn, Kalibrr and Karir.com with one keyword and merge the results into one feed.

Jobs4 sources
  1. 01
    Search every board

    Send the same keyword to Jobstreet, LinkedIn, Kalibrr and Karir.com.

  2. 02
    Merge into one feed

    Each board answers an items list with title, company, location and url. Drop duplicates by title and company.

  3. 03
    Refresh on a schedule

    Run the search a few times a day from a cron job and keep only the new listings.

import os, requests

KEY = os.environ["ZAPI_KEY"]
BOARDS = ["jobstreet", "linkedin", "kalibrr", "karir"]

feed = {}
for board in BOARDS:
    r = requests.get(
        f"https://api.zapi.ink/v1/jobs:{board}/search",
        params={"query": "data analyst"},
        headers={"x-api-key": KEY},
        timeout=60,
    )
    for job in r.json()["data"]["items"]:
        company = (job.get("company") or {}).get("name", "")
        key = (job.get("title", "").lower(), company.lower())
        feed.setdefault(key, {**job, "boards": []})["boards"].append(board)

for job in feed.values():
    print(job["title"], job["url"], job["boards"])

What you get

Example output
JobCompanyCityPostedFound on
Data AnalystFintech companyJakartaTodayJobstreetLinkedIn
Junior Data AnalystRetail groupTangerang1d agoKalibrr
Business Intelligence AnalystLogistics firmSurabaya2d agoKarir.com
Data Analyst InternE-commerce startupBandung3d agoLinkedInKalibrr

Questions

Can I add more job boards?

Yes. The jobs category also has Glints, Loker.id and KitaLulus, which answer with the same items list. Indeed and Glassdoor are there too, at 5 Zap a call.

How fresh are the listings?

Search results are cached for up to 10 minutes, and a cached answer costs 1 Zap. Run the search again later to pick up new listings.

Can I show the listings on my own site?

Check each job board’s terms and our Acceptable Use Policy first. Every item carries the original url, so you can send people to the source listing.

What if a job board changes its site?

We fix the source on our side. Your request and the response shape stay the same.

Start building today.

Free key, 600 Zap a month and one response shape for every source.