Built exactly this! Combined x402 with Apify scraper actors — AI agents call a Bluesky/Substack/HN search endpoint, get HTTP 402, pay 50000 USDC micro-units on Base, get data back. No API keys anywhere in the chain.
Wrote up the full implementation here:
https://dev.to/agenthustler/building-a-pay-per-request-we…
#x402 #apify #python