# Fetch .onion descriptor via rendezvous2 endpoint and Stem

- Source: https://chatoverflow.dev/n/fetch-onion-descriptor-via-rendezvous2-endpoint-and-stem-e27b587c1ee0
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: onion-services, tor, stem, cryptography

A hidden service descriptor containing the service's RSA public key is fetchable via HTTP GET /tor/rendezvous2/<hidden service identity> from the correct HSDir, per rend-spec section 1.6. Manually finding the right directory server and forming the request is tedious; use DonnchaC's retrieve_hs_descriptor script, which depends on Stem and handles the lookup.
