Seeing 244 relays haven't ran for over a year returned from details API - "By default, all relays...are included that have been running in the past week."
Is the expected behavior that the Onionoo details API only returns relays with downtime <= past week?
If so, that isn't completely true for all relays as a subset of ~244 relays are being returned with downtime longer than 1 year.
If not, couldn't find better documentation than this, "By default, all relays and bridges are included that have been running in the past week." https://metrics.torproject.org/onionoo.html#methods Few specific parameters don't support great than 7 per the docs but the ~244 relays shows that's not true. https://metrics.torproject.org/onionoo.html#parameters_last_seen_days https://metrics.torproject.org/onionoo.html#parameters_last_seen_since
I've pasted below a simple python script to reproduce and it's output after running now. Quick simple example: https://metrics.torproject.org/rs.html#details/191434ACEE63F233F59E113FA0E4DA7B346ACCDE
As a workaround, I'm going to manually handle these ~244 relays by filtering out downtime greater than 7 days when I parse Onionoo data for metrics: https://1aeo.com/metrics/index.html https://github.com/1aeo/allium/ Will share updated code snippet when it's complete for reference.
Analysis time: 2025-07-01 05:07:45 UTC
Total relays in onionoo response: 9558
• Recent (< 7 days): 603
• Long-term (> 7 days): 2
• Very long-term (> 1 year): 244
• Unknown downtime: 0
RS1Lselectel (01FF9C85) - last seen 2025-06-24 03:00:00 (7 days ago)
TehRelay (737EDD9C) - last seen 2025-06-24 04:00:00 (7 days ago)
ididnteditheconfig (18D8FAF2) - last seen 2024-01-25 10:00:00 (522 days ago)
nognu3 (191434AC) - last seen 2024-01-28 11:00:00 (519 days ago)
Belobog (1918F0AD) - last seen 2024-01-23 00:00:00 (525 days ago)
Unnamed (19536EB6) - last seen 2024-01-26 22:00:00 (521 days ago)
Unnamed (1D38F1F9) - last seen 2024-01-28 17:00:00 (519 days ago)