TFRegDB v2.0
GET

/domains

Returns every merged domain matching the filters (effector domains: activation, repression, bifunctional; and DNA-binding domains), with gene, UniProt, coordinates, family and the publication years of the claims behind it. Each effector domain also carries a confidence: the highest level among its claims (High, Medium or Low), given overall, for literature claims only (confidence_literature) and for screen claims only (confidence_ht). evidence lists the kinds of claims behind it, n_claims counts them and n_determinants counts the deletion-scan determinants inside it. DNA-binding domains come from CIS-BP and have no confidence. The claims themselves are in /claims.

Parameters

Optional

Name Type Description Default Example
type Enum Domain class: ED (effector) or DBD (DNA-binding).
EDDBD
- ED
subtype Enum Effector activity (or 'dna' for DBDs).
activationrepressionbifunctionaldna
- activation
family String DBD / effector family label (e.g. zf-C2H2, Forkhead). - Forkhead
tf_family String TF family class of the parent protein (e.g. bHLH, Homeodomain). Alias: tf.family. - Nuclear receptor
gene String HGNC gene symbol, or a comma-separated list. Symbols not in TFRegDB are listed under unmatched in the JSON reply. Alias: symbol. - ZNF10,ZNF91
uniprot String Canonical UniProt accession, or a comma-separated list. - P04637
id String Domain id, or a comma-separated list of ids. - TFR:P21506:13
confidence Enum Keep domains whose highest claim confidence is one of these (comma-separated).
HighMediumLow
- High
min_confidence Enum Keep domains whose highest claim confidence is at least this level.
HighMediumLow
- Medium
evidence Enum Keep domains backed by this kind of claim (comma-separated). With a single kind, confidence and min_confidence use that kind's own level, so evidence=literature&min_confidence=High means at least one High literature claim.
literaturehigh-throughputCIS-BP
- literature
pmid String Keep domains supported by this PubMed id (comma-separated). - 37020022
overlaps String A residue (120) or range (100-200) the domain must overlap. Use it with gene or uniprot. - 1-80
min_length Int Keep only domains at least this many residues long. - 30
max_length Int Keep only domains at most this many residues long. - 200
year_min Int Earliest publication year of a supporting report. A domain matches when at least one of its own reports (same type) was published within [year_min, year_max]; domains with no dated report (CIS-BP DBDs) drop out when a year filter is set. - 2020
year_max Int Latest publication year of a supporting report. - 2024
homology_only Boolean true keeps only domains whose literature support was all transferred from another species (no screen measured them); false leaves those out. - false
include Enum sequence adds each domain's amino-acid sequence (canonical protein).
sequence
- sequence
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. - symbol,start,end,confidence
sort String Comma-separated fields to order by; prefix a field with '-' for descending. - -length
page Int 1-based page number. 1 2
page_size Int Rows per page (maximum 1000). 100 1000
The tf_family and family filters only accept values that exist in the data. A misspelled value (tf_family=C2H2) gets a 400 that names the closest real ones (C2H2 ZF); /families?by=tf_family lists them all.

Example requests

Repression domains of C2H2 zinc-finger TFs, as TSV
curl 'https://tfregdb.com/api/v2.0/domains?tf_family=C2H2%20ZF&type=ED&subtype=repression&format=tsv&page_size=1000'
Effector domains with at least one High-confidence literature claim
curl 'https://tfregdb.com/api/v2.0/domains?type=ED&evidence=literature&min_confidence=High'
Domains of several TFs at once, with their sequences
curl 'https://tfregdb.com/api/v2.0/domains?gene=ZNF10,ZNF91,ZNF274&type=ED&include=sequence'
Activation domains reported 2020–2024, as TSV (all of them: page_size=1000)
curl 'https://tfregdb.com/api/v2.0/domains?subtype=activation&year_min=2020&year_max=2024&format=tsv&page_size=1000'
All zf-C2H2 DNA-binding domains
curl 'https://tfregdb.com/api/v2.0/domains?type=DBD&family=zf-C2H2'
Nuclear-receptor effector domains, projecting a few fields
curl 'https://tfregdb.com/api/v2.0/domains?tf_family=Nuclear%20receptor&type=ED&fields=symbol,start,end'