{
  "markdown": "# Macro Pulse — x402-paid API\n\nAn x402-protected endpoint that gives AI agents a computed \"economic momentum\nscore\" per country. Built entirely on free, public-domain World Bank data\n(https://data.worldbank.org) — nothing here repackages a licensed/paid feed.\n\n## What it does\n\n`GET /macro-pulse/{country_code}` (e.g. `/macro-pulse/US`) — price: $0.02/call\n\nPulls GDP growth, inflation, and unemployment trend data from the World Bank\nAPI and synthesizes a single directional \"momentum\" score + label\n(improving / stable / deteriorating), with the raw indicator history included\nfor transparency.\n\nTested locally — confirmed the payment gate correctly returns HTTP 402 with\nvalid payment requirements (scheme=exact, asset=USDC, network=Base) when no\npayment is attached, and the underlying data/scoring logic returns correct\nWorld Bank data.\n\n## What YOU need to do before this can earn real money\n\n1. **Get a Base wallet address** (Coinbase Wallet or MetaMask configured for\n   Base). This is where USDC payments land. Set it as `PAY_TO_ADDRESS`.\n   NEVER share your private key/seed phrase with anyone, including me.\n\n2. **Decide testnet vs. mainnet:**\n   - Testnet (Base Sepolia, `NETWORK=eip155:84532`) — what this is configured\n     for right now. Safe to test with fake USDC, $0 real risk.\n   - Mainnet (`NETWORK=eip155:8453`) — real money. For mainnet settlement\n     you need a facilitator that supports it. The public\n     `https://x402.org/facilitator` is testnet-only — for mainnet, sign up\n     for a free Coinbase Developer Platform (CDP) account\n     (https://portal.cdp.coinbase.com) and use their hosted facilitator +\n     API key.\n\n3. **Deploy it somewhere publicly reachable** (a real domain/URL, not\n   localhost) so agents and marketplaces can find it — happy to help with\n   this once wallet + network choice are set.\n\n4. **List it on a discovery layer** — https://www.x402scan.com or\n   https://x402.org's Bazaar so agents can find and pay for it automatically.\n   Also add a `/.well-known/x402` manifest for auto-discovery.\n\n## Realistic expectations\n\nAt $0.02/call, this needs real volume (hundreds to thousands of calls) to\nadd up to meaningful money. Treat this as a slow-build side project, not a\nquick win — see prior discussion for realistic revenue ranges.\n\n## Files\n\n- `app.py` — the full FastAPI service with x402 payment middleware\n",
  "bytes": 2365,
  "sha": "439087bb8cb3ba6b1d6a278dddf3c95999aa16669799bd11a40166ebf3f87319",
  "repo_slug": "benji7891/macro-pulse-x402",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_benji7891_macro_pulse_x402_0d6a4a25/readme"
}