SWISS-MODEL REST API
alignment
create
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
target_sequencesrequired | Amino acid sequence as a string, or as a list for hetero targets ["sequence","sequence",...] |
template_sequencerequired | Template sequence |
template_seqres_offsetrequired | Offset of the provided template_sequence on the seqres (defined as the mmCIF entity_poly_seq category). |
pdb_idrequired | PDB ID of the template |
auth_asym_idrequired | 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 |
|---|---|
usernamerequired | Valid username for authentication |
passwordrequired | Valid password for authentication |
atlas
results > read
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
md5required |
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 |
|---|---|
queryrequired | Sequence as string / PDB structure as string |
automodel
create
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
target_sequencesrequired | Amino acid sequence as a string, or as a list for hetero targets ["sequence","sequence",...] |
project_title |
ost
project
models > read_1
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
project_idrequired | |
model_idrequired |
models > read_2
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
project_idrequired | |
model_idrequired |
models > read
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
project_idrequired | |
model_idrequired |
models > read_0
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
project_idrequired | |
model_idrequired |
models > full-details > read
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
project_idrequired |
models > full-details > read_0
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
project_idrequired | |
model_idrequired |
models > summary > read
Path Parameters
The following parameters should be included in the URL path.
| Parameter | Description |
|---|---|
project_idrequired |
projects
download > create
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_idrequired |
user_template
create
Request Body
The request body should be a "application/json" encoded object, containing the following items.
| Parameter | Description |
|---|---|
template_coordinatesrequired | |
target_sequencesrequired | Amino acid sequence as a string, or as a list for hetero targets ["sequence","sequence",...] |
project_title |