Quickstart
Zero to first request in 5 minutes. No credit card required.
1
Get your API key
Sign up for a free Explorer account to get your API key. No credit card required — 100 requests per day included.
- Click below to create an account with your email (magic link, no password)
- Open your Dashboard and click “Generate New Key”
- Copy the key — it's only shown once
2
Make your first request
All requests use the X-API-Key header for authentication. Try querying a well-known cancer gene:
curl -s "https://research.usegalen.com/api/v1/entities/EGFR" \
-H "X-API-Key: YOUR_API_KEY" | python3 -m json.tool3
Explore relationships
See how EGFR connects to drugs, pathways, and other genes in the knowledge graph:
resp = requests.get(
"https://research.usegalen.com/api/v1/entities/EGFR/relationships",
headers={"X-API-Key": "YOUR_API_KEY"},
params={"limit": 5}
)
for rel in resp.json()["relationships"]:
print(f" {rel['type']}: {rel['target']['name']}")4
Run a causal query
Simulate what happens when you inhibit EGFR — which downstream pathways are affected?
Requires Researcher tier ($49/mo) or higher.
resp = requests.post(
"https://research.usegalen.com/api/v1/causal/intervention",
headers={
"X-API-Key": "YOUR_API_KEY",
"Content-Type": "application/json"
},
json={
"target": "EGFR",
"intervention_type": "inhibit"
}
)
result = resp.json()
print(f"Downstream effects: {len(result['downstream_effects'])}")
for effect in result["downstream_effects"][:5]:
print(f" {effect['entity']}: {effect['direction']} ({effect['confidence']:.2f})")