Reference: https://www.coingecko.com/api/documentations/v3

Trying to curate a list of DeFi coins?

Use our /coins/markets endpoint, and filter by DeFi category.

Returns price, market cap, volume, fully diluted valuation

Trying to curate a list of other categories?

Use /coins/categories/list endpoint to get a list of all categories, then use it in /coins/markets endpoint

You can get categories like non-fungible tokens, stablecoins, play-to-earn tokens