Give your AI agent job search in 2 minutes

An agent that helps people find work, fills a job board or tracks who is hiring needs current job listings. This guide connects the APIJobs jobs API to the tools agents run in, so your agent can search live Indeed listings in 62 countries with a single tool.

1. Get a free API key

Enter your email on the home page, or ask for it from a terminal. The key arrives by email with 100 free credits, refilled every month. One credit is one job returned.

curl -X POST https://api.apijobs.dev/v1/keys \
  -H "Content-Type: application/json" \
  -d '{"email": "you@example.com"}'
# the key is emailed to you@example.com

2. Connect it to your agent

APIJobs is an MCP server: any client that speaks the Model Context Protocol gets a jobs_search tool, plus account_get and credits_buy.

Claude Code
claude mcp add --transport http apijobs https://api.apijobs.dev/mcp --header "Authorization: Bearer YOUR_KEY"
Cursor and other clients that take a URL and headers
{
  "mcpServers": {
    "apijobs": {
      "type": "http",
      "url": "https://api.apijobs.dev/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_KEY"
      }
    }
  }
}
Claude Desktop (claude_desktop_config.json, through mcp-remote)
{
  "mcpServers": {
    "apijobs": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.apijobs.dev/mcp",
        "--header",
        "Authorization: Bearer YOUR_KEY"
      ]
    }
  }
}

3. Ask in plain words

Once connected, you do not call the tool yourself. Ask your agent something like “find 5 remote data engineer jobs in Germany posted this week”, and it calls jobs_search with:

What the agent sends
{
  "query": "data engineer",
  "country": "de",
  "location": "remote",
  "posted_within_days": 7,
  "limit": 5
}

It gets back each job with its title, company, city and country in English, remote or hybrid, contract types (full_time, permanent, contract…), salary when the listing publishes one, posting date, full description and the link to apply. A search takes a few seconds; duplicates are removed.

4. Or call the REST API from your code

The same search is one POST request, for a script, a backend or an agent framework that prefers plain HTTP tools.

Python
import requests

response = requests.post(
    "https://api.apijobs.dev/v1/jobs/search",
    headers={"Authorization": "Bearer YOUR_KEY"},
    json={"query": "nurse", "country": "gb", "location": "Manchester", "limit": 10},
    timeout=120,
)
for job in response.json()["jobs"]:
    print(job["title"], "-", job["company"], "-", job["url"])
JavaScript
const response = await fetch("https://api.apijobs.dev/v1/jobs/search", {
  method: "POST",
  headers: { Authorization: "Bearer YOUR_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({ query: "software engineer", country: "us", location: "New York", limit: 10 }),
});
const { jobs, credits_left } = await response.json();

5. In n8n, Make or Zapier

Add an HTTP request step: method POST, URL https://api.apijobs.dev/v1/jobs/search, header Authorization: Bearer YOUR_KEY, and a JSON body with query, country and optionally location, posted_within_days and limit. Map jobs to the next step, for example a Google Sheet or a Slack message, and schedule it daily to watch new openings.

6. Handle the three answers that matter

  • NO_CREDITS: the key is empty. The message says how to buy a pack; through MCP, the agent can call credits_buy and hand the payment link to you.
  • RATE_LIMITED: more than 10 searches in a minute. Wait and retry; nothing was charged.
  • SOURCE_FAILED: Indeed did not answer. Retry a minute later; nothing was charged.

Every other detail is in the documentation, and prices are on the pricing page.