Getting a List of First 20 Advisories

Use the following code to get a list of the first 20 advisories (first page):

curl -H "Authorization: Token REPLACE_WITH_YOUR_TOKEN" -H "Content-Type: application/json" https://api.app.secunia.com/api/advisories/

You can use the “count: n” result to know the exact size of your results and then use queries such as /api/advisories/?page=2&page_size=10 to paginate the results.

Note:The maximum page size supported is 100 and you cannot get all of the endpoint results in one massive request (which would also not be recommended for performance reasons). To get all the results you will need to script several requests over the total count of results. Please refer to API Throttling for further information.