Difference between revisions of "Public APIs"

From "PTTLink Wiki"
Jump to navigation Jump to search
(Created initial page)
 
Line 12: Line 12:
 
|-
 
|-
 
| http://stats.pttlink.org/nodeinfo.cgi?node=2000  
 
| http://stats.pttlink.org/nodeinfo.cgi?node=2000  
| Individual reporting node. Rate limited to 30 requests per minute.
+
| Individual reporting node. Rate limited to 30 requests per minute.
 
|-
 
|-
| https://nodes1.pttlink.org/cgi-bin/nodes.pl
+
| http://nodes1.pttlink.org/cgi-bin/nodes.pl
| Registered nodelist
+
| Registered nodelist. Note: (https also available)
 
|-
 
|-
| https://nodes2.pttlink.org/cgi-bin/nodes.pl
+
| http://nodes2.pttlink.org/cgi-bin/nodes.pl
| Registered nodelist
+
| Registered nodelist. Note: (https also available)
 
|-
 
|-
| https://nodes3.pttlink.org/cgi-bin/nodes.pl
+
| http://nodes3.pttlink.org/cgi-bin/nodes.pl
| Registered nodelist
+
| Registered nodelist. Note: (https also available)
 
|-
 
|-
| https://nodes4.pttlink.org/cgi-bin/nodes.pl
+
| http://nodes4.pttlink.org/cgi-bin/nodes.pl
| Registered nodelist
+
| Registered nodelist. Note: (https also available)
 
|-
 
|-
 
| https://register.pttlink.org/allmondb.php  
 
| https://register.pttlink.org/allmondb.php  
| For Allmon2 and Supermon. Please fetch no more than once a day.   
+
| For Allmon2 and Supermon. Please fetch no more than once a day.   
 
|-
 
|-
 
|}
 
|}

Revision as of 19:30, 27 January 2022

This is a list of our APIs for users to retrieve node information, stats, and other live data from PTTLink. If you wish to inquire about these, please contact helpdesk@pttlink.org.

By using this data for public consumption you agree to credit PTTLink© on your website or published documentation.

APIs

Node Description
http://stats.pttlink.org Listing of all reporting nodes
http://stats.pttlink.org/nodeinfo.cgi?node=2000 Individual reporting node. Rate limited to 30 requests per minute.
http://nodes1.pttlink.org/cgi-bin/nodes.pl Registered nodelist. Note: (https also available)
http://nodes2.pttlink.org/cgi-bin/nodes.pl Registered nodelist. Note: (https also available)
http://nodes3.pttlink.org/cgi-bin/nodes.pl Registered nodelist. Note: (https also available)
http://nodes4.pttlink.org/cgi-bin/nodes.pl Registered nodelist. Note: (https also available)
https://register.pttlink.org/allmondb.php For Allmon2 and Supermon. Please fetch no more than once a day.

IP Lookup

Examples for node 2000.

nslookup 2000.nodes.pttlink.org
dig 2000.nodes.pttlink.org
dig txt 2000.nodes.pttlink.org

Nodes must be registered with register.pttlink.org to provide IP address information.

Nodes must be reporting to stats.pttlink.org to provide status information.