DEVELOPER RESOURCES
datamodellib API
A read-only JSON API over the model catalog. No auth, no key, CORS open, cached at the edge.
GET /api/models
Returns the full catalog (38 models).
curl https://datamodellib.vercel.app/api/models
→ { "count": 38, "models": [ { "id": "normal", "family": "Distributions", ... }, ... ] }GET /api/models?family=…&job=…&diff=…
Filters combine. An unknown value returns 400 with the allowed list.
curl "https://datamodellib.vercel.app/api/models?family=Diffusion&job=Predict"
→ { "count": 3, "models": [ { "id": "broadcast", ... }, { "id": "sir", ... }, { "id": "bass", ... } ] }
family: Distributions | Linear & Nonlinear | Sorting & Peer Effects | Networks | Diffusion | Dynamics | Growth | Games | Learning | Decisions
job: Reason | Explain | Design | Communicate | Act | Predict | Explore
diff: Starter | Core | Advanced | FunGET /api/models?id=<model-id>
Returns one model by id, or 404 if it doesn't exist.
curl https://datamodellib.vercel.app/api/models?id=schelling
→ { "id": "schelling", "family": "Sorting & Peer Effects", "name": "Schelling Segregation", ... }Model schema
- id, family, name — identity
- diff — Starter / Core / Advanced / Fun
- redcape — which of the 7 REDCAPE jobs it serves
- summary, use — original one-line synthesis and when to reach for it
- diagram, lab — which diagram it draws and, if present, which interactive lab it ships
- sources — free CC/MIT references
- detail.how, detail.watch, detail.tryIt — mechanism, misuse warning, hands-on experiment
Every page on this site also serves Markdown to Accept: text/markdown requests. See llms.txt for the full content index.