In the top of the first inning of Major League Baseball’s All-Star Game last month, Chicago Cubs third baseman Kris Bryant clubbed a home run off the left field scoreboard at San Diego’s Petco Park.

Twenty minutes later, the moment had been memorialized with its own baseball card.

Welcome to the new world of card collecting, where your collection can be as large as your data plan.

Since 2012, Topps Inc. has launched seven free apps that let users collect and trade digital cards. As app store visits surge and hobby store visits decline, these programs have injected cash and interest into one of the last vestiges of print media to go digital.

Digital trading cards look a lot like their paper forebears: a photo on the front, stats on the back. Users open the apps to ogle their collections, make trades with other players, and get new cards by opening a limited number of free packs. Die-hards pay for additional packs, increasing their chances to land rarer cards that can be swapped for real-world money.

Aside from the nation’s pastime, Topps has apps for the NFL, soccer, the UFC and the WWE. It has also broached nonsports markets with trading card apps for “Star Wars” and “The Walking Dead.”

The privately held New York company would not discuss the profitability of its apps, but said physical sales currently outweigh digital sales. Its digital business, however, is rapidly growing.

Topps said its apps have been downloaded more than 9 million times. Kick, a soccer app, is its leader, with more than 4 million downloads. More than 600 million packs have been opened across its apps, with an increase of more than 50 percent in the past year.

According to AppAnnie, an app tracking service, five Topps apps have ranked among the top five most downloaded sports and entertainment apps; three have held the top spot at times. The digital products have allowed Topps to build a business that is in many ways the opposite of its printed cards.

Paper cards take days to make, package and ship. They are generally released in sets just once or twice a year – and interest in them peaks around opening day.

With digital apps, it takes just minutes for Topps to release new cards after big plays, decisive victories or trades, or update existing cards with up-to-date statistics. And the company doesn’t have to worry about paper, ink, packaging or shipping.

But Jeremy Strauser, vice president and general manager of digital apps, cautioned that the digital business isn’t without costs.

“We have to create a software, an app, and make it work,” he said. “I wouldn’t say it’s cost-saving – I would say it’s a different kind of business.”

One cost is personnel. When Topps director of app production Chris Vaccaro started the job four years ago, five employees worked on its app division. Now there are more than 50.

“Every day I still wake up and can’t believe what we’re doing,” said Vaccaro.

The company’s success has led competitors to quickly build their own e-card businesses. Upper Deck Co. launched e-Pack this year for fans to buy and trade NHL cards. Upper Deck has free cards available but also allows fans to buy a physical version of any digital card for a fee.

Panini America launched Panini Instant for soccer cards in time for this summer’s Copa America tournament. Its digital basketball card app launched a year ago.