Today
← API plans

Crediting onice

Where you use numbers from the API, say where they come from and link to onice. It costs you one line, and it is how other people find the data.

Which plans ask for a credit

Free

Next to the numbers

Personal and non-commercial projects. A visible line with a link, near the numbers you show.

Starter and Pro

No credit needed

Commercial use is allowed. The link is always welcome, but not required.

What it looks like

On the Free plan the line is near the numbers: under a table or a chart.

Next to the numbers

Expected goals by team, last 10 gamesData: onice.dev

Copy a line

Use the text that fits your page. Any of these is fine.

HTML

<a href="https://onice.dev/">Data: onice.dev</a>

Markdown

[Data: onice.dev](https://onice.dev/)

Plain text, a post or a video description

Data: onice.dev (https://onice.dev/)

Other wordings that work: Stats from onice.dev (unofficial NHL data), Expected goals by onice.dev.

Good to know

Where must the link be?

On the Free plan, on the same page or screen as the numbers. A link that nobody can reach does not count. The paid plans need no link.

How does my program know if it needs a link?

Every answer of the API carries meta.source and, for a key, the header X-Attribution-Required with yes or no, by plan.

Images and charts

If you show charts or images from onice, keep the logo or the address that is on them.

Unofficial numbers

The numbers are calculated from public NHL data and are not official statistics. Do not describe them as NHL statistics.

What if the link is missing?

We will write to you first. A key can be switched off if the link stays missing.

Questions? Write to us. See the plans.