Introduction

Introduction to the BioLM.ai API and programmatic access to the platform.




If accessing via the tutorials you will already be authenticated with your BioLM account, otherwise please set your token as an environment variable

import os
# os.environ['BIOLMAI_TOKEN'] = "Your token here"
from biolmai import BioLM

Example API Call

We'll quickly demonstrate an API call

GFP_SEQ = """
MSKGEELFTGVVPILVELDGDVNGHKFSVSGEGEGDATYGKLTLKFICTTGKLPVPWPTL
VTTFSYGVQCFSRYPDHMKQHDFFKSAMPEGYVQERTIFFKDDGNYKTRAEVKFEGDTLV
NRIELKGIDFKEDGNILGHKLEYNYNSHNVYIMADKQKNGIKVNFKIRHNIEDGSVQLAD
HYQQNTPIGDGPVLLPDNHYLSTQSALSKDPNEKRDHMVLLEFVTAAGITHGMDELYK
""".replace('\n', '').strip().upper()
# Make the POST request
result = BioLM(entity="esmfold", action="predict", items=[{"sequence": GFP_SEQ}])
result

You can print these JSON results in an interactive format using iPython:

JSON(result)
<IPython.core.display.JSON object>

Next Steps

Check out additional tutorials at jupyter.biolm.ai, or head over to our BioLM Documentation to explore additional models and functionality.

See more use-cases and APIs on your BioLM Console Catalog.


BioLM hosts deep learning models and runs inference at scale. You do the science.

Contact us to learn more.

<span></span>

Accelerate yourLead generation

BioLM offers tailored AI solutions to meet your experimental needs. We deliver top-tier results with our model-agnostic approach, powered by our highly scalable and real-time GPU-backed APIs and years of experience in biological data modeling, all at a competitive price.

CTA

We speak the language of bio-AI

© 2022 - 2025 BioLM. All Rights Reserved.