Unless your website has real humans visiting it, there's not a lot of value, I am afraid. The idea of many dynamically generated pages isn't new or unique. IPInfo[1] has 4B sub-pages for every IPv4 address. CompressJPEG[2] has lot of sub-pages to answer the query, "resize image to a x b". ColorHexa[3] has sub-pages for all hex colors. The easiest way to monetize is signup for AdSense and throw some ads on the page.
There was another post on here where the creator responded, and he had intentionally built a site that had bots endlessly digging further through pages, though I can't recall which. I believe his site was pretty old too, and of simple html.
[1]: https://ipinfo.io/185.192.69.2
[2]: https://compressjpeg.online/resize-image-to-512x512
[3]: https://www.colorhexa.com/553390