Quickstart
Fold one protein with Boltz-2 and download the result. Boltz-2 on one 76-residue protein chain (ubiquitin, 1UBQ), with one alignment search on the batch queue, is estimated at $0.608759 (about 242 seconds) and can cost at most $1.23712: that maximum is held until the job settles, and you pay the seconds the job used. Prices are version 2026-11-30; every call below returns the live quote.
Step 3 is free and creates no job, so you can read a quote before you spend anything.
Get a key
Sign up or sign in, then create an API key in Platform (see Authentication). Keep it out of source control.
- curl
- Python
- JavaScript
export ARCA_BIO_KEY=<your key>
BASE=https://app.arca.inc/api/bio/v1
auth=(-H "Authorization: Bearer $ARCA_BIO_KEY")
import json, os, time
import requests
BASE = "https://app.arca.inc/api/bio/v1"
api = requests.Session()
api.headers["Authorization"] = f"Bearer {os.environ['ARCA_BIO_KEY']}"
api.hooks["response"] = [lambda response, *_, **__: response.raise_for_status()]
// Node 20 or later, as an ES module
const BASE = "https://app.arca.inc/api/bio/v1";
const headers = {
Authorization: "Bearer " + process.env.ARCA_BIO_KEY,
"Content-Type": "application/json",
};
const call = async (path, body, extra = {}) => {
const init = body
? {
method: "POST",
headers: { ...headers, ...extra },
body: JSON.stringify(body),
}
: { headers };
const response = await fetch(BASE + path, init);
if (!response.ok)
throw new Error(response.status + " " + response.statusText);
return response.json();
};
Write the job
- curl
- Python
- JavaScript
cat > job.json <<'JSON'
{
"jobName": "ubq-1",
"type": "boltz2",
"settings": { "entities": [{ "type": "protein", "sequence": "MQIFVKTLTGKTITLEVEPSDTIENVKAKIQDKEGIPPDQQRLIFAGKQLEDGRTLSDYNIQKESTLHLVLRLRGG" }] }
}
JSON
job = {
"jobName": "ubq-1",
"type": "boltz2",
"settings": {"entities": [{"type": "protein", "sequence": "MQIFVKTLTGKTITLEVEPSDTIENVKAKIQDKEGIPPDQQRLIFAGKQLEDGRTLSDYNIQKESTLHLVLRLRGG"}]},
}
const job = {
jobName: "ubq-1",
type: "boltz2",
settings: {
entities: [
{
type: "protein",
sequence:
"MQIFVKTLTGKTITLEVEPSDTIENVKAKIQDKEGIPPDQQRLIFAGKQLEDGRTLSDYNIQKESTLHLVLRLRGG",
},
],
},
};
GET $BASE/tools/boltz2/schema is the JSON Schema of settings; each model page says what its tool takes.
Quote it
POST/validate-job- curl
- Python
- JavaScript
curl -s "${auth[@]}" -H "Content-Type: application/json" -d @job.json $BASE/validate-job
quote = api.post(f"{BASE}/validate-job", json=job).json()
print(quote["quote"], quote["sufficient"])
const quote = await call("/validate-job", job);
console.log(quote.quote, quote.sufficient);
The answer has valid, errors, quote (estimateUsd, estimateSeconds, holdUsd), balanceUsd and sufficient. It creates no job and costs nothing. A refusal says why a valid job would be refused now, such as not enough credit.
Submit and wait
POST/submit-job then GET/jobs
- curl
- Python
- JavaScript
curl -s "${auth[@]}" -H "Content-Type: application/json" -H "Idempotency-Key: ubq-1" -d @job.json $BASE/submit-job
curl -s "${auth[@]}" "$BASE/jobs?jobName=ubq-1"
api.post(f"{BASE}/submit-job", json=job, headers={"Idempotency-Key": "ubq-1"})
while True:
status = api.get(f"{BASE}/jobs", params={"jobName": "ubq-1"}).json()["jobs"][0]["status"]
if status in ("complete", "failed", "stopped"):
break
time.sleep(10)
await call("/submit-job", job, { "Idempotency-Key": "ubq-1" });
let status;
do {
await new Promise((resolve) => setTimeout(resolve, 10_000));
status = (await call("/jobs?jobName=ubq-1")).jobs[0].status;
} while (!["complete", "failed", "stopped"].includes(status));
Poll every 5 to 15 seconds until status is complete, failed or stopped; queued, searching_msa and running are in progress. The Idempotency-Key makes a retried submit return the first job instead of queueing a second. To refuse a submit whose maximum cost has risen since the quote, add "maxHoldUsd": "<holdUsd>" to the body: past it the answer is quote_exceeds_cap and nothing is held.
Fetch the result
POST/result- curl
- Python
- JavaScript
curl -s "${auth[@]}" -H "Content-Type: application/json" -d '{"jobName":"ubq-1"}' $BASE/result
result = api.post(f"{BASE}/result", json={"jobName": "ubq-1"}).json()
print(result["url"])
const result = await call("/result", { jobName: "ubq-1" });
console.log(result.url);
url is a signed download link for the result zip, valid for expiresInS seconds. Results are kept 30 days after a job completes; after that the answer is result_expired.
Alignments for folding models
Protein chains of Boltz-2, Chai-1, OpenFold3 and Protenix take msa: omit it or send "auto" to search an alignment first (billed per search that ran, see Pricing), "none" for single-sequence (low confidence for many targets), or an a3m string used as given.