Changes

Jump to navigation Jump to search
Created initial page

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 [mailto:helpdesk@pttlink.org helpdesk@pttlink.org].

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

== APIs ==
{|class="wikitable"
! 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.
|-
| https://nodes1.pttlink.org/cgi-bin/nodes.pl
| Registered nodelist
|-
| https://nodes2.pttlink.org/cgi-bin/nodes.pl
| Registered nodelist
|-
| https://nodes3.pttlink.org/cgi-bin/nodes.pl
| Registered nodelist
|-
| https://nodes4.pttlink.org/cgi-bin/nodes.pl
| Registered nodelist
|-
| https://register.pttlink.org/allmondb.php
| For Allmon2 and Supermon. Please fetch no more than once a day.
|-
|}

== IP Lookup ==
Examples for node 2000.
<syntaxhighlight lang="shell">
nslookup 2000.nodes.pttlink.org
dig 2000.nodes.pttlink.org
dig txt 2000.nodes.pttlink.org
</syntaxhighlight>

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.

[[Category: Infrastructure]]
[[Category: Development]]

Navigation menu