Download our data!

Currently there are two ways of downloading our data. You can either download the full database in JSON format using the button below, or access individual entries with our REST API, using the format below.

The REST API is available through the url: http://phasepro.elte.hu/rest/<accession>.json where <accession> has to be a valid UniProt accession referencing a protein in PhaSePro, e.g.: http://phasepro.elte.hu/rest/P35637.json The JSON format is a DJANGO serialized object, for more information on DJANGO serialization click here.

Example Python3 script
import urllib.request, json
with urllib.request.urlopen("https://phasepro.elte.hu/download_full.json") as url:
    # Variable 'data' will contain the full database as a nested dictionary
    data = json.loads(url.read().decode())
    # Access the data of protein FUS
    print(data['P35637'])