nsindocs Search the docs⌘K
  1. Docs
  2. API reference
  3. Analytics

List edge nodes

gethttps://api.nsin.ir/analytics/nodes

Auth: Authorization: Bearer nsin_… or X-Api-Key: nsin_… — see API keys.

Active edge nodes (points of presence). Use name as the node filter on /analytics/traffic-by-node and /analytics/origins.

Responses

200Edge nodes.

Content type: application/json

  • dataarray of object
    Item fields
    • namestring

      Node identifier used in filters.

    • labelstring

      Human-readable name.

    • countrystring

      ISO country code.

json
{
  "data": [
    {
      "name": "string",
      "label": "string",
      "country": "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.

json
{
  "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.

json
{
  "error": "rate limit exceeded"
}

Example request

bash
curl -X GET "https://api.nsin.ir/analytics/nodes" \
  -H "Authorization: Bearer $NSIN_API_KEY"
esc