MINNEAPOLIS (AP)—CBS has filed a federal lawsuit to establish its right to use without charge the statistics that underlie fantasy football leagues.

The lawsuit filed Wednesday in Minneapolis by the network’s online operation claims that the NFL Players Association has threatened to sue the company if it does not pay licensing fees for the statistics.

CBS seeks a court ruling saying that “the Players Association may not seek to control the use of player statistics in fantasy games and may not continue to extract money from CBS Interactive for the use of publicly available football statistics.”

The lawsuit said CBS had paid a licensing fee to the players in the past, but stopped when its most recent deal expired on Feb. 29.

The company decided that it did not need to pay the fee because of a ruling from 8th Circuit Court of Appeals in St. Louis in a similar lawsuit involving fantasy baseball.

In that case, the court ruled that a Missouri-based company didn’t need to pay a licensing fee to Major League Baseball players for its fantasy baseball games. In June, the Supreme Court declined to review the case, letting the appeals court ruling stand.

The baseball players argued they were entitled profit from the commercial use of their names.

NFL Players Association attorney Jeffrey Kessler had no comment Friday because he had just received the lawsuit.

Alex Riethmiller, a spokesman for CBSSports.com, said, “CBS does not comment on pending litigation.”