# ATS Jobs API – Federal Contracts

> ATS Jobs API – Federal Contracts is a paid API for AI agents from ats-jobs-api.groundtruthtools.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-01).

Returns a list of active or expiring US federal government contracts, filterable by awarding agency, keyword, dollar amount, and expiry window.

## Facts

- Endpoint: GET https://ats-jobs-api.groundtruthtools.workers.dev/x402/v1/federal-contracts?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ats-jobs-api-federal-contracts-f77eb721
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HiuYBT6OWOZOX_EEBkgOc

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ats-jobs-api-federal-contracts-f77eb721
```

Example prompt: Show me federal contracts from the General Services Administration that are expiring within the next 90 days and are worth at least $10 million — I want to spot recompete opportunities.

## When to prefer this

Use this endpoint when you need structured, machine-readable federal contract data including expiry timelines and dollar amounts, especially for identifying recompete opportunities or monitoring agency spending. Prefer it over manual USASpending.gov searches when you need filtered, programmatic access with parsed numeric amounts and expiry-day calculations already done for you.

## Known failure modes

- No contracts match the filter criteria — returns empty awards array
- Invalid query parameter types (e.g. non-numeric min_amount) — likely 400 error
- Payment not received or insufficient — 402 Payment Required
- Rate limit exceeded — 429 response
- Results truncated when count exceeds internal limit — truncated flag set to true in response

## How this service works

Open job postings read first-hand from the applicant-tracking system behind a company's careers page: Greenhouse, Ashby, Lever or Workable. Includes a directory of 8532 company job boards, because none of the vendors publishes one. Salaries are parsed into numbers where the employer publishes them and refused where ambiguous. No personal data.

## Output

A JSON object containing a count of matching contracts, an array of award records (each with award ID, recipient, amount in USD, start/end dates, days until expiry, awarding agency and sub-agency, description, and a USASpending.gov verification URL), the query date window, a recompete mode flag, and a truncation indicator if results were cut off.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "agency": {
       "type": "string"
      },
      "keyword": {
       "type": "string"
      },
      "min_amount": {
       "type": "string"
      },
      "expiring_after_days": {
       "type": "string"
      },
      "expiring_within_days": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mode": "recompete",
  "count": 1,
  "awards": [
   {
    "award_id": "47QFCA22F0021",
    "end_date": "2027-03-01",
    "recipient": "PERATON ENTERPRISE SOLUTIONS LLC",
    "amount_usd": 682369225,
    "start_date": "2022-12-18",
    "verify_url": "https://www.usaspending.gov/award/CONT_AWD_47QFCA22F0021_4732_GS00Q14OADU131_4732",
    "description": "IT SERVICES",
    "awarding_agency": "General Services Administration",
    "days_until_expiry": 122,
    "awarding_sub_agency": "Federal Acquisition Service"
   }
  ],
  "window": {
   "to": "2027-10-30",
   "from": "2027-01-28"
  },
  "truncated": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ats-jobs-api-federal-contracts-f77eb721/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ats-jobs-api.groundtruthtools.workers.dev](https://www.zero.xyz/host/ats-jobs-api.groundtruthtools.workers.dev/llms.txt)
