That’s not going to work, because now that’s an API for spammers to bulk process against a domain list. The only available API must be human communication to the mod team, or the spammers will overcome it with automation.
Spammers can already do that API call and see if the domain shows up. This only puts human users at the same level of consideration as spammer automation.
Seriously dedicated spammers can, yes! But antispam is about reducing the noise threshold, and eliminating low-effort spam opportunities that can be done to a single HTTP endpoint with a bash script is a big win. Simply having to access two pages is already too much to bother with for the vast majority.
"This domain is not allowed on HN" as an error message upon submission.
It's quite possible the reason the list isn't public is because it would give away information about what thought is allowed and what thought isn't.
Elaborate.