OnCo

Open API

The whole corpus is published as static JSON under /api/v1/ with permissive CORS. No key, no rate limit beyond the CDN. Licence CC BY 4.0.

Attribution required

The data are free to use under CC BY 4.0. If you use the API or the JSON, name OnCo and link to onco.cc wherever the data or text derived from it appears, for example: Data from OnCo (onco.cc), CC BY 4.0. Logos remain their owners' trademarks and molecule structures keep their PubChem and RCSB terms. The same notice is in /api/v1/meta.json.

PathContents
/api/v1/all.jsonAll 4455 entities, fully resolved with defaults, plus an incoming map of backlinks per id.
/api/v1/search.jsonCompact documents (id, kind, name, tldr, route) used by the site search.
/api/v1/cancers.json64 cancers
/api/v1/fronts.json19 fronts
/api/v1/technologies.json348 technologies
/api/v1/targets.json92 targets
/api/v1/drugs.json377 drugs
/api/v1/companies.json295 companies
/api/v1/institutions.json421 institutions
/api/v1/pathways.json44 pathways
/api/v1/terms.json357 terms
/api/v1/trials.json401 trials
/api/v1/pairings.json85 pairings
/api/v1/roadmaps.json13 roadmaps
/api/v1/ideas.json1107 ideas
/api/v1/collections.json110 collections
/api/v1/people.json464 people
/api/v1/bottlenecks.json45 bottlenecks
/api/v1/key papers.json146 key papers
/api/v1/journals.json67 journals
/api/v1/entities/<id>.jsonOne entity with its neighbours, e.g. tnbc.json, trop2.json.
/api/v1/ranking.jsonInstitution ranking rows with the score components.
/api/v1/meta.jsonBuild date, counts, schema version.

Schema

Every entity shares base fields (id, kind, name, aka, tldr, summary, status, asOf, wikipedia, links, tags) and relationship arrays (related, cancers, sections, technologies, targets, drugs, companies, institutions, pathways, terms, trials) holding ids. Kind-specific fields are documented in src/lib/schema.ts in the repository, which is the source of truth and is enforced at build time.

Example

curl -s https://onco.cc/api/v1/entities/trop2.json | jq '.entity.name, .neighbours.drug[].name'