API Documentation

One API key, 50+ scientific computing endpoints. Protein folding, molecular docking, drug discovery, antibody design, and more. Get started in 60 seconds.

Quick Start

python
pip install scirouter

from scirouter import SciRouter

client = SciRouter(api_key="sk-sci-YOUR_KEY")

# Fold a protein
result = client.proteins.fold(
    sequence="MKTVRQERLKSIVRILERSKEPVSGAQ"
)
print(result.pdb_string[:100])  # PDB structure

Authentication

All API requests require a Bearer token in the Authorization header. Get your API key from the dashboard.

bash
# All requests require an API key in the Authorization header
curl -H "Authorization: Bearer sk-sci-YOUR_KEY" \
  https://scirouter.ai/v1/chemistry/properties \
  -d '{"smiles": "CCO"}'

# Or use the Python SDK (auto-handles auth)
from scirouter import SciRouter
client = SciRouter(api_key="sk-sci-YOUR_KEY")

Free tier: 500 credits/month (750 for academic .edu emails). No credit card required. Sign up to get your API key.

Base URL

https://scirouter.ai

All endpoints are prefixed with /v1/. Responses are JSON with consistent error formats.

Endpoint Reference

Click any group to expand and see individual endpoints with credit costs. cpu = instant, gpu = 5-120s, hybrid = multi-step pipeline.

SDK & Integrations

Python SDK

Full-featured client with typed responses.

pip install scirouter

MCP Server

27+ tools for Claude, Cursor, and AI agents.

mcp.scirouter.dev/sse

REST API

Works with any language via HTTP.

scirouter.ai/v1/*

Error Handling

StatusMeaningAction
401Invalid or missing API keyCheck your Authorization header
402Insufficient creditsBuy credits or upgrade tier
422Invalid input (bad SMILES, sequence too long)Validate inputs before sending
429Rate limitedWait and retry with exponential backoff
504GPU timeout (cold start)Retry once; GPU models may have 30-60s cold starts

Ready to Build?

Get your free API key and start making API calls in under 60 seconds. No credit card required.