I would like to programmatically get a list of all the WSS urls for parachains. I don't know if this is available anywhere, but I have not seen it. This source code has what I want, but it is in the form of a TypeScript function. I tried to paste the code into a JSON object, but I don't think my JSON skills are good enough to get it to work, besides that would require manual updating. Anyone have a better, or more automated idea?

1 Answer 1


There's a new collaboration project called the polkadot_network_directory. I'm hoping that this may solve this:


PRs welcome if the data you need isn't there. (I'm hoping that npm and crate packages might be built off the back of this.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.