It is free to play, and it is paid for with ads and optional in-app purchases, so please know both before you start.
Ads. Never while you detect, dig or clean. A full-screen ad can come after you sell or donate a find, but not in your first ten minutes of play; a banner shows on the title screen and the menus; and an ad may show when you come back to the game after a while. Rewarded videos are always your choice: double a sale, a treasure map, free coins, or an instant clean.
Purchases. All are optional, through Google Play: removing the ads, a starter pack, a VIP bundle and coin packs. The starter pack and the VIP bundle include treasure maps, and the game shows what a map can hold (Rare 70%, Epic 25%, Legendary 5%) before you buy. Google Play shows the price for your country. No Ads takes away the full-screen ads, the banner and the ad on return; the rewarded videos stay, as a choice.