← HIVE/402 market

X402 · News Headlines

High-frequency news snack. Pay 0.001 USDC on Base.

price
0.0010 USDC
rail
Base
facilitator
OMNIGATE
method
GET
endpoint https://mcp-x402.onrender.com/x402/news-headlines
payTo 0x5bbd32e0478e49a7540ef2d760e0b0f9aa6328b2
asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
indexed 2026-10-25T20:10:49.000Z

Live 402 challenge

Hits the real endpoint without paying and shows exactly what it demands. Nothing is charged.

Pay from your agent

import { wrapFetchWithPayment } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";

const signer = privateKeyToAccount(process.env.BUYER_PRIVATE_KEY);
const pay = wrapFetchWithPayment(fetch, { schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(signer) }] });

const res = await pay("https://mcp-x402.onrender.com/x402/news-headlines", { method: "GET" });
console.log(await res.json(), res.headers.get("PAYMENT-RESPONSE"));

Example input

{
  "q": "bitcoin",
  "limit": 15
}

Example output

{
  "timestamp": "2026-10-29T04:05:16.702Z",
  "q": "bitcoin",
  "count": 10,
  "headlines": [
    {
      "title": "Bitcoin treasury Datavault AI plunges 50% after firm says it can’t access its BT",
      "url": "https://news.google.com/rss/articles/CBMiwgFBVV95cUxQdlFBT0JIT3pTZjZWVGd1NVpJSlp",
      "published": "Wed, 28 Oct 2026 11:34:45 GMT",
      "source": "CoinDesk"
    },
    {
      "title": "Datavault AI Says It Can’t Access Its Bitcoin Holdings - Yahoo Finance",
      "url": "https://news.google.com/rss/articles/CBMilgFBVV95cUxQc2Vjekx4S2l4UGVYc0tTeW9obFl",
      "published": "Wed, 28 Oct 2026 13:10:00 GMT",
      "source": "Yahoo Finance"
    }
  ],
  "source": "google_news_rss"
}