{"name":"x402 Agent Data API","version":"1.1.0","description":"Real-time data marketplace for AI agents. Pay per request in USDC on Base.","network":"eip155:8453","facilitator":"https://api.cdp.coinbase.com/platform/v2/x402","endpoints":{"Crypto/DeFi":[{"path":"GET /crypto/prices","price":"$0.002","description":"Top 50 cryptocurrencies with price, 24h change, market cap"},{"path":"GET /crypto/trending","price":"$0.001","description":"Trending coins and search trends"},{"path":"GET /crypto/fear-greed","price":"$0.001","description":"Fear & Greed Index (30-day history)"},{"path":"GET /crypto/defi-yields","price":"$0.005","description":"Top DeFi stablecoin yield opportunities"},{"path":"GET /crypto/gas","price":"$0.001","description":"Ethereum gas prices"},{"path":"GET /crypto/analysis/:coin","price":"$0.05","description":"AI-enriched coin analysis (e.g. /crypto/analysis/bitcoin)"}],"Tech Trends":[{"path":"GET /tech/github-trending","price":"$0.002","description":"Top 25 GitHub trending repos today"},{"path":"GET /tech/hackernews-top","price":"$0.002","description":"Top 30 Hacker News stories"},{"path":"GET /tech/npm-trending","price":"$0.002","description":"20 popular npm packages"}],"Music/Entertainment":[{"path":"GET /music/spotify-trends","price":"$0.002","description":"Trending music and viral tracks"},{"path":"GET /music/genre-analysis","price":"$0.005","description":"Genre popularity trends"}],"Web Scraping":[{"path":"GET /scrape/markdown?url=TARGET_URL","price":"$0.005","description":"Fetch a URL and return its content as clean text/markdown"},{"path":"GET /scrape/links?url=TARGET_URL","price":"$0.005","description":"Extract all hyperlinks from a web page"},{"path":"GET /scrape/meta?url=TARGET_URL","price":"$0.005","description":"Extract metadata from a URL (title, description, og tags, keywords)"}],"Search":[{"path":"GET /search/web?q=QUERY","price":"$0.005","description":"Web search via DuckDuckGo Instant Answer API"},{"path":"GET /search/wikipedia?q=QUERY","price":"$0.005","description":"Wikipedia article summary"},{"path":"GET /search/news?q=QUERY","price":"$0.01","description":"News search from Google News RSS"}],"Social Data":[{"path":"GET /social/reddit/trending","price":"$0.005","description":"Top trending Reddit posts from r/popular today"},{"path":"GET /social/reddit/search?q=QUERY","price":"$0.005","description":"Reddit search results"}],"Traditional Finance":[{"path":"GET /finance/stocks/:symbol","price":"$0.005","description":"Stock quote: price, change, volume (e.g. /finance/stocks/AAPL)"},{"path":"GET /finance/forex/:pair","price":"$0.002","description":"Forex exchange rate (e.g. /finance/forex/EURUSD)"},{"path":"GET /finance/market-summary","price":"$0.005","description":"Market overview: S&P 500, NASDAQ, DOW"}],"Utilities":[{"path":"GET /utils/dns/:domain","price":"$0.002","description":"DNS lookup: A, AAAA, MX, TXT records"},{"path":"GET /utils/whois/:domain","price":"$0.005","description":"WHOIS-like registration info via RDAP"},{"path":"GET /utils/ip/:address","price":"$0.002","description":"IP geolocation: country, city, ISP, timezone"},{"path":"GET /utils/timestamp","price":"$0.001","description":"Current timestamps in multiple formats and timezones"}],"AI-Enriched Analysis":[{"path":"GET /ai/sentiment?text=TEXT","price":"$0.005","description":"Sentiment analysis: score, positive/negative words"},{"path":"GET /ai/summarize?url=URL","price":"$0.02","description":"Fetch URL, extract text, return summary and key topics"}],"LLM Proxy":[{"path":"POST /llm/deepseek","price":"$0.02","description":"LLM text generation via HuggingFace free tier (Mistral-7B-Instruct). Body: { prompt, max_tokens?, temperature? }"},{"path":"POST /llm/completion","price":"$0.01","description":"Generic text completion via HuggingFace free tier (Phi-3-mini). Body: { prompt, max_tokens?, temperature? }"},{"path":"POST /llm/code","price":"$0.02","description":"Code generation via HuggingFace free tier (StarCoder2-3B). Body: { prompt, max_tokens?, temperature? }"}],"Twitter/X Data":[{"path":"GET /social/twitter/user/:username","price":"$0.005","description":"Twitter/X user profile info (e.g. /social/twitter/user/elonmusk)"},{"path":"GET /social/twitter/trends","price":"$0.005","description":"Trending topics on Twitter/X (aggregated public data)"}],"Translation":[{"path":"GET /translate?text=TEXT&from=en&to=fr","price":"$0.002","description":"Translate text between languages via MyMemory free API"},{"path":"GET /translate/detect?text=TEXT","price":"$0.002","description":"Detect the language of a given text"},{"path":"GET /translate/languages","price":"Free","description":"List of supported ISO language codes"}],"Weather":[{"path":"GET /weather/current?city=CITY","price":"$0.002","description":"Current weather: temperature, humidity, wind, weather code"},{"path":"GET /weather/forecast?city=CITY&days=3","price":"$0.005","description":"Multi-day forecast: daily highs/lows, precipitation, weather code"},{"path":"GET /weather/alerts?country=US","price":"$0.005","description":"Global weather snapshot for 10 major cities"}],"Document Processing":[{"path":"POST /doc/extract-text","price":"$0.01","description":"Extract text from a URL with word count and key phrases. Body: { url }"},{"path":"GET /doc/url-info?url=URL","price":"$0.005","description":"Rich URL analysis: headers, meta tags, JSON-LD, link/image counts"}],"Fiat Currency":[{"path":"GET /finance/currencies","price":"$0.002","description":"All fiat exchange rates against USD (ECB/Frankfurter data)"},{"path":"GET /finance/convert?amount=100&from=EUR&to=USD","price":"$0.002","description":"Currency conversion between any two fiat currencies"},{"path":"GET /finance/currencies/history?base=EUR&target=USD&days=30","price":"$0.005","description":"Historical exchange rates for a currency pair (1-90 days)"}],"Fact Checking / Verification":[{"path":"GET /verify/domain?domain=DOMAIN","price":"$0.005","description":"Domain trust score: age, MX, HTTPS, SPF checks"},{"path":"GET /verify/email?email=EMAIL","price":"$0.002","description":"Email validation: format, domain MX, deliverability estimate"},{"path":"GET /verify/url?url=URL","price":"$0.002","description":"URL safety: reachability, redirects, HTTPS, risk assessment"}],"E-commerce / Price Data":[{"path":"GET /ecommerce/product-search?q=QUERY","price":"$0.005","description":"Product search returning structured listings with title, price, description"},{"path":"GET /ecommerce/price-compare?product=PRODUCT","price":"$0.01","description":"Price comparison for a product query across catalog data"}],"Blockchain / Wallet Analytics":[{"path":"GET /blockchain/wallet/:address","price":"$0.005","description":"Wallet analysis on Base: ETH balance, tx count, contract detection, recent txs"},{"path":"GET /blockchain/token/:contract","price":"$0.005","description":"ERC-20 token info on Base: name, symbol, decimals, total supply"},{"path":"GET /blockchain/gas-tracker","price":"$0.002","description":"Multi-chain gas prices in Gwei for Base and Ethereum"},{"path":"GET /blockchain/tx/:hash","price":"$0.005","description":"Transaction details on Base: from, to, value, gas used, status"},{"path":"GET /blockchain/block/latest","price":"$0.002","description":"Latest block info on Base: number, timestamp, tx count, gas"}],"Smart Contract Risk Scoring":[{"path":"GET /risk/token/:contract","price":"$0.02","description":"Token risk analysis on Base: contract checks, source verification, risk score 0-100"},{"path":"GET /risk/address/:address","price":"$0.01","description":"Address risk check: wallet vs contract, tx history, balance, risk level"},{"path":"GET /risk/approve-check/:token/:spender","price":"$0.01","description":"Token approval risk: checks if spender is a verified contract with activity"}]},"payment":{"currency":"USDC","protocol":"x402 v2","howToPay":"Use @x402/fetch or any x402-compatible client. The server returns 402 with payment instructions on first request."}}