← Blog

Claude API Resume Screening Application: Build Guide

2026-11-09 · 6 min read · SubToAPI Team

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:

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:

  1. Ingest — resumes arrive as PDF/DOCX uploads, email attachments, or from an ATS webhook.
  2. Extract text — convert to plain text before sending to Claude (PDF parsing is a separate step, not something the API does for you).
  3. Call Claude — send the job description + resume text with a structured-output prompt.
  4. Parse the response — validate the JSON, store it, compute a composite score.
  5. 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:

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:

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.

Turn your Claude access into an HTTPS API

SubToAPI gives you application API keys, streaming, tool use and usage insights on top of your existing Claude access — set up in minutes.

Start free  Read the quickstart →