{"service":"KLane x402 API","payment":"x402 USDC on Base, no account","endpoints":[{"path":"/api/cloud/price","url":"https://klane402.deanhiki.workers.dev/api/cloud/price","priceUSDC":0.05,"desc":"Live Azure retail cloud prices (official Azure Retail Prices API), normalized and ranked cheapest-first across regions. Query: sku (e.g. Standard_D2s_v5) or service (e.g. Virtual Machines) + optional region (eastus), os (linux|windows), spot=1, limit. Returns hourly and monthly USD, region, meter. Cached 6h. $0.05 per call.","example":{"sku":"Standard_D2s_v5","os":"linux"}},{"path":"/api/funding/latest","url":"https://klane402.deanhiki.workers.dev/api/funding/latest","priceUSDC":0.005,"desc":"Live perp funding rates across 6 venues (Hyperliquid, Bybit, Binance, Pacifica, Extended, Lighter), normalized to hourly rate and APR %, with mark price and open interest where the venue API provides it (Bybit/Binance rows come from the Lighter public funding aggregator, marked via:\"lighter-aggregate\", rate only, no mark/OI). Response includes per-venue source status. Query: coin (optional, e.g. BTC), venue (optional). Cached <=60s. $0.005 per call.","example":{"coin":"BTC"}},{"path":"/api/funding/arb","url":"https://klane402.deanhiki.workers.dev/api/funding/arb","priceUSDC":0.008,"desc":"Cross-venue funding arbitrage scanner: for each coin listed on 2+ of Hyperliquid/Bybit/Pacifica/Extended/Lighter, the best long venue (lowest funding) vs short venue (highest), spread in APR %, both sides' open interest. Sorted by spread. Query: min_apr (default 10), min_oi_usd (default 0), limit (default 30). $0.008 per call.","example":{"min_apr":"10"}},{"path":"/api/funding/history","url":"https://klane402.deanhiki.workers.dev/api/funding/history","priceUSDC":0.01,"desc":"Funding rate history for a coin: Hyperliquid hourly settlements, plus Bybit per-interval settlements when the Bybit API is reachable from the serving region (otherwise listed in unavailable[]) over the last N days (max 30), each with hourly-normalized rate, APR %, and average APR summary. Query: coin (required), days (default 7). $0.01 per call.","example":{"coin":"ETH","days":"7"}},{"path":"/api/yields","url":"https://klane402.deanhiki.workers.dev/api/yields","priceUSDC":0.01,"desc":"Top DeFi yield pools from DefiLlama, filterable: query symbol (e.g. USDC), chain (e.g. Base), stable=1 (stablecoin only), min_tvl (default 1000000), limit (default 25). Returns project, chain, symbol, apy, apyBase, apyReward, tvlUsd, 30d mean apy. Cached 15 min. $0.01 per call.","example":{"symbol":"USDC","stable":"1"}},{"path":"/api/chat","url":"https://klane402.deanhiki.workers.dev/api/chat","priceUSDC":0.002,"desc":"Chat completion (Llama 3.1 8B). Query: prompt, system (optional). Returns {reply}. $0.002 per call, no API key, pay per call in USDC.","example":{"prompt":"Write a haiku about Seoul"}},{"path":"/api/read-url","url":"https://klane402.deanhiki.workers.dev/api/read-url","priceUSDC":0.005,"desc":"Read a public web page as clean text for RAG: returns {title, description, text (<=20k chars), links}. Query: url. $0.005 per URL.","example":{"url":"https://example.com"}},{"path":"/api/x402-lint","url":"https://klane402.deanhiki.workers.dev/api/x402-lint","priceUSDC":0.01,"desc":"Lint any x402 endpoint before you pay it: fetches the URL, checks 402 status, x402Version, accepts[] fields (scheme, network, amount, asset, payTo, resource, timeout), known USDC asset, price in USD and discovery metadata. Returns {ok, issues[], summary}. Query: url. $0.01.","example":{"url":"https://klane402.deanhiki.workers.dev/api/chat"}},{"path":"/api/payto-check","url":"https://klane402.deanhiki.workers.dev/api/payto-check","priceUSDC":0.01,"desc":"Pre-payment counterparty check for a Base (EVM) address: is it a contract or wallet, nonce (tx count), ETH and USDC balance, OFAC sanctions screening, plus a risk note. Query: address. $0.01. Use before an agent sends funds.","example":{"address":"0x543e1bae93553c08a7658f5c5404b93dff3d8fa3"}},{"path":"/api/sentiment","url":"https://klane402.deanhiki.workers.dev/api/sentiment","priceUSDC":0.003,"desc":"Classify sentiment and topics of text (any language incl. Korean). Returns {sentiment: positive|neutral|negative, score, topics[]}. Query: text. $0.003.","example":{"text":"배송이 너무 늦어요"}},{"path":"/api/translate-ko","url":"https://klane402.deanhiki.workers.dev/api/translate-ko","priceUSDC":0.01,"desc":"Translate any text to natural Korean (or Korean to English with to=en). Query: text, to (ko|en). $0.01 per call.","example":{"text":"Hello, how much is shipping to Seoul?","to":"ko"}},{"path":"/api/summarize-url","url":"https://klane402.deanhiki.workers.dev/api/summarize-url","priceUSDC":0.02,"desc":"Fetch a public web page and return a 5-bullet English summary plus page title. Query: url. $0.02 per call.","example":{"url":"https://example.com"}}],"pro":{"url":"https://klane402.deanhiki.workers.dev/pro","price":"9 USDC/month","quota":100000,"alerts":true},"docs":{"llms":"https://klane402.deanhiki.workers.dev/llms.txt","openapi":"https://klane402.deanhiki.workers.dev/openapi.json","discovery":"https://klane402.deanhiki.workers.dev/.well-known/x402"}}