List edge node countries
gethttps://api.nsin.ir/analytics/node-countries
Auth: Authorization: Bearer nsin_… or X-Api-Key: nsin_… — see API keys.
The distinct countries NSIN's edge nodes are in, sorted — the values
the nodeCountry filter of /analytics/logs accepts. Needs no domain.
Responses
200Country codes.
Content type: application/json
- dataarray of string
{
"data": [
"string"
]
}401Missing, malformed, revoked or expired API key. (A valid key whose
account has been deactivated gets 403 account is inactive instead.)
Content type: application/json
- errorstringrequired
Human-readable description of what went wrong.
{
"error": "invalid API key"
}429The key exceeded its request budget (300 requests per minute by default).
Content type: application/json
- errorstringrequired
Human-readable description of what went wrong.
{
"error": "rate limit exceeded"
}Example request
curl -X GET "https://api.nsin.ir/analytics/node-countries" \
-H "Authorization: Bearer $NSIN_API_KEY"