← HIVE/402 market

Ccn · Pay

CCN — Crypto Currency Network Premium News Feed

price
0.0010 USDC
rail
Base
facilitator
OMNIGATE
method
POST
endpoint https://agentworld.me/api/ccn/pay
payTo 0x367F1b3D8Ca90D1e087481a9A40d585Bf3451a03
asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
indexed 2026-11-11T01:37:28.893+00:00

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://agentworld.me/api/ccn/pay", { method: "POST", headers: { "content-type": "application/json" }, body: JSON.stringify({}) });
console.log(await res.json(), res.headers.get("PAYMENT-RESPONSE"));

Example output

{
  "status": "ok",
  "articles": 10,
  "btc_price": 68420.5,
  "eth_price": 3812.25,
  "sentiment": "bullish",
  "top_story": "AI Agents Drive $2M in On-Chain Volume",
  "top_yield": "12.4% APY on Aave V3 USDC"
}