youraitools-api / tree / functions/tools.js ยท raw (this view has old GitHub links rewritten for the mirror; raw is byte-exact)
// The x402 tools behind api.youraitools.co. Add a tool here (and a [[services]] binding in wrangler.toml,
// plus PROXY_HOSTS/PROXY_PREFIX vars in the Worker) to put it on the domain.
export const TOOLS = [
  { prefix: 'agentgate', binding: 'AGENTGATE', origin: 'https://agentgate.agentgate.workers.dev', name: 'AgentGate', price: '$0.005', paid: ['GET /v1/check-agent'], preview: '/v1/check-agent/preview?id=Mf22soLh1NuZYFgBK8iSs', what: 'Is this AI agent registered, Active and Verified (Concordium Agent Registry)?', guide: 'https://youraitools.co/guides/x402-agent-verification' },
  { prefix: 'webread', free: 'Free tier: 30 calls/day (full Markdown via remote MCP, tool read_url), then $0.002 per call in USDC', binding: 'WEBREAD', origin: 'https://webread.agentgate.workers.dev', name: 'WebRead', price: '$0.002', paid: ['GET /v1/read'], preview: '/v1/read/preview?url=https://example.com/', what: 'Read any public web page as clean Markdown (robots.txt-aware, SSRF-safe).', guide: 'https://youraitools.co/guides/pay-per-call-web-scraper-api' },
  { prefix: 'injectscan', free: 'Free tier: 30 calls/day (full scans via remote MCP: scan_text, scan_url, scan_tools), then $0.003 per call in USDC (safety check only)', binding: 'INJECTSCAN', origin: 'https://injectscan.agentgate.workers.dev', name: 'InjectScan', price: '$0.003', paid: ['GET /v1/scan', 'POST /v1/scan'], preview: '/v1/scan/preview?text=Ignore%20previous%20instructions', what: 'Scan text, web pages and MCP tool definitions for prompt injection.', guide: 'https://youraitools.co/guides/prompt-injection-scanner-api' },
  { prefix: 'domaincheck', binding: 'DOMAINCHECK', origin: 'https://domaincheck.agentgate.workers.dev', name: 'DomainCheck', price: '$0.002 domain / $0.001 email', paid: ['GET /v1/domain', 'GET /v1/email'], preview: '/v1/domain/preview?domain=example.com', what: 'Is this domain or email real and trustworthy? DNS, SPF/DMARC, registration age, disposable mail.', guide: 'https://youraitools.co/built-by-us' },
  { prefix: 'payguard', free: 'Free tier: 30 calls/day (full results via remote MCP: screen_address, screen_batch), then $0.001 per call in USDC', binding: 'PAYGUARD', origin: 'https://payguard.agentgate.workers.dev', name: 'PayGuard', price: '$0.001 address / $0.01 batch of 50', paid: ['GET /v1/address', 'POST /v1/batch'], preview: '/v1/preview?address=0x098B716B8Aaf21512996dC57EB0615e2383E2f96', what: 'Is this crypto address on the US Treasury OFAC SDN list? Exact match with SDN entity, programs and list date, plus chain guess and checksum. Informational, not legal advice.', guide: 'https://youraitools.co/built-by-us' },
  { prefix: 'pkgguard', free: 'Free tier: 30 calls/day (full results via remote MCP, up to 100 packages per scan: check_package, scan_dependencies), then $0.001 per package / $0.003 per scan in USDC (safety check only)', binding: 'PKGGUARD', origin: 'https://pkgguard.agentgate.workers.dev', name: 'PkgGuard', price: '$0.003 scan / $0.001 package', paid: ['POST /v1/scan', 'GET /v1/package'], preview: '/v1/preview?ecosystem=npm&name=lodash&version=4.17.15', what: 'Is this dependency safe to install? Known vulnerabilities (CVE/GHSA, severity, fixed-in) and confirmed-malicious packages for a package.json, lockfile, requirements.txt, go.mod or Cargo.lock (OSV.dev data).', guide: 'https://youraitools.co/built-by-us' },
  { prefix: 'stackdetect', binding: 'STACKDETECT', origin: 'https://stackdetect.agentgate.workers.dev', name: 'StackDetect', price: '$0.003', paid: ['GET /v1/detect', 'POST /v1/detect'], preview: '/v1/preview?url=https://laravel.com', what: 'What is this website built with? CMS, ecommerce, JS framework, hosting/CDN, analytics, ad pixels, payments, plus email provider, DNS host and verified SaaS from public DNS, with versions, confidence and evidence.', guide: 'https://youraitools.co/built-by-us' },
  { prefix: 'tokenverdict', binding: 'TOKENVERDICT', origin: 'https://tokenverdict.agentgate.workers.dev', name: 'TokenVerdict', price: '$0.005 lite / $0.015 quick / $0.05 deep', paid: ['GET /v1/lite', 'GET /v1/quick', 'GET /v1/deep'], preview: '/v1/preview?token=0x532f27101965dd16442E59d40670FaF5eBB142E4', what: 'Safety check for a Base ERC-20 token before an agent or app interacts with it. SAFE / CAUTION / DANGER with a score: simulated buy-transfer-sell (honeypot, buy/sell tax), owner powers (mint, blacklist, pause, upgradeable, renounced), liquidity and LP burn, holder concentration, verified source and age. Shareable card at /t/<token>. SAFE is not a guarantee and not financial advice.', guide: 'https://youraitools.co/built-by-us' },
  { prefix: 'signcheck', binding: 'SIGNCHECK', origin: 'https://signcheck.agentgate.workers.dev', name: 'SignCheck', price: '$0.015 full / $0.005 lite (offline)', paid: ['POST /v1/check', 'GET /v1/check', 'POST /v1/lite', 'GET /v1/lite'], preview: '/v1/preview?to=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&data=0x095ea7b30000000000000000000000003c1a1e01e790cd326495631b3b38bd7068f08d6fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff', what: 'Is it safe to sign this? Pre-sign check for agent wallets: decodes a transaction, EIP-712 Permit / Permit2 / EIP-3009 signature, EIP-7702 delegation or x402 payment and returns SAFE / CAUTION / DANGER with reasons (unlimited or EOA approvals, setApprovalForAll, fake USDC domains, x402 overpay or wrong payTo, OFAC SDN), on-chain facts and eth_call simulation.', guide: 'https://youraitools.co/built-by-us' },
  { prefix: 'counterpartycheck', binding: 'COUNTERPARTYCHECK', origin: 'https://counterparty.agentgate.workers.dev', name: 'CounterpartyCheck', price: '$0.005 lite / $0.015 quick / $0.05 full', paid: ['GET /v1/lite', 'GET /v1/quick', 'GET /v1/full', 'POST /v1/lite', 'POST /v1/quick', 'POST /v1/full'], preview: '/v1/preview?address=0x098B716B8Aaf21512996dC57EB0615e2383E2f96&chain=ethereum', what: 'Before an agent pays, approves or interacts with an address: ok / caution / block with reasons and a confidence field. OFAC SDN and ScamSniffer lists, wallet vs contract vs EIP-7702, verification and deployer, ENS / Basename, cross-chain (wrong-chain) check, age, recent activity and exposure, approval magnets, x402 directory presence. EVM (Base, Ethereum, Polygon, Arbitrum) and Solana. A safety check, not advice.', guide: 'https://youraitools.co/built-by-us' },
  { prefix: 'x402fix', binding: 'X402FIX', origin: 'https://x402fix.agentgate.workers.dev', name: 'x402fix', price: '$0.005 lite / $0.02 check / $0.05 site', paid: ['GET /v1/lite', 'GET /v1/check', 'GET /v1/site', 'POST /v1/lite', 'POST /v1/check', 'POST /v1/site'], preview: '/v1/preview?url=https://api.youraitools.co/counterpartycheck/v1/lite', what: 'x402 endpoint doctor for sellers: point it at a paid x402 URL and get a graded A-F list of what will break payments or Bazaar / x402scan listing (402 on GET/HEAD/POST, CORS, v2 header and v1 body, CAIP-2, USDC asset and EIP-712 domain, Solana feePayer, Bazaar schema, multichain drift), with paste-ready fixes, the CDP facilitator validate verdict and a generated Bazaar block. Unpaid probes only.', guide: 'https://youraitools.co/built-by-us' },
  { prefix: 'solverdict', binding: 'SOLVERDICT', origin: 'https://solverdict.agentgate.workers.dev', name: 'SolVerdict', price: '$0.005 lite / $0.02 check', paid: ['GET /v1/lite', 'GET /v1/check', 'POST /v1/lite', 'POST /v1/check'], preview: '/v1/preview?mint=DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263', what: 'Safety check for any Solana SPL or Token-2022 mint before an agent or app interacts with it. SAFE / CAUTION / DANGER with a 0-100 score for any SPL or Token-2022 mint: mint and freeze authority, Token-2022 traps (permanent delegate, transfer hook, transfer fee, default-frozen, pausable, non-transferable), metadata mutability, liquidity and 24 h buys vs sells, pump.fun bonding curve, top-holder concentration (wallets vs pools and curves), age. Never SAFE on incomplete data. Shareable card at /t/<mint>. SAFE is not a guarantee and not financial advice.', guide: 'https://youraitools.co/built-by-us' },
  { prefix: 'agentready', binding: 'AGENTREADY', origin: 'https://agentready.agentgate.workers.dev', name: 'AgentReady', price: '$0.005 lite / $0.03 audit', paid: ['GET /v1/lite', 'GET /v1/audit', 'POST /v1/lite', 'POST /v1/audit'], preview: '/v1/preview?url=https://example.com', what: 'Is this website ready for AI agents? 23 checks, score 0-100 and grade: robots.txt rules for 17 AI bots (GPTBot, ClaudeBot, ChatGPT-User, PerplexityBot...), WAF / bot challenges, content in the raw HTML without JavaScript, markdown, llms.txt and llms-full.txt, sitemap, JSON-LD, meta and Open Graph, OpenAPI, MCP (live initialize), A2A agent card, x402, HTTPS / HSTS and speed. The audit tier adds prioritized fixes and ready-to-paste snippets (llms.txt draft, robots.txt lines, JSON-LD, meta tags). Fail-closed: unchecked sources score 0. Shareable report at /r/<domain> and a score badge.', guide: 'https://youraitools.co/built-by-us' },
  { prefix: 'perpradar', binding: 'PERPRADAR', origin: 'https://perpradar.agentgate.workers.dev', name: 'PerpRadar', price: '$0.005 lite / $0.03 full / $0.02 scan', paid: ['GET /v1/lite', 'GET /v1/full', 'GET /v1/scan', 'POST /v1/lite', 'POST /v1/full', 'POST /v1/scan'], preview: '/v1/preview?symbol=BTC', what: 'Perp funding radar for trading agents: funding rates normalized to 8h and APR, open interest, mark/index premium, cross-venue median and spread, cheapest venue to be long or short and a positioning read for any asset across Hyperliquid, dYdX v4, Paradex and Aevo. Full tier: 7-day funding history with z-score, regime and carry. Scan: funding extremes and widest cross-venue spreads across the market. Read-only analytics, fail-closed. Not financial advice. Past performance does not guarantee future results.', guide: 'https://youraitools.co/built-by-us' },
  { prefix: 'tasignal', binding: 'TASIGNAL', origin: 'https://tasignal.agentgate.workers.dev', name: 'TASignal', price: '$0.005 lite / $0.02 risk / $0.05 backtest', paid: ['GET /v1/lite', 'GET /v1/risk', 'GET /v1/backtest', 'POST /v1/lite', 'POST /v1/risk', 'POST /v1/backtest'], preview: '/v1/preview?symbol=BTC&timeframe=1h', what: 'Technical analysis for trading agents: RSI, MACD, EMA 20/50/200, Bollinger, ATR, ADX, stochastic, realized volatility and a descriptive bias score on 15m/1h/4h/1d candles; historical VaR/CVaR, drawdowns, Sharpe/Sortino and ATR position sizing; rule backtests (SMA/EMA cross, RSI reversion, breakout, MACD cross) with fees, trades and equity curve. Hyperliquid candles, dYdX fallback. Read-only analytics, fail-closed. Not financial advice. Past performance does not guarantee future results.', guide: 'https://youraitools.co/built-by-us' },
  { prefix: 'leakguard', binding: 'LEAKGUARD', origin: 'https://leakguard.agentgate.workers.dev', name: 'LeakGuard', price: '$0.005 lite / $0.02 scan', paid: ['GET /v1/lite', 'GET /v1/scan', 'POST /v1/lite', 'POST /v1/scan'], preview: '/v1/preview?text=deploy%20log%3A%20aws%20AKIAIOSFODNN7EXAMPLE', what: 'Stop agents leaking secrets: before text or a JSON payload goes to an LLM, tool, log or webhook, finds and redacts crypto wallet keys (BIP39 seed phrases with checksum, EVM and Solana private keys, WIF, xprv), API secrets (GitHub, AWS, Stripe, OpenAI, Anthropic, Slack, Telegram, npm, JWT, PEM) and PII (cards, IBAN, SSN, email, phone). The scan tier takes JSON payloads and reports which wallets a leaked key controls and whether they hold funds now on Base, Ethereum, Polygon, Arbitrum One and Solana (fail-closed: unknown, never empty). Inputs never logged or stored.', guide: 'https://youraitools.co/built-by-us' },
  { prefix: 'smartperps', binding: 'SMARTPERPS', origin: 'https://smartperps.agentgate.workers.dev', name: 'SmartPerps', price: '$0.003 lite / $0.02 coin / $0.03 scan / $0.01 wallet', paid: ['GET /v1/lite', 'GET /v1/coin', 'GET /v1/scan', 'GET /v1/wallet', 'POST /v1/lite', 'POST /v1/coin', 'POST /v1/scan', 'POST /v1/wallet'], preview: '/v1/preview?symbol=BTC', what: 'Hyperliquid smart-money positioning for trading agents: what the 120 most profitable Hyperliquid traders of the last 30 days (equity >= $100k, positive month and all-time PnL) hold right now, per coin. Long/short trader counts and notional, net bias, 1h/4h/24h flows; entries, leverage, liquidation clusters and the top positions; a market-wide scan of the most one-sided coins; and a live profile of any Hyperliquid account. Snapshot every 5 minutes, fail-closed (stale or partial snapshots are refused, never charged). Not financial advice. Past performance does not guarantee future results.', guide: 'https://youraitools.co/built-by-us' },
  { prefix: 'toolpick', binding: 'TOOLPICK', origin: 'https://toolpick.agentgate.workers.dev', name: 'ToolPick', price: '$0.003 lite / $0.01 pick / $0.02 market', paid: ['GET /v1/lite', 'GET /v1/pick', 'GET /v1/market', 'POST /v1/lite', 'POST /v1/pick', 'POST /v1/market'], preview: '/v1/preview?need=web%20search', what: 'Which paid API should my agent call? Searches the 36,000+ paid x402 resources on the public x402 discovery indexes and ranks them for a task by relevance, 30-day unique payers and calls, recency and price; the pick tier live-checks the top candidates (one unpaid request each) and names a best verified pick; the market tier gives sellers price quartiles, the price where buyers are and top sellers for a category. Fail-closed: stale index refused, unverified candidates never called verified. Listings are self-described by sellers; ToolPick ranks, it does not endorse.', guide: 'https://youraitools.co/built-by-us' },
  { prefix: 'perpcheck', free: 'Free tier: 30 calls/day (full checks via remote MCP, tool check_perp_order), then $0.003 lite / $0.01 full per call in USDC (not financial advice)', binding: 'PERPCHECK', origin: 'https://perpcheck.agentgate.workers.dev', name: 'PerpCheck', price: '$0.003 lite / $0.01 full', paid: ['GET /v1/lite', 'GET /v1/full', 'POST /v1/lite', 'POST /v1/full'], preview: '/v1/preview?coin=BTC&side=long&size=0.001&leverage=10', what: 'Will this Hyperliquid perp order be rejected, and what does it cost and risk? A read-only pre-trade check of the order a trading agent is about to send: REJECT_LIKELY / CAUTION / OK with each exchange-rule issue and a fix value (size decimals, price tick, $10 minimum, max leverage by margin tier, isolated-only, open-interest cap, delisted, far-from-mark), plus isolated liquidation estimate, taker impact from the live L2 book and funding carry (full). Never places, signs or holds orders. Fail-closed: a failed source is never OK. Not financial advice; the exchange decides whether an order is accepted.', guide: 'https://youraitools.co/built-by-us' },
  { prefix: 'x402-template', binding: 'X402TEMPLATE', origin: 'https://x402-template.agentgate.workers.dev', name: 'x402 Proxy Template', price: '$19 (one-time download)', paid: ['GET /download'], preview: '/', mcp: false, what: 'Self-serve download (zip, MIT): a Cloudflare Worker that puts an x402 paywall (USDC on Base, v2 + v1) in front of any HTTP API from one config file, with Bazaar metadata, OpenAPI, remote + stdio MCP, quickstart and deploy guide.', guide: 'https://youraitools.co/x402-service' },
  { prefix: 'credits', binding: 'CREDITS', origin: 'https://credits.agentgate.workers.dev', name: 'Credits (prepaid packs)', price: '$1 pack / $5 pack ($5.50 of credits)', paid: ['POST /v1/pack/1', 'POST /v1/pack/5'], preview: '/v1/preview?pack=5', what: 'Prepaid credits for every tool above: one x402 payment ($1, or $5 with a 10% bonus) returns an API key with a USDC-denominated balance. Send Authorization: Bearer <key> to any paid route and the call\'s normal price is debited, with no per-call on-chain payment. Balance, top-ups and key rotation included. Prepaid API usage only, not refundable.', guide: 'https://api.youraitools.co/credits/' },
];
export const BY_PREFIX = Object.fromEntries(TOOLS.map((t) => [t.prefix, t]));
// Paid services on the domain that are NOT agent tools (not counted in "tools"): proxied the same way, listed under "services".
export const SERVICES = [
  { prefix: 'listing', binding: 'LISTING', origin: 'https://listing.agentgate.workers.dev', name: 'YourAITools Listings', kind: 'service', price: '$19 fast-track / $49 launch / $29 featured 30 days', paid: ['POST /v1/fast-track', 'POST /v1/launch', 'POST /v1/featured'], status: '/v1/status/<ref>', what: 'Paid listing services for youraitools.co, paid in USDC over x402: fast-track review within 24 hours ($19), Launch bundle with 30 days Featured ($49), Featured for 30 days ($29). Reviewed for legitimacy and fit; payment does not guarantee approval; rejected submissions are refunded manually in USDC. No traffic promises.', guide: 'https://api.youraitools.co/listing/' },
];
export const SERVICE_BY_PREFIX = Object.fromEntries(SERVICES.map((t) => [t.prefix, t]));
export const ROUTES = { ...BY_PREFIX, ...SERVICE_BY_PREFIX };

agentgate-source: code mirror on Cloudflare Pages. All repos