How to get the number of cards in a list

I’m trying to use Trello REST API to get the length of a specific list (in other words: number of cards in a list).
Getting all cards of a list (with all properties) is too heavy for my app.
Thanks!

Hello @ItayMorad

If you look through the set of List endpoints that are available and review their capabilities and the objects contained in their responses, you will quickly determine if there is such an endpoint that returns only a numeric count of cards in a list.

1 Like

thanks a lot for your answer!
iv reviewed the endpoints and didnt find the one that can get my the number of cards in a list without getting all cards with all of their properties.
do you know about a suitable endpoint?

Well, I suppose that means you’ve answered your own question. :slight_smile:

There is no endpoint that can get the number of cards in a list without getting all the cards.

Cheers

1 Like