Public APIs

From "PTTLink Wiki"
Revision as of 20:58, 27 January 2022 by Kg7qin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

Policy

Use of these systems is governed by the PTTLink Data Use Policy and you agree to abide by it through your use of any of the systems listed below.

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.