DIY APIs and locked drawers

I was sitting in a coworking space when one member’s drawer got stuck and she lost the key. Management said a replacement would cost $70. Another member forced the drawer open and changed the lock from the inside. The new lock cost her $10 and the fix took 10 minutes. The drawer never did go back in straight. A software engineer would call that a “hack.”

Web scrapers work the same way. If a site did not offer an API, we built our own “DIY API service” by reverse engineering its web services (or, if you were less experienced, by rendering the full website). You find the easiest point of entry and exploit it. You get what you want, and you do not care about the damage.

That is the drawer and lock problem again. A coworking space operates on thin margins and cannot afford reinforced drawers. A lost key can mean changing the locks, calling in a repairman, and scheduling time off, so the $70 price was justified. The question is what a reasonable, cost-effective solution would look like, one that prevents damage to the furniture.

Websites need at least some level of protection. Anti-bot tools alone do not secure every endpoint. My suggestion is to log every request and enrich it with metadata. IPinfo Lite is free, and the ASN field is especially useful. Use it to enrich web traffic in bulk, look up suspicious IP addresses on our website at no cost, and then build firewall policies from what you find. All of it stays within the free tier.