How to get content types and field list with API?

Its outside of strapi. But there is another opensource solution. You can take a look GitHub - nocodb/nocodb: 🔥 🔥 🔥 Open Source Airtable Alternative - turns any MySQL, Postgres database into a collaborative spreadsheet with REST APIs..