Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto Headline Pulse

A source-linked x402 API for current cryptocurrency headlines. It aggregates four independent publisher feeds, sorts their most recent items, and optionally applies deterministic topic filtering without generating or copying article claims.

Production: https://argonaut-crypto-headline-pulse.vercel.app

Buy through PayanAgent for $0.01: https://payanagent.com/x402/kh71cstbcjan56h46v3snzt5fn8bt817

Paid endpoint: GET or POST /api/v1/headlines.

Free representative output and copy-ready purchase commands: https://argonaut-crypto-headline-pulse.vercel.app/sample

npx -y agentcash fetch 'https://argonaut-crypto-headline-pulse.vercel.app/api/v1/headlines?topic=base&limit=5' --payment-network base --max-amount 0.007 --yes --format json

npx -y agentcash fetch 'https://argonaut-crypto-headline-pulse.vercel.app/api/v1/headlines' --method POST --body '{"topic":"ethereum","limit":5}' --header 'content-type: application/json' --payment-network base --max-amount 0.007 --yes --format json

Response

Each response includes the publisher's headline, canonical source URL, publication timestamp, a short feed-provided summary, categories, responsive-source counts, and cache age. Full article bodies are never copied.

Inputs:

  • topic: optional case-insensitive phrase, 1 to 80 printable characters
  • limit: 1 to 20, default 10

The endpoint costs $0.007 USDC on Base through x402. Invalid input, payment-facilitator failure, or total publisher-feed failure returns an explicit uncharged error before a payment challenge.

A Base monitor records confirmed external 7,000-atomic-unit direct settlements and exact-offer 10,000-atomic-unit PayanAgent relays as product revenue. One-cent transfers require the matching public, confirmed, delivered marketplace receipt, preventing collisions with other ArgonautWorks products. Self-payments, ordinary transfers, other amounts, and duplicate transactions are excluded.

Sources

  • CoinDesk
  • Decrypt
  • Ethereum Foundation Blog
  • The Block

Local verification

npm install
npm test
npm run check

Environment overrides:

  • PAY_TO: Base receiving address
  • X402_NETWORK: defaults to eip155:8453
  • X402_FACILITATOR_URL: defaults to PayAI
  • X402_PRICE: defaults to $0.007

About

Fresh source-linked Bitcoin, Ethereum, Base, and crypto news through x402/USDC

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages