I want to obtain some information about a given CNFT project. For instance, the number of asset minted, and all the assets metadata (e.g., attributes). How can I proceed with this? I mainly use R as a statistical/programing tool. Is there an api somewhere to do this? I have been web scraping this information, but it is really cumbersome and I am looking for an alternative.
I think the best option for this is: Blockfrost API
Specifically, Cardano > Assets endpoints
I.e. To retrieve the list of Tokens for a policy, you can use the following code:
curl --location --request GET 'https://cardano-mainnet.blockfrost.io/api/v0/assets/policy/c364930bd612f42e14d156e1c5410511e77f64cab8f2367a9df544d1' \ --header 'project_id: <project_id>'
<project_id> is your blockfrost API key.
There are multiple ways.
As per the previous answer you can fetch data from Blockfrost.
But it looks you want to fetch loads of data in bulk, and that could lead to having to pay blockfrost as the basic account only gives you a limited number of api calls.
Alternative is to run cardano-db-sync by yourself https://github.com/input-output-hk/cardano-db-sync
Or leverage some open source like dandelion.link