How can I download table as CSV via API?

Hey there!

I’m curious — is it possible to download a table or table view via any of the API endpoints in the self-hosted version of NocoDB?

I’ve been browsing the web, but many discussions refer to endpoints I haven’t been able to find through Google search or by searching the documentation.

I’d really appreciate anyone’s assistance, ideally with a reference to the part of the documentation I might be missing.

Best,
Daniel

Use list apis for that particular view and you should be able to do that. Ask chatgpt to do that for you.

Would love to understand, what will be the usecase of you downloading the CSV via API? Is it sent like turned into excel and passed around via email or chat?

Thank you so much — it was helpful to discover that it’s possible to transform JSON into CSV with just a bit of plain code.

Interestingly, this actually sparked a conversation with one of our co-founders that led us to rethink the need for using CSV at all. Instead, we’re now using HTTP requests to directly retrieve records for one of our projects, which is integrated with a Telegram bot for an educational platform focused on AI and knowledge management tools.

Thanks again for your quick and helpful response — it really made a difference!
By the way, are you part of the NocoDB team?

Best,
Daniel Vasilyeu,
AImazing.dev agency

a Telegram bot for an educational platform focused on AI and knowledge management tools.

Could you also help expand how this bot functions overall. There is a telegram bot called shopsbuilder for which nocodb is the backend & CRM per shop owner. May be you want to take a look.

Yes, I am part of nocodb team.