Get Node Information
1. Overview & Typical Use
Returns the current geographic location and IP information for all nodes on the TRON network, for use in node distribution map displays.
- Typical use: node distribution maps, global node monitoring.
- When not to use: to query chain parameters, use “Get Chain Parameters List”; to query the super representative list, use “Get Super Representative List”.
2. Endpoint & Authentication
GET /api/nodemap
For Base URL and authentication, see Common Network & Authentication.
3. Request
Fields
No parameters required.
4. Response
Fields
Top-level
| Field | Type | Required | Description |
|---|---|---|---|
total | integer | Required | Total number of nodes |
code | integer | Required | Response status code; 0 = success |
data | array | Required | Node list, see below |
data[] element
| Field | Type | Required | Description | Unit/Precision |
|---|---|---|---|---|
country | string | Required | Country name | — |
province | string | Required | Province / state name | — |
city | string | Required | City name | — |
ip | string | Required | Node IP address | — |
lng | number | Required | Longitude | degrees |
lat | number | Required | Latitude | degrees |
5. Errors
For HTTP status codes, see Common Errors. Key points for this endpoint:
- No parameters, always returns data: this endpoint requires no parameters and always returns the node list.
Last updated on: