Get comments from a vulnerability

Returns a list of Comments objects.

Examples

Get 3 community comments from a vulnerability.

import requests
import urllib

object_id = "vulnerability--cve-2022-30190"
limit =3
url = f"https://www.virustotal.com/api/v3/collections/{object_id}/comments?limit={limit}"
headers = {"accept": "application/json","x-apikey": <api-key>}
response = requests.get(url, headers=headers)
Path Params
string
required
Query Params
int32
0 to 40
Defaults to 10
string
Headers
string
required
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json