Sucuri-API

A conda / bioconda package-version lookup API for bioinformatics. Part of the ABC-cluster platform.

OpenAPI 3.x Pode 2.12.1 Rate limited · 30 req / 60s per IP

Interactive docs

Browse and try endpoints in Swagger UI → /docs/view

Health

Check the conda backend → /v1/health

Search

Look up the latest version of any conda package across channels.

What it does

Sucuri resolves the latest available version of a conda package (e.g. from bioconda) by querying the solver directly, so you don't have to install anything to find out what's publishable. It backs reproducibility checks across the ABC-cluster federated HPC platform.

Endpoints

GET /v1/search?pkg_name=<name>&channels=<channels> latest version (rate limited)
POST /v1/solve solve a conda env recipe (rate limited)
GET /v1/health backend status (unlimited)

Usage examples

# Latest version of prokka from bioconda
curl "http://localhost:8085/v1/search?pkg_name=prokka&channels=bioconda"

# Multiple channels (comma-separated)
curl "http://localhost:8085/v1/search?pkg_name=samtools&channels=bioconda,conda-forge"

# PowerShell
Invoke-RestMethod "http://localhost:8085/v1/search?pkg_name=prokka&channels=bioconda"

# Solve a recipe (multipart upload)
curl -F "recipe=@environment.yml" http://localhost:8085/v1/solve

Rate limiting

The conda-backed endpoints (/v1/search and /v1/solve) spawn a solver per request, so they are capped at 30 requests per 60 seconds per IP. Exceeding the limit returns HTTP 429 Too Many Requests. The landing page and /v1/health are not rate limited.