OpenFold3 API
Structure prediction for proteins, DNA/RNA, and noncovalent ligands.
OpenFold3 runs the OpenBind-0 checkpoint for all-atom prediction of biomolecular complexes. Protein MSAs can come from ColabFold or precomputed files. The ColabFold mode sends protein sequences to the configured MSA server. Set OPENFOLD3_MSA_SERVER_URL on the runner to use a private ColabFold server.
Input method
Set input_mode to choose how inputs are supplied. Only fields for the selected method are used.
parameters: Set parameters heretext: Enter JSONupload: Upload JSON
Example presets
Send {"preset": "ubiquitin"} to load an example and its bundled inputs. Add other request fields to override its settings. The schema includes all presets under tool.presets.
| preset | Description |
|---|---|
ubiquitin | Official ubiquitin example. One prediction without an MSA server request. Source ↗ |
ubiquitin_colabfold | The same ubiquitin example with a protein MSA from ColabFold. Source ↗ |
leucine_zipper | Official 2ZTA homodimer example. One prediction without an MSA server request. Source ↗ |
Fields
The same names the web form posts. See the field type table for what each kind means over HTTP.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
job_name
|
string text | no parameters | ubiquitin |
Job name Names the query and its output directory. up to 80 characters. |
sequence_molecules
|
string (JSON array) molecule_builder | yes parameters | [{"type":"protein","id":"A","count":1,"sequence":"MQIFVKTLTGKTITLEVEPSDTIENVKAKIQDKEGIPPDQ … |
Molecules
Give each chain a unique ID and list one ID per copy. Use SMILES or a CCD_ code for ligands.
One of:
protein, ligand, dna, rna, ion.
A JSON array, sent as a string. See
molecule entries.
|
input_json
|
string textarea | yes text | {
"queries": {
"ubiquitin": {
"chains": [
{
"molecule_type": … |
OpenFold3 queries (JSON) Native OpenFold3 JSON with a queries object. Each query contains a chains list. In this form: Use absolute paths on the runner for text MSAs (.a3m or .sto) and raw templates. up to 1000000 characters. |
inputs_file
|
string file | no upload | — |
Queries file (JSON) The JSON file defining one or more OpenFold3 queries. file types .json. |
msa_source
|
string select | no | colabfold |
MSA source
ColabFold sends protein sequences to the configured MSA server. Precomputed uses paths on the runner. Running without MSAs can reduce accuracy.
One of:
colabfold, precomputed, none.
|
use_templates
|
boolean checkbox | no | false |
Use protein templates Use ColabFold template hits or template inputs in the query. |
samples
|
number number | no | 1 |
Samples per seed Number of structures generated per seed. minimum 1, maximum 64, step 1. |
num_model_seeds
|
number number | no | 1 |
Model seeds Number of independently seeded predictions per query. minimum 1, maximum 32, step 1. |
low_memory
|
boolean checkbox | no | true |
Low memory mode Use OpenFold3’s low-memory configuration. Multiple samples can take longer. |
Molecule entry keys
| Key | Meaning |
|---|---|
type |
Which of the field's molecule types this entry is. |
id |
A chain/entity ID, or a list of IDs for identical copies. Tools with configurable IDs expose this inside each molecule box. CatPred, whose boxes are not chains of one structure, uses it for the enzyme's sequence ID (its pdbpath, which must name exactly one sequence) and for a substrate's optional label. |
count |
The number of identical copies. Used by tools whose native schema represents copy count separately from IDs. |
sequence |
The residues, for a protein, dna, or rna entry. |
ligand |
A SMILES string or a CCD_ code, for a ligand entry. CatPred resolves no CCD codes and takes SMILES only. |
ion |
An ion code, for an ion entry. |
cyclic |
Whether a polymer chain is cyclic. Tools that cannot model one reject it rather than ignoring it. |
modifications |
Substitutions, as {"position": <integer>, "residue": "<CCD code>"} objects. Position indexing follows the tool: ESMFold2 uses zero-based positions; the other molecule-builder tools use one-based positions. |
msa |
A tool-native MSA for supported protein/RNA entities. Boltz-2: an absolute .a3m/.csv path, or empty for single-sequence; omit it to generate one with the MSA server. ESMFold2: an absolute .a3m path, a serialized MSA, or a {"sequences": [...]} object. |
paired_msa_path |
An OpenDDE, Protenix, or AlphaFold 3 protein paired-MSA path. |
unpaired_msa_path |
An OpenDDE, Protenix, or AlphaFold 3 protein or RNA unpaired-MSA path. |
templates_path |
An OpenDDE or Protenix protein template-hits path. |
Example request
These are the defaults, exactly as the web form would post them.
curl -X POST https://athanortools.com/api/openfold3/ \
-H 'Content-Type: application/json' \
-d '{
"input_mode": "parameters",
"job_name": "ubiquitin",
"sequence_molecules": "[{\"type\":\"protein\",\"id\":\"A\",\"count\":1,\"sequence\":\"MQIFVKTLTGKTITLEVEPSDTIENVKAKIQDKEGIPPDQQRLIFAGKQLEDGRTLSDYNIQKESTLHLVLRLRGG\"}]",
"msa_source": "colabfold",
"use_templates": false,
"samples": 1,
"num_model_seeds": 1,
"low_memory": true
}'
The reply is 202 with a queued job; poll its
status_url until status is
succeeded or failed. See
the quick start for the
whole exchange.
Data
| status | Meaning |
|---|---|
queued |
Accepted, waiting for the jobs ahead of it. `position` counts how many those are. |
running |
The tool is executing now. |
succeeded |
Finished; `result` holds the tool's output and `license` the terms it came under. |
failed |
Finished; `error` holds a code and a message. |
cancelled |
Abandoned at the submitter's request; there is no result. A job cancelled before its turn never ran at all. |
Errors
| code | Meaning |
|---|---|
invalid_input |
The client supplied invalid or incomplete input. |
tool_unavailable |
The requested third-party dependency is not available on this host. |
execution_failed |
A configured third-party tool exited unsuccessfully. |
internal_error |
An adapter failed in a way it does not describe. The detail is in the server log, not the response. |
not_found |
No job has that id. Finished jobs are dropped eventually. |
unauthorized |
HTTP 401. The bearer token is wrong, was revoked, or belongs to an account that can no longer sign in. Nothing was run. |
job_limit_reached |
HTTP 429. This address, not being signed in, has submitted as many jobs as it may in 24 hours. Accounts have no limit. |
runtime_limit_exceeded |
The job was stopped when it reached the execution time limit for its submitter. |