
Give it an NMLS ID and a Model Match API key and it renders an animated, click-through recap of an originator’s year — total volume, loans funded, biggest month, top markets and lenders, and purchase-vs-refi mix.
It’s server-rendered (TanStack Start), so your API key stays on the server
and is sent as the x-api-key header — it never reaches the browser. Only the
finished numbers are shipped to the client.
Deploy it
Give it an NMLS ID and an API key and it renders an animated recap of the year: total volume, loans funded, biggest month, top markets and lenders. Server-rendered, so the key never reaches the browser.
Or scaffold locally: npm create @model-match -- --example wrapped
What you'll need
A Model Match API key — create one in your dashboard (see Authentication) — and the NMLS ID of the originator you want to feature. Without a key it runs in demo mode with sample data, so you can preview it first.
Environment variables
| Variable | Required | Notes |
|---|---|---|
MODEL_MATCH_API_KEY | for real data | Server-side only. Sent as x-api-key. |
MODEL_MATCH_NMLS_ID | for real data | The originator to feature. |
MMR_API_URL | no | Defaults to https://api.modelmatch.com. |
REPORT_YEAR | no | Defaults to 2025. |
Run it locally
npm create @model-match -- --template wrapped
cd wrapped
npm install
npm run dev
Open localhost:3000. With no key it shows demo data; add
MODEL_MATCH_API_KEY and MODEL_MATCH_NMLS_ID to .env for the real thing. In
dev you can also preview any originator with ?nmls=1036297.