Paul Sakuma, Associated Press
FILE - In this May 11, 2009 file photo, Ticketmaster tickets and gift cards are shown at a box office in San Jose, Calif. Congress sent legislation to President Barack Obama that could make it easier to get tickets to popular shows, sports events and concerts.

WASHINGTON — Congress sent legislation to President Barack Obama that could make it easier to get tickets to popular shows, sports events and concerts.

Legislation passed by the House on Wednesday would crack down on computer software used by ticket brokers to snap up tickets. The so-called "bots" rapidly purchase as many tickets as possible for resale at significant markups, and are one of the reasons why tickets to a Bruce Springsteen concert or "Hamilton" performance can sell out in just a few minutes.

The bill would make using the software an "unfair and deceptive practice" under the Federal Trade Commission Act and allow the FTC to pursue those cases. The Senate passed the bill last month.

"Hamilton" producer Jeffrey Seller testified at a Senate hearing in September. He said the bots invade the Ticketmaster system the moment tickets go on sale and electronically purchase almost all the available inventory — one of the reasons tickets to the hit musical about the life of founding father Alexander Hamilton have sold for $1,000 or more.

In a report earlier this year, investigators in New York Attorney General Eric Schneiderman's office cited a single broker who bought 1,012 tickets within one minute to a U2 concert at Madison Square Garden when they went on sale on Dec. 8, 2014, despite the vendor's claim of a four-ticket limit. By day's end, that broker and one other had 15,000 tickets to U2's North American shows.

The report said third-party brokers resell tickets on sites like StubHub and TicketsNow at average margins of 49 percent above face value and sometimes more than 10 times the price.

Follow Mary Clare Jalonick on Twitter: http://twitter.com/MCJalonick