Restrictions

Within every api response that includes lyrics or any other we're going to provide a territory based restriction data which will allows you to identify the countries you are allowed to display that content in.

It is imperative that you apply the updates of the country-restriction data as soon as possible. We expect these updates to happen ideally on the day the update is made available to you as they may, for example, include a restriction included as a result of a takedown notice.

This restriction block contains two sets, the allowed and the blocked countries.
Countries are identified with the ISO 3166-1 alpha-2 standard.
XW Identifies "every country

There are two different types of possible configurations:

1) All the world allowed with the exception of a specific set of countries (that is usually empty)

restrictions: { allowed: [XW], blocked: [] }

This means you can display the lyrics in every countries.

restrictions: { allowed: [XW], blocked: [US,CA] }

This means you can not display the lyrics in the USA and in Canada.

2) All the world is NOT allowed, with the exclusion of zero or few countries

restrictions: { allowed: [], blocked: [XW] }

This means you can not display the lyrics in any country.

restrictions: { allowed: [IT], blocked: [XW] }

This means you can only display the lyrics in Italy.