SWISS-MODEL REST API
alignment
create
Start a new modelling project in Alignment mode. The project will remain on our file system for up to 14 days.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
target_sequences required | Amino acid sequence as a string, or as a list for hetero targets ["sequence","sequence",...] |
template_sequence required | Template sequence |
template_seqres_offset required | Offset of the provided template_sequence on the seqres (defined as the mmCIF entity_poly_seq category). |
pdb_id required | PDB ID of the template |
auth_asym_id required | PDB author chain name |
assembly_id | Biounit assembly ID |
project_title |
api-token-auth
create
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
username required | Valid username for authentication |
password required | Valid password for authentication |
atlas
results > read
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
md5 required |
search > create
Start a new search on atlas data.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
query required | Sequence as string / PDB structure as string |
automodel
create
Start a new modelling project in AutoModel mode. The project will remain on our file system for up to 14 days.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
target_sequences required | Amino acid sequence as a string, or as a list for hetero targets ["sequence","sequence",...] |
project_title |
project
models > read_1
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
project_id required | |
model_id required |
models > read_2
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
project_id required | |
model_id required |
models > read
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
project_id required | |
model_id required |
models > read_0
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
project_id required | |
model_id required |
models > full-details > read
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
project_id required |
models > full-details > read_0
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
project_id required | |
model_id required |
models > summary > read
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
project_id required |
projects
download > create
Create a package containing all (PDB or ModelCIF) coordinates, metadata and an overall summary for COMPLETED projects. The package .zip will remain on our file system for up to 2 days.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
coordinates_type | |
from_datetime | Download projects created after from_datetime, Must be in isoformat, eg "2024-09-20T10:05:20" |
to_datetime | Download projects created before to_datetime, Must be in isoformat, eg "2024-09-22T12:12:20" |
download > read
Obtain a download URL for the packaged data file (if status for download_id is COMPLETED). The package .zip will remain on our file system for up to 2 days.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
download_id required |
user_template
create
Start a new modelling project in User Template mode. The project will remain on our file system for up to 14 days.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
template_coordinates required | |
target_sequences required | Amino acid sequence as a string, or as a list for hetero targets ["sequence","sequence",...] |
project_title |