I have list of delegator addresses for one baker. I want to get how many tokens they delegated using tezos api. Could anyone help me to get delegation amount?
In a previous question you were given a link to TzKT indexer API. This API will likely offer the vast majority of things you need. Please make sure you read/research their documentation, as it is very detailed.
The question you've asked is not as simple as you think. Because delegating on Tezos follows liquid-POS, it means users can have a different amount delegated every cycle (~3 days). This API returns an array of cycle reward details for a given address. The
stakingBalance in each object is what the user delegated: https://api.tzkt.io/#operation/Rewards_GetDelegatorRewards
Also note that the first 5 cycles are future cycles, with the 6th being the current in-progress cycle. There are other API's available for cycle info