Oddbean new post about | logout
 Here's how I get around using blastr. I looked where he gets the relay list from. He just uses the API from Nostr.Watch.

```
// download a list of active relays
$url = "https://api.nostr.watch/v1/online";    
$page = file_get_contents($url);
$requestedRelays = json_decode($page, true);
sort($requestedRelays);
```