Adapters
Homerun
Fetch public job listings and job details from Homerun.
Homerun provides a custom XML feed.
Usage
Direct Adapter Import
import { homerun } from "ats-sdk/homerun";
// boardToken = subdomain (e.g. "mycompany" → feed.homerun.co/mycompany)
const adapter = homerun({ boardToken: "mycompany" });
const { jobs, total, company } = await adapter.getJobs();
console.log(`Found ${total} jobs at ${company}`);Auto-Discovery via Unified Client
import { createAtsClient } from "ats-sdk";
const ats = createAtsClient({
companies: ["mycompany"],
});
const { jobs, total } = await ats.getJobs();Agent Usage
If you're using the ats-sdk with an AI agent framework (like Cursor, Claude, or Vercel AI SDK), Homerun is natively supported in the fetch_company_jobs tool via our bundled MCP server:
bunx --cwd apps/mcp xmcp devYour AI can then automatically query: { boardToken: "your_token", provider: "homerun" }.
Application Form Extraction
Extract candidate contact & resume fields along with the direct application link:
import { homerun } from "ats-sdk/homerun";
const adapter = homerun({ boardToken: "buffer" });
const form = await adapter.getForm("12345");
console.log(form.submitPath);
console.log(`Fields: ${form.fields.map((f) => f.label).join(", ")}`);