GET
/ptms
Per-residue post-translational modification sites. Use the domain.* filters (or within_domain) to keep only sites that fall inside a curated domain.
Parameters
Optional
| Name | Type | Description | Default | Example |
|---|---|---|---|---|
type | String | Modification type, e.g. Phospho, Acetyl, Ubiquitin, Methyl. | - | Phospho |
gene | String | HGNC gene symbol, or a comma-separated list. Alias: symbol. | - | TP53 |
uniprot | String | Canonical UniProt accession, or a comma-separated list. | - | P04637 |
overlaps | String | A residue or range of residues. | - | 1-50 |
within_domain | Boolean | Keep only PTMs inside a curated domain. | false | true |
domain.type | Enum | Class of the enclosing domain. EDDBD | - | ED |
domain.subtype | Enum | Effector activity of the enclosing domain. activationrepressionbifunctionaldna | - | activation |
family | String | Enclosing-domain family. | - | Forkhead |
format | Enum | Serialization of the response body. TSV and NDJSON hold one page of rows; the X-Total-Count header gives the number of matches in all, so read further pages with page. jsontsvndjson | json | tsv |
fields | String | Comma-separated subset of fields to keep in each row; an unknown field gets a 400. | - | gene,pos,type |
sort | String | Comma-separated fields to order by; prefix a field with '-' for descending. | - | gene |
page | Int | 1-based page number. | 1 | 2 |
page_size | Int | Rows per page (maximum 1000). | 100 | 1000 |
Example requests
Phosphosites inside activation domains
curl 'https://tfregdb.com/api/v2.0/ptms?type=Phospho&domain.subtype=activation'