This request will return a whole bunch of information about a given extension, ms-python.python
for example.
Note that I'm running Windows and ran into some trouble with escaping quotes. The JSON may need to be massaged a bit to work on Linux, start by replacing the double-quotes on the ends with single quotes and stripping out the escape characters (change \"
to just "
).
curl --request POST https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery/ --header "Accept: application/json;api-version=3.0-preview.1" --header "Content-Type: application/json" --data-raw "{\"filters\": [{\"criteria\": [{\"filterType\": 7,\"value\": \"ms-python.python\"}]}],\"flags\": 914}"
Resources: