Free public tweet-metadata API — no provider key required. Useful to dry-run the Spawnpay proxy without burning provider quota.
Verifying the Spawnpay integration end-to-end before wiring a paid upstream. Tutorials. Demos.
GET/elonmusk/status/1$0.001 USDC per upstream 2xx (4xx is free)curl -X POST https://spawnpay.ai/api/proxy \
-H 'Authorization: Bearer spk_live_…' \
-H 'Content-Type: application/json' \
-d '{
"provider": "fxtwitter",
"path": "/elonmusk/status/1",
"method": "GET"
}'
import { proxy } from 'spawnpay-paywall';
const out = await proxy({
"provider": "fxtwitter",
"path": "/elonmusk/status/1",
"method": "GET"
});
console.log(out.status, out.body);
console.log('charged', out.charged); // txHash + $0.001 USDC receipt
The full upstream JSON body, the upstream status code, the upstream response headers, plus a charged field with the USDC receipt (tx hash) when the call succeeded.