jaat-api
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:
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:
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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jaat_api-0.4.1.tar.gz | 6.2 kB | Without provenance | Details for jaat_api-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jaat_api-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for jaat_api-0.4.1-py3-none-any.whl |
Total release size: 12.7 kB
Release files / jaat_api-0.4.1.tar.gz
| Download URL | jaat_api-0.4.1.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a911303b403310c813e02c35cb90b4a7377fa40d1487c0541900883e2d3ba602
|
|
BLAKE2b-256 checksum How to use checksums |
3ecdd2c0e49b5711cc209af1e0bed31e284c528972d2456706ecbbdbd858e38c
|
| 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.1-py3-none-any.whl
| Download URL | jaat_api-0.4.1-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc764f7c8d43f346ad49c20350c7133f65b609ab39027b7b01d48df577aea4e3
|
|
BLAKE2b-256 checksum How to use checksums |
e031bc423dc0a4437e938b7624c4e1a69720eda7c790f6f791e24b98fb64528e
|
| 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.1
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.