[GET] Get tags

Modified on Tue, 11 Feb at 3:52 AM

https://api.s7risk.com

The Incident API provides well constructed high-quality, highly-tailored and scalable threat intelligence data.

GET /tagsGet tags

This endpoint gets all available tags. The tags returned can be filtered in scope by adding a search parameter to your request.

HTTP Request

curl -X GET 'https://api.s7risk.com/tags' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer {{YOUR_AUTHENTICATION_TOKEN}}' \
  -d 'search=terr' \
  -d 'sort=desc' \
  -d 'page=2' \
  -d 'pageSize=30' \
  --compressed

Headers

NameTypeRequiredDescription
Authorizationstring✔️Your authentication token (see the Auth API section for more information)

Query Parameters

NameTypeDescription
searchstringSearch using the given search term
sortstringSort the results by the given properties. Available options asc or desc. If no sort order is specified then results are sorted by their popularity.
pageintA paginated result set. Defaults to 1
pageSizeintA limited result set. Defaults to 100

HTTP Response

{
    "data": [
        {
            "name": "electricity",
            "slug": "electricity",
            "counts": {
                "uses": 985
            }
        },
        {
            "name": "climateprotest",
            "slug": "climateprotest",
            "counts": {
                "uses": 312
            }
        }
    ]
}

Success

CodeStatusDescription
200SuccessReturns a body containing all valid tags

Errors

CodeStatusDescription
401UnauthorizedExpired or Invalid Authentication token
422Unprocessable EntityIncorrect or invalid search parameter

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article