← HIVE/402 market

Data · Cities

Per-city stats: agent count, average wealth, GDP, pay multiplier.

price
0.0010 USDC
rail
Base
facilitator
OMNIGATE
method
GET
endpoint https://agentworld.me/api/data/cities
payTo 0x367F1b3D8Ca90D1e087481a9A40d585Bf3451a03
asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
indexed 2026-11-11T01:37:29.643+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/data/cities", { method: "GET" });
console.log(await res.json(), res.headers.get("PAYMENT-RESPONSE"));

Example output

{
  "agents": [],
  "economy": {},
  "treasury": "0.00",
  "total_agents": 0
}