ALBANY — They’ve got their number.

State lawmakers are considering legislation that would effectively ban robocalls to New York residents.

“Robocalls are a scourge in our modern society and if New Yorkers had a movie about our lives, a robocall would be the soundtrack to our lives,” said state Sen. Brad Holyman (D-Manhattan), a sponsor of the measure.

“This is the top complaint I get from constituents next to complaints about the subways.”

The Robocall Prevention Act bans unwanted calls by increasing the scope of the attorney general’s enforcement powers, authorizing new fines of up to $2,000 per call.

Holyman said the law “operates on a parallel track with the federal government.”

“We have the jurisdiction to implement laws on robocalls that are more strict than the federal level. I think that’s what needs to happen because the FCC and the FTC apparently haven’t been doing their job.”

His bill also requires phone companies to make call-blocking technology available free for consumers.

Holyman said he’s heard from the companies, and while they are not enthusiastic, they understand New York needs to act and have offered “technical suggestions.”

Nearly 48 billion robocalls were placed in the US last year. Lawmakers say they’ve heard from constituents who have been specifically targeted for certain robocalls because of their age or ethnicity. The calls often seek to sell a product or, in some cases, perpetrate a scam, such as claiming a person owes money for back taxes or has won a free vacation.

“We deserve better,” said the bill’s Assembly sponsor, Democrat Yuh-Line Niou, who said many Chinese-American residents in her Manhattan district were targeted by robocalls warning them — in their native language — about possible problems with US visas.