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.
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.
| Path | Contents |
|---|---|
| /api/v1/all.json | All 4455 entities, fully resolved with defaults, plus an incoming map of backlinks per id. |
| /api/v1/search.json | Compact documents (id, kind, name, tldr, route) used by the site search. |
| /api/v1/cancers.json | 64 cancers |
| /api/v1/fronts.json | 19 fronts |
| /api/v1/technologies.json | 348 technologies |
| /api/v1/targets.json | 92 targets |
| /api/v1/drugs.json | 377 drugs |
| /api/v1/companies.json | 295 companies |
| /api/v1/institutions.json | 421 institutions |
| /api/v1/pathways.json | 44 pathways |
| /api/v1/terms.json | 357 terms |
| /api/v1/trials.json | 401 trials |
| /api/v1/pairings.json | 85 pairings |
| /api/v1/roadmaps.json | 13 roadmaps |
| /api/v1/ideas.json | 1107 ideas |
| /api/v1/collections.json | 110 collections |
| /api/v1/people.json | 464 people |
| /api/v1/bottlenecks.json | 45 bottlenecks |
| /api/v1/key papers.json | 146 key papers |
| /api/v1/journals.json | 67 journals |
| /api/v1/entities/<id>.json | One entity with its neighbours, e.g. tnbc.json, trop2.json. |
| /api/v1/ranking.json | Institution ranking rows with the score components. |
| /api/v1/meta.json | Build 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'