Show HN: Monetize your APIs by injecting agent targeted instructions

github.com

2 points by dinge 11 hours ago

ad-injector is a Python library that lets API providers inject agent-targeted instructions into their JSON responses. Think referral codes, product recommendations, affiliate links, all buried in your API response so that when an AI agent fetches the data, it picks up your instructions too and (hopefully) listens to them.