Skip to main content
POST
/
api
/
stackexchange
/
tags
/stackexchange/tags
curl --request POST \
  --url https://api.anysite.io/api/stackexchange/tags \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "site": "stackoverflow",
  "sort": "popular",
  "inname": "python"
}
'
[
  {
    "name": "<string>",
    "@type": "@stackexchange_tag",
    "question_count": 123,
    "has_synonyms": false,
    "is_moderator_only": false,
    "is_required": false
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Max result count

Required range: x >= 1
Example:

20

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
site
string
default:stackoverflow

Stack Exchange network site to query (e.g. stackoverflow, superuser, serverfault, math)

Minimum string length: 1
Example:

"stackoverflow"

sort
enum<string>
default:popular

Result sorting

Available options:
popular,
activity,
name
inname
string | null

Restrict to tags whose name contains this substring

Example:

"python"

Response

Successful Response

name
string
required
@type
string
default:@stackexchange_tag
question_count
integer | null
has_synonyms
boolean
default:false
is_moderator_only
boolean
default:false
is_required
boolean
default:false