Claude API Resume Screening Application: Build Guide
Building a resume screening application with the Claude API means sending candidate resumes and a job description to Claude, having it extract structured candidate data, score fit against requirements, and return consistent, machine-readable output you can sort and filter in your applicant tracking workflow. This is one of the most practical uses of a language model API: resumes are unstructured text, hiring criteria are structured rules, and Claude bridges the two without you writing brittle regex parsers.
The core challenge isn't getting Claude to "read" a resume — it's getting consistent, structured output across thousands of resumes with wildly different formats, so you can actually rank candidates instead of just reading prose summaries one at a time. This article walks through the architecture, prompt design, and a working code example.
Why resume screening is a good fit for an LLM
Resumes are inconsistent by nature: different section orders, inconsistent date formats, varying levels of detail, PDFs exported from five different tools. Traditional parsers (regex, keyword matching) break constantly. An LLM reads the resume the way a human recruiter would — contextually — and can:
- Extract candidate name, contact info, years of experience, skills, education
- Map experience against a specific job description's requirements
- Flag missing must-have qualifications
- Produce a numeric or categorical fit score with justification
- Summarize the candidate in a few sentences for a human reviewer
The risk is also real: without careful prompting, LLM-based screening can introduce bias or hallucinate qualifications that aren't in the resume. Design your prompts to extract and cite, not infer freely, and always keep a human in the loop for final decisions.
Architecture for a screening pipeline
A typical pipeline looks like this:
- Ingest — resumes arrive as PDF/DOCX uploads, email attachments, or from an ATS webhook.
- Extract text — convert to plain text before sending to Claude (PDF parsing is a separate step, not something the API does for you).
- Call Claude — send the job description + resume text with a structured-output prompt.
- Parse the response — validate the JSON, store it, compute a composite score.
- Surface results — rank candidates in a dashboard, sorted by score.
If you're calling this from multiple internal tools (an ATS plugin, a Slack bot, an internal dashboard) rather than one app, routing every call through a single API gateway with its own key — like SubToAPI — makes it easier to track usage per tool and enforce the same prompt/schema everywhere instead of duplicating logic.
Designing the prompt
The key to reliable resume screening is forcing structured output. Don't ask Claude to "evaluate this resume" in free text — ask for JSON with a fixed schema, and be explicit that it should only use information present in the resume.
You are a resume screening assistant. You will be given a JOB DESCRIPTION
and a RESUME. Extract structured data and score the candidate's fit.
Rules:
- Only use information explicitly stated in the resume. Do not infer
skills or experience not mentioned.
- If a required field is missing from the resume, set it to null.
- Score "fit_score" from 0-100 based on how well experience and skills
match the job description's requirements.
- List "missing_requirements" as job requirements not evidenced in the resume.
Return ONLY valid JSON matching this schema:
{
"candidate_name": string,
"years_experience": number | null,
"key_skills": string[],
"education": string | null,
"fit_score": number,
"missing_requirements": string[],
"summary": string
}
This structure gives you a predictable object to store and rank, and the "cite what's there" instruction reduces hallucinated qualifications.
Example implementation
Here's a minimal screening call using a Messages-style API:
async function screenResume(jobDescription, resumeText) {
const response = await fetch("https://api.subtoapi.app/v1/messages", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.SUBTOAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "claude-sonnet-4",
max_tokens: 800,
messages: [
{
role: "user",
content: `JOB DESCRIPTION:\n${jobDescription}\n\nRESUME:\n${resumeText}\n\nReturn only the JSON object described in your system instructions.`,
},
],
system: SCREENING_PROMPT, // the schema/rules prompt above
}),
});
const data = await response.json();
const text = data.content[0].text;
return JSON.parse(text);
}
Run this per resume, store the parsed JSON in your database, and sort candidates by fit_score. For batch screening of a large applicant pool, loop through resumes sequentially or with limited concurrency — pushing too many parallel requests at once risks rate limiting regardless of which provider or gateway you're using.
If you're prototyping this, SubToAPI's quickstart covers generating a sub_live_ key and making your first request, and the Messages docs show the full request/response shape including how usage metadata comes back per call — useful if you want to track cost-per-resume as you scale screening volume.
Handling edge cases
A production screening system needs to handle:
- Malformed or empty resumes — validate that extracted text has reasonable length before sending it to Claude; don't waste a call on a corrupted PDF.
- Non-English resumes — decide upfront whether you want Claude to screen in the original language or translate first; mixing approaches produces inconsistent scores.
- Schema drift — occasionally the model returns a field in the wrong type (a string instead of a number). Validate the JSON with something like Zod or a JSON Schema validator and retry on failure rather than trusting it blindly.
- Bias and compliance — many jurisdictions regulate automated hiring decisions. Use Claude's output as a screening aid that ranks and surfaces candidates for human review, not as the sole basis for rejection, and keep an audit trail of the prompt and response used for each decision.
Scoring consistency across runs
Because LLMs aren't perfectly deterministic, the same resume scored twice can get slightly different numbers. For screening at scale, this matters less than you'd think — rankings tend to be stable even when individual scores shift a point or two — but if you need tighter consistency:
- Lower the temperature (or omit it, since most screening prompts don't need creativity)
- Keep the scoring rubric explicit and detailed in the system prompt rather than relying on the model's judgment of "good fit"
- Re-run borderline candidates (scores near your cutoff threshold) a second time before auto-rejecting
If you want to add more capability later — like letting Claude call a tool to look up a candidate's GitHub profile or verify a certification — the tool use docs cover how function calling works, and streaming is useful if you're building a live dashboard that shows screening progress in real time rather than waiting for a full batch to finish.
For a self-serve setup, pricing outlines the Solo, Team, and Scale tiers, and you can start a free trial at signup to test resume screening volume before committing.
Questions
Can Claude screen resumes directly from PDF files? No — you need to extract text from the PDF first (using a PDF parsing library) and send the plain text to Claude. The API itself doesn't parse binary file formats.
How accurate is LLM-based resume screening compared to keyword matching? It's generally more accurate for nuanced fit assessment since it understands context (e.g., equivalent job titles, related skills), but it should supplement human review, not replace it, especially for final hiring decisions.
Can I screen resumes in bulk without hitting rate limits? Yes, but process them with limited concurrency rather than firing hundreds of simultaneous requests. Sequential or batched processing with a small delay is more reliable than maximum parallelism.