Opened 6 years ago

Closed 5 years ago

#11270 closed enhancement (user disappeared)

Machine-readable version of Tor Check

Reported by: _x3j11 Owned by: arlolra
Priority: Medium Milestone:
Component: Applications/Tor Check Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Tools should have a machine-readable version of Tor Check available with a stable endpoint, in order for them to not have to scrape and parse the HTML presented, which is more fragile. For example, a simple JSON or XML object should be served with the necessary information.

Child Tickets

Change History (2)

comment:1 Changed 6 years ago by arlolra

Thanks for reporting.

This sort of already exists but needs some fleshing out and documentation. It would be helpful to know what endpoints you'd like to see and what your use case is?

TorButton likes XML and gets an answer here: https://check.torproject.org/?TorButton=1
There's also a JSON response for the same at: https://check.torproject.org/api/ip

The bulk exit list returns both a plaintext list and a JSON object,
https://check.torproject.org/cgi-bin/TorBulkExitList.py?ip=123.123.123.123
https://check.torproject.org/api/bulk?ip=123.123.123.123

We're started thinking about a more consistent API at,
https://github.com/arlolra/check/issues/23

Feel free to comment here or there.

comment:2 Changed 5 years ago by arlolra

Resolution: user disappeared
Status: newclosed
Note: See TracTickets for help on using tickets.