Your question is IP Reputation API Design. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Design a system that integrates with a low-reliability, low-throughput API that tells you whether an IP is good or bad, logging each callout for later decision making. Asked in the onsite system design stage.