# USAJOBS Scraper - federal jobs, GS grade, salary (`aigrator/usajobs-jobs-api`) Actor

Scrape USAJOBS federal job announcements by keyword, location, grade and hiring path into one normalized JSON record per vacancy: agency, salary range, locations, remote flag and description. $1.50 per 1,000 jobs, $0.90 on Gold. Monitor mode bills the first baseline, then only changes.

- **URL**: https://apify.com/aigrator/usajobs-jobs-api.md
- **Developed by:** [Ярослав Литовченко](https://apify.com/aigrator) (community)
- **Categories:** Jobs, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 1,000 jobs

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## USAJOBS Scraper - federal jobs, GS grade, salary

Give it a keyword, a place, a pay floor or a hiring path. It searches USAJOBS, opens each announcement and returns one normalized record per vacancy: agency, department, series, grade range, salary range, locations, remote flag, telework, clearance, hiring paths and the full description text.

**$1.50 per 1,000 returned jobs, $0.90 on Gold and above.** No API key, no account, no browser. In monitor mode the same Actor returns only new and updated announcements.

### At a glance

| | |
|---|---|
| **Source** | usajobs.gov search and announcement pages |
| **Input** | keyword, location, who can apply, remote-only, salary floor, seniority, employment type, posted within |
| **Output** | one JSON row per announcement; JSON, CSV, Excel, XML, HTML |
| **Modes** | one-off snapshot; monitor mode with `new` / `updated` |
| **Price** | $0.0015 per returned job ($0.0009 on Gold and above) + $0.00005 actor start |
| **Setup** | nothing to register, nothing to install on your side |
| **Measured** | 50 announcements in 27 s (2 search pages, 50 announcement pages, 3.4 MB, 69 KB per row) |

### Quick start

1. Type a keyword:

```json
{
    "search": "software engineer"
}
```

2. Press **Start**. The run returns up to `maxJobs` (50 by default) announcements, newest first.
3. Download the dataset, or connect a webhook / Google Sheets / n8n to it.

Narrow it:

```json
{
    "search": "contract specialist",
    "location": "Denver, Colorado",
    "hiringPath": "public",
    "seniority": ["mid", "senior"],
    "employmentType": "full-time",
    "minAnnualSalary": 90000,
    "postedWithinDays": 14,
    "maxJobs": 200
}
```

To watch for new announcements instead of taking a snapshot:

```json
{
    "search": "information technology specialist",
    "hiringPath": "public",
    "monitorMode": true
}
```

The first monitor run stores a baseline and returns the full list. It is billed per row, like a snapshot; later runs return only new and updated announcements, and only those rows are billed. To get the full list on every run and deduplicate it yourself, leave `monitorMode` off: a snapshot run is never restricted and bills every returned row.

### What you get

One row per announcement. Fields are `null` when USAJOBS does not publish them; nothing is invented.

| Field | Example | Notes |
|---|---|---|
| `source` | `usajobs` | |
| `jobId` | `893002300` | USAJOBS document number, stable across runs, used as the monitoring key |
| `title` | `SI Software Engineer` | |
| `agency` | `Treasury, Departmental Offices` | hiring agency |
| `department` | `Department of the Treasury` | parent department |
| `subAgency` | `null` | when the announcement names one |
| `announcementNumber` | `27-DO-13105675-DH` | the agency's own announcement id |
| `series` | `2210 Information Technology Management` | federal occupational series |
| `gradeLow`, `gradeHigh` | `13`, `14` | the announced GS/special pay range |
| `payPlan` | `GS` | `GS`, `WG`, `NH`, `AD`, `FV`, `SES` and so on |
| `employmentType` | `full-time` | schedule and appointment combined: `full-time`, `part-time`, `temporary`, `internship` |
| `appointmentType` | `Permanent` | as published: Permanent, Term, Temporary, Detail, Internship |
| `seniority` | `senior` | from the grade on GS and wage-grade plans: 1-4 `intern`, 5-8 `junior`, 9-11 `mid`, 12-13 `senior`, 14-15 `lead`; from the title on alternate pay plans or when no grade is published |
| `workplaceType`, `isRemote` | `onsite`, `false` | the published "Remote job" flag; `null` if the page could not be read |
| `teleworkEligible`, `teleworkNote` | `true`, `Yes-as determined by the agency policy.` | telework is not remote |
| `locations` | `["Port Hueneme, CA", "San Diego, CA"]` | every duty location; an announcement can be filled at any of them |
| `locationCount` | `2` | |
| `vacancies` | `3` | sum of the per-location counts, `null` when not published |
| `salary` | see below | the range from the announcement overview |
| `postedAt` | `2026-11-16T11:10:08.310Z` | opening date |
| `validThrough` | `2027-01-31T23:59:59.997Z` | closing date |
| `applyUrl` | `https://www.usajobs.gov/job/893002300` | canonical announcement page |
| `hiringPaths` | `["Open to the public"]` | who can apply, as published |
| `supervisory` | `false` | |
| `securityClearance` | `Top Secret` | as published |
| `summary` | | the announcement's own About text |
| `descriptionHtml`, `descriptionText` | | summary, duties, requirements, evaluation and how-to-apply |
| `changeType`, `changes`, `firstSeenAt`, `lastSeenAt`, `coreHash`, `descriptionHash` | | monitor mode |

Salary is an object, not a string:

```json
{
    "salary": {
        "min": 106437,
        "max": 163514,
        "currency": "USD",
        "period": "year",
        "annualMin": 106437,
        "annualMax": 163514,
        "source": "structured"
    }
}
```

Federal ranges are set by grade, step and locality, so every range here is `source: structured` — it comes from the announcement's own overview table. Hourly pay plans (`WG`, `WS`) keep `period: "hour"` with the yearly figure in `annualMin` / `annualMax`.

`minAnnualSalary` is passed to USAJOBS as a pay floor, and **USAJOBS matches on the top of the range**, not the bottom: a floor of $150,000 returns announcements whose range reaches $150,000, so a row's `annualMin` can be below your floor. For `engineer` that is 246 announcements out of 683 instead of 683. Filter on `salary.annualMin` yourself if you need the stricter reading.

### How it works

1. The keyword, location, hiring path, schedule and pay floor go to the search endpoint the site's own search page calls (`POST /Search/ExecuteSearch`, 25 results per page), so filtering happens on their side. Results are sorted by opening date, newest first — the first `maxJobs` rows are therefore the newest announcements, not a relevance slice.
2. Each search hit already carries title, department, grade, work schedule, appointment type and both dates, so a filter can reject it **before** its page is opened. In one measured `contract specialist` run with seniority, full-time and a 7-day window, 20 of 25 hits were dropped for free and 5 rows cost 5 pages.
3. Each announcement page is read once and parsed from its own overview table (salary, pay plan, remote, telework, clearance, supervisory, vacancy counts per location) and its `joa-*` description blocks. Icons, help popovers, form controls, `class`/`data-`/`aria-`/`id` attributes and inline scripts are stripped before anything is stored.
4. Requests pass through one shared pacing gate (2 page reads in parallel, 400 ms between request starts). A 429 pauses every worker, widens the gap and retries; a clean streak narrows it again.

Descriptions are capped at 40,000 characters per field, which is about 69 KB per row with both HTML and text. With `includeDescription: false` a row is about 1.8 KB.

### Monitoring

Built for scheduled feeds, not for re-downloading the same search every day.

- **Baseline is billed like a snapshot.** The first run writes what it saw to `usajobs-jobs-state-<stateKey>` and charges $0.0015 per delivered row, the same as a normal run.
- **The index is enough to skip a job.** An announcement's opening date, closing date and title are in the search hit. If all three are unchanged since the last run, its page is not opened at all. Measured: a 56-announcement baseline was followed by runs that read **0 announcement pages in about 1 second** and pushed one free status row.
- **Only real changes are billed.** `new` and `updated` rows cost $0.0015 ($0.0009 on Gold and above). A rewritten description is `updated` with `changes: ["description"]`, not a new vacancy.
- **A busy query catches up before it goes quiet.** `maxJobs` is a per-run cap, not a subscription: the task run measured for this listing has 253 matching announcements and `maxJobs: 100`, and delivered 100 rows (58 s), 100 rows (59 s), 53 rows (33 s), then nothing — 12 search pages, 253 announcements recognised from the index, **0 announcement pages, 5 s**. Rows over the cap stay unseen, so no charge is ever skipped.
- **The scan is bounded.** Monitor runs read the 12 newest search pages (300 hits). The rest of a large result set is the long tail of older announcements, which cannot contain anything new.
- **No phantom closures.** A missing announcement can also mean it fell outside `maxJobs` or outside the 300-hit window, so monitor mode reports new and updated rows only; `closed` is never emitted.
- **State is never dropped.** Announcements fetched on an earlier run keep their state when a later run skips them, instead of coming back as `new` and being charged twice. Removing one entry from the state re-delivers exactly that announcement — verified: one page read, one `new` row.
- **No cross-talk.** Each `stateKey` is its own key-value store; a Task without a `stateKey` gets one derived from the task id.

### Who it is for

- **GovTech and federal-contracting vendors** — a daily feed of openings by keyword, agency or place, in one schema.
- **Staffing and recruiting firms** — federal hiring is public and dated; new announcements are a lead, not a rumour.
- **Career services and relocation tools** — pay ranges by grade and locality, with closing dates.
- **Analysts** — which agencies open which series at which grades, with opening and closing dates to measure hiring cycles.
- **Job boards and aggregators** — fill a federal section without re-reading the whole board.
- **AI agents** — connect over MCP and ask "which GS-13 IT announcements opened this week?".

### Pricing

| Run | Jobs | Cost on Free |
|---|---|---|
| Default run | 50 | $0.075 |
| One keyword, whole public set | 200 | $0.30 |
| First monitor run (baseline) | 200 | $0.30 |
| Daily monitor after the baseline | 20 changes | $0.03 |
| 10,000-announcement pull | 10,000 | $15.00 |

Every figure drops by 40 % on Gold and above: $0.90 per 1,000 jobs.

How to spend less:

- run monitor mode — after the first billed baseline, only new and updated rows cost anything; unchanged runs and status rows are free;
- narrow with `postedWithinDays`, `seniority`, `employmentType`, `minAnnualSalary`, `location` and `remoteOnly` — every dropped announcement is a page not opened;
- keep `maxJobs` at what you actually consume;
- turn `includeDescription` off when you only need the index; each row is about 2 KB instead of 69 KB.

Apify's free plan includes monthly credits, so a first small run usually costs nothing.

### When something breaks

- **Rate limit (HTTP 429).** The Actor raises the gap between requests and retries up to three times per request; the pause and the retry are logged. `SUMMARY.rateLimitHits` and `SUMMARY.finalRequestDelayMs` show how hard the site pushed back. Nothing is billed for a page that was not read.
- **A failed announcement page** is reported in `SUMMARY.warnings` and skipped; the rest of the run continues.
- **A keyword that matches nothing** produces one free status row with `status: "no_results"` and the warnings, instead of an empty dataset.
- **Budget truncation.** If the run budget is exhausted, rows the platform refused to push are removed from the state, so the next run delivers them instead of treating them as already seen.
- **Failed pushes.** A dataset write error restores the previous state for that search.
- **State after push.** A crash in that narrow window can re-deliver and re-charge a row; this is deliberate, the alternative is silently losing it.

### Run it from code

JavaScript:

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('aigrator/usajobs-jobs-api').call({
    search: 'software engineer',
    hiringPath: 'public',
    maxJobs: 100,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

Python:

```python
from apify_client import ApifyClient

client = ApifyClient('YOUR_TOKEN')
run = client.actor('aigrator/usajobs-jobs-api').call(run_input={
    'search': 'software engineer',
    'hiringPath': 'public',
    'maxJobs': 100,
})
items = client.dataset(run['defaultDatasetId']).list_items().items
```

CLI and REST:

```bash
apify call aigrator/usajobs-jobs-api --input '{"search":"software engineer","maxJobs":100}'

curl -X POST "https://api.apify.com/v2/acts/aigrator~usajobs-jobs-api/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"search":"software engineer","maxJobs":100}'
```

### Schedule it

- **Console:** save the Actor as a Task, then **Schedules → New schedule**. A daily run after the baseline returns only the day's changes.
- **Webhooks:** actor run finished → your endpoint, or use the Apify integrations for **Make**, **n8n**, **Zapier** and **Google Sheets**.
- **AI agents:** connect `https://mcp.apify.com?tools=aigrator/usajobs-jobs-api` to Claude, Cursor or VS Code and ask "which GS-13 IT announcements opened this week?".

### Limits and edge cases

- **Federal only.** This is the US federal service. State, county and city jobs are not in USAJOBS, and neither are most contractor jobs.
- **One request per returned job.** There is no bulk endpoint; every row needs its own announcement page. 50 rows take about 30 seconds, 500 about 4 minutes at the default pace.
- **Who can apply matters more than the job count.** With `hiringPath: "public"` (the default) `engineer` is 423 announcements; without it the same search is 685, because the rest are open only to current or former federal employees. Set `hiringPath: ""` (Any) if you want those too.
- **Remote federal jobs are rare.** `remoteOnly` on `engineer` returned 3 of 685. Use `teleworkEligible` if "may work from home some days" is enough.
- **Location search is radial.** `Denver, Colorado` returns Denver, Golden and Lakewood, plus one row located `Anywhere In The U.S. (Remote Job)`. The Actor does not re-check the location text against the filter, because that would drop the neighbouring cities USAJOBS deliberately included.
- **A grade number is not always a GS grade.** Alternate pay plans (`NH`, `ND`, `DP`, `CT`, `FV`, `AD`, `FG`) use band numbers or letters: NH-3 sits around GS-12/13, and FV publishes letters instead of numbers. Those numbers are returned as published in `gradeLow` / `gradeHigh`, but `seniority` is taken from the title for them — reading NH-3 as grade 3 would call a senior engineer an intern. In one 50-row run 44 rows carried a numeric grade.
- **`vacancies` is often null.** Plenty of announcements say "1 vacancy" only in the text; the field is filled from the page's own per-location labels and left null rather than guessed.
- **Dates have no timezone.** USAJOBS publishes opening and closing dates as dates; they are stored as UTC instants (`T00:00:00Z` for an opening date, `T23:59:59.997Z` for a closing date).
- **Descriptions are HTML.** `descriptionHtml` keeps the announcement's structure (headings, lists, tables) with scripts, forms, icons and attributes removed, up to 40,000 characters; `descriptionText` is the same content as plain text.
- **robots.txt.** `https://www.usajobs.gov/robots.txt` disallows `/Content/`, `/Scripts/`, `/foresee/` and `/Service References/`. The search endpoint and `/job/<id>` pages are not disallowed and are listed in the site's sitemap. The Actor requests nothing from the disallowed paths. Check the site's terms for your own use.
- **Not the keyed API.** USAJOBS also runs its own developer API with registered keys; this Actor does not use it. It calls the same search endpoint the site's own search page calls, plus the announcement pages, and needs no credentials.
- **No personal data.** No recruiter names, emails or applicant records; only what the public announcement shows.

### FAQ

**Do I need a USAJOBS account or an API key?**
No. Only your Apify account.

**How much does 1,000 announcements cost?**
$1.50 plus $0.00005 for the start event, or $0.90 on Gold and above. The first monitor run is billed like a snapshot; later runs bill only new and updated jobs. Unchanged runs and status rows are free.

**Why does `software engineer` return only 56 rows?**
That is the whole public set for that keyword at the time of writing. Federal job titles are formal: `IT specialist`, `contract specialist`, `program analyst` and `nurse` return far more than "software engineer". Use `hiringPath: ""` to include federal-employee-only openings.

**Why does a 50-row run take about half a minute?**
Every row is one announcement page, and requests are spaced to stay polite. Faster defaults buy nothing on a source that answers 25 hits per search page.

**Do I pay for announcements I already saw?**
No. After the first baseline run, monitor mode charges only `new` and `updated` rows. The baseline itself is billed per row, like a snapshot. Unchanged announcements are recognised from the search index without opening their pages.

**Is `salary` reliable?**
It is the announcement's own range, not a parse: `source` is always `structured` here. Range width comes from the announced grades and the locality pay table, so the same title in two places can differ by tens of thousands.

**Can I get only jobs open to the public?**
That is the default. `hiringPath: "Current and former federal employees"` gives internal-only openings, and `"Any"` gives everything USAJOBS indexes.

**Can I run it on a schedule?**
Yes — a Task plus a schedule, and optionally a webhook or Google Sheets.

**Is it legal?**
The Actor reads job announcements that federal agencies publish for distribution, does not log in, does not bypass paywalls and collects no personal data. It respects the site's robots.txt and paces its requests. You are responsible for how you use the output.

### Changelog

- **2026-11-22** — monitor baseline billing: the first run returns the full list and is billed per row like a snapshot; later runs bill only new and updated jobs.
- **0.1.0** — first release: keyword, location, hiring path, pay floor, remote and posted-within search; grade-based seniority; sanitized descriptions; adaptive pacing; monitor mode, index-based change detection and a bounded scan.

### Local development

```bash
npm install
npm start                 # local run, reads storage/key_value_stores/default/INPUT.json
npm run check             # syntax check of src/main.js
npm run check:output      # validate the local dataset against .actor/dataset_schema.json
npm run check:salary      # 25 salary-parser regression cases
```

`npx apify-cli push` deploys; title, description, SEO fields and category are set separately through `PUT /v2/acts/{id}` because the push does not carry them.

# Actor input Schema

## `search` (type: `string`):

Job search keyword, applied by USAJOBS itself. Examples: software engineer, contract specialist, nurse. Leave empty to run the demo query "software engineer".

## `location` (type: `string`):

Optional. City and state (Denver, Colorado), a state (Texas), or a ZIP code. USAJOBS applies its own radius around the place, so neighbouring cities can match too.

## `hiringPath` (type: `string`):

Most announcements are open to the public. Federal-employee-only openings cannot be applied to from outside, so they are excluded by default. Choose Any to get everything USAJOBS indexes.

## `remoteOnly` (type: `boolean`):

Only announcements marked "Remote job: Yes". Federal remote postings are a small share, so expect few results.

## `minAnnualSalary` (type: `integer`):

0 = no limit. Passed to USAJOBS as a pay floor, so underpaid announcements never cost a page request.

## `seniority` (type: `array`):

Leave empty for all levels. Derived from the pay grade: GS 1-4 intern, 5-8 junior, 9-11 mid, 12-13 senior, 14-15 lead. Alternate pay plans (NH, FV, ND) use band numbers, so those rows and rows without a grade use the title instead.

## `employmentType` (type: `string`):

Work schedule and appointment type combined. Full-time, part-time and intermittent are applied by USAJOBS itself; temporary and internship are matched on the row. An intermittent announcement is returned as employmentType=temporary.

## `postedWithinDays` (type: `integer`):

0 = no limit. Matched against the announcement's opening date.

## `includeDescription` (type: `boolean`):

Adds the summary, duties, requirements, evaluation and how-to-apply sections as HTML and plain text. Turn it off to shrink the dataset.

## `maxJobs` (type: `integer`):

How many rows one run may return. Each returned job costs one job page request, so this also controls the run time: about 25 seconds for 50 jobs, 4 minutes for 500. 0 = unlimited. Rows over the limit stay unseen and are delivered by the next run.

## `monitorMode` (type: `boolean`):

The first run per state key stores a baseline and returns the full list, billed per row like a snapshot. Later runs return only new and updated announcements; only those are charged. Closed announcements are not reported, because a missing row can also mean it fell outside maxJobs.

## `stateKey` (type: `string`):

Leave empty: the state is scoped to the current Apify Task automatically, so different Tasks never share a baseline. Fill it only if you run the Actor directly or need several independent profiles inside one Task.

## `detailConcurrency` (type: `integer`):

How many job pages to read in parallel. 10 in parallel worked in testing, but the shared pause between request starts is what actually sets the pace.

## `requestDelayMs` (type: `integer`):

Minimum pause before each search page and each job page. The Actor raises this gap automatically when USAJOBS answers 429 and lowers it again after a clean streak.

## `proxyConfiguration` (type: `object`):

USAJOBS answers plain requests and needs no proxy. Keep it disabled unless your IP is blocked.

## Actor input object example

```json
{
  "search": "software engineer",
  "hiringPath": "public",
  "remoteOnly": false,
  "minAnnualSalary": 0,
  "employmentType": "",
  "postedWithinDays": 0,
  "includeDescription": true,
  "maxJobs": 50,
  "monitorMode": false,
  "detailConcurrency": 2,
  "requestDelayMs": 400,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `jobs` (type: `string`):

One row per job, plus an optional status row when nothing matched or nothing changed. Fields are described in the dataset schema.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "search": "software engineer"
};

// Run the Actor and wait for it to finish
const run = await client.actor("aigrator/usajobs-jobs-api").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "search": "software engineer" }

# Run the Actor and wait for it to finish
run = client.actor("aigrator/usajobs-jobs-api").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "search": "software engineer"
}' |
apify call aigrator/usajobs-jobs-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,aigrator/usajobs-jobs-api"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/q14FhQTOFqdef3vTY/builds/FbJ6OdAUAg4J7HW5f/openapi.json
