Skip to content
nsin docs

List edge node countries

GET
/analytics/node-countries
curl --request GET \
--url https://api.nsin.ir/analytics/node-countries \
--header 'Authorization: Bearer <token>'

The distinct countries NSIN’s edge nodes are in, sorted — the values the nodeCountry filter of /analytics/logs accepts. Needs no domain.

Country codes.

Media type application/json
object
data
Array<string>
Example generated
{
"data": [
"example"
]
}

Missing, malformed, revoked or expired API key. (A valid key whose account has been deactivated gets 403 account is inactive instead.)

Media type application/json

The single error shape used by every endpoint.

object
error
required

Human-readable description of what went wrong.

string
Examples
Example invalidKey
{
"error": "invalid API key"
}

The key exceeded its request budget (300 requests per minute by default).

Media type application/json

The single error shape used by every endpoint.

object
error
required

Human-readable description of what went wrong.

string
Examples
Example limited
{
"error": "rate limit exceeded"
}