How to get the Meta Description field in REST API ?

WordPress SEO: if I understand correctly, the REST API does not return the meta description, as it is not native to WP but managed by plugins (rankmath, yoast, etc.)
However, I want to access the meta desc by API to manage my sites in Python. What would be the best way?

* Do SEO plugins have endpoints that allow to GET and PUT the meta desc?
* Is the best solution to create a custom endpoint to be independent of a particular plugin? Wouldn’t I still be dependant of the plugin that stores the meta fields its own table?

How would you do this?



This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer