Skip to main content

jaat-api

PyPI version License

The official, lightweight Python client library for the JAAT suite of tools.

jaat-api is an easy-to-use, intuitive, session-managed SDK for programtically accessing the open-source JAAT and jaat2 modules. This tool works great for integrating JAAT into your workflows or applications, and it enables accessing JAAT without running it locally!


Installation

Install directly from PyPI:

pip install jaat-api

Quick Start

Initialize the JAATClient with your API key (provided by us) and execute JAAT on your batch texts seamlessly:

from jaat_api import JAATClient

client = JAATClient(api_key="jaat_app_private_key_here")

job_ads = [
    "[JOB AD TEXT 1]",
    "[JOB AD TEXT 2]",
    "..."
]

task_results = client.run_batch("task", job_ads) # alternatively, client.get_tasks_batch(job_ads)

# continue to run other jobs
skill_results = client.run_batch("skill", job_ads)

Of course, you can also use the client to process single texts:

task_result = client.run("task", job_ads[0]) # alternatively, client.get_tasks(job_ads)

skill_result = client.run("skill", job_ads[0])

With the introduction of jaat2, you can now specify which version to run:

from jaat_api import JAATClient

# Uses v2 by default
client = JAATClient(api_key="jaat_live_...")
tasks_v2 = client.get_tasks("[JOB AD TEXT]", top_k=5, verify_nli=True)

# Or target v1 either per-call or at initialization
tasks_v1 = client.get_tasks("[JOB AD TEXT]", version="v1")
client_v1 = JAATClient(api_key="jaat_live_...", version="v1")

Helpful Tips

Currently Supported JAAT Modules

As of the current version of jaat-api, the following JAAT modules are supported:

Supported from Version: jaat-api ID JAAT Module
0.1.0 task TaskMatch
0.1.0 skill SkillMatch
0.1.0 ai AIMatch
0.2.0 title TitleMatch

The API is currently running JAAT: PyPI version

Currently Supported jaat2 Modules

As of the current version of jaat-api, the following jaat2 modules are supported:

Supported from Version: jaat-api ID jaat2 Module
0.4.0 task Match
0.4.0 skill Match
0.4.0 ai Match
0.4.0 title Match

The API is currently running jaat2: PyPI version

NOTE: as of v0.4.0, JAATClient will run jaat2 by default.

Handling Exceptions

The SDK provides a structured JAATError instance whenever an operation breaks down or fails. Ideally, wrap jobs within try/except blocks to handle these conditions gracefully:

from jaat_api import JAATError

try:
    ## as before
except JAATError as e:
    print(f"Extraction failed (Status Code: {e.status_code})")
    print(f"Error Context: {e.message}")

Sandbox Public Evaluation

Anyone looking to evaluate the platform programmatically before contacting us for a dedicated token can use the public sandbox key:

client = JAATClient(api_key="jaat_public_sandbox_testing_key")

try:
    results = client.get_tasks(["JOB AD TEXT"])
    print(results)
except JAATError as e:
    if e.status_code == 429:
        print("Sandbox daily evaluation volume exhausted. Please rotate to a private key.")

As can be seen, the public API key is highly throttled and is strictly for testing purposes. The current usage of this key is limited to one request per day, per IP.

License

jaat-api (and JAAT) are distributed under the MIT License. jaat2 is licensed under Apache 2.0. See LICENSE for more information.

Getting a Key

We will soon be releasing a contact form to let us know your interest in receiving a private API key. Stay tuned!

Citation

This code and the overarching JAAT ecosystem is part of ongoing work to leverage lightweight, but powerful NLP tools to unlock structured, coded data from job posting data.

If you find this software useful, please consider citing:

@article{meisenbacher2025extracting,
  title={Extracting O* NET Features from the NLx Corpus to Build Public Use Aggregate Labor Market Data},
  author={Meisenbacher, Stephen and Nestorov, Svetlozar and Norlander, Peter},
  journal={arXiv preprint arXiv:2510.01470},
  year={2025}
}

Metadata

Release files for jaat-api 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jaat-api 0.4.0
File Size Uploaded Provenance Actions
jaat_api-0.4.0.tar.gz 6.2 kB Without provenance Details for jaat_api-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jaat-api 0.4.0
File Interpreter ABI Platform Actions
jaat_api-0.4.0-py3-none-any.whl Python 3 none any Details for jaat_api-0.4.0-py3-none-any.whl

Total release size: 12.7 kB

Release files / jaat_api-0.4.0.tar.gz

Download URL jaat_api-0.4.0.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7d61a96ff044d0caef3fb422ad6439c79dec7f90a03184b0ad238d10788d6c5d
BLAKE2b-256 checksum
How to use checksums
aaa2cb5f35ab918472f0fab5acaee7a68b0b65993ea05dd989cafc5b215479f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / jaat_api-0.4.0-py3-none-any.whl

Download URL jaat_api-0.4.0-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
276ecc3e061c319cd1108dea321a7297e465ec5e0c2e02949dfc7463ddd26ce1
BLAKE2b-256 checksum
How to use checksums
8ffabd36557f48fc1649fb308b91256ecca7a24a7eea62671131dcabf783ad65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Security for jaat-api 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page