{
  "schemaVersion": "1.0",
  "item": {
    "slug": "apiosk",
    "name": "Apiosk Skill",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/obcraft/apiosk",
    "canonicalUrl": "https://clawhub.ai/obcraft/apiosk",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/apiosk",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=apiosk",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SECURITY.md",
      "SKILL.md",
      "apiosk-client.js",
      "apiosk_client.py",
      "call-api.sh"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/apiosk"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/apiosk",
    "agentPageUrl": "https://openagent3.xyz/skills/apiosk/agent",
    "manifestUrl": "https://openagent3.xyz/skills/apiosk/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/apiosk/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Apiosk - Keyless API Access with USDC Micropayments",
        "body": "Pay-per-request API access for agents. No API keys. No accounts. Just pay and call.\n\nApiosk enables agents to access production APIs using x402 protocol - USDC micropayments on Base blockchain. Stop managing API keys, start paying per request."
      },
      {
        "title": "🎯 What This Skill Does",
        "body": "Discover APIs - Browse 9+ production APIs (weather, prices, news, geocoding, etc.)\nPay per request - Automatic USDC micropayments ($0.001-0.10 per call)\nNo setup - No API keys, no accounts, no subscriptions\nInstant access - Call APIs immediately with x402 payment"
      },
      {
        "title": "📦 Installation",
        "body": "# Via ClawHub\nclawhub install apiosk\n\n# Or clone manually\ngit clone https://github.com/apiosk/apiosk-skill"
      },
      {
        "title": "1. Set Up Wallet (One-time)",
        "body": "# Generate new wallet (or import existing)\n./setup-wallet.sh\n\n# This creates ~/.apiosk/wallet.json with:\n# - Private key (stored locally, chmod 600 for security)\n# - Public address\n# - Base mainnet RPC\n\n**IMPORTANT:** The private key is stored in plaintext in `~/.apiosk/wallet.json` (with restrictive file permissions). Only fund this wallet with small amounts for testing. For production, use a hardware wallet or external key management.\n\nImportant: Fund your wallet with USDC on Base mainnet (minimum $1-10 recommended).\n\nHow to fund:\n\nBridge USDC to Base via https://bridge.base.org\nOr buy USDC on Coinbase → withdraw to Base\nSend to your Apiosk wallet address"
      },
      {
        "title": "2. Discover Available APIs",
        "body": "# List all APIs\n./list-apis.sh\n\n# Output:\n# weather       $0.001/req   Get current weather and forecasts\n# prices        $0.002/req   Crypto/stock/forex prices  \n# news          $0.005/req   Global news by topic/country\n# company       $0.01/req    Company info, financials, news\n# geocode       $0.001/req   Address → Coordinates\n# ..."
      },
      {
        "title": "Basic API Call",
        "body": "# Call weather API\n./call-api.sh weather --params '{\"city\": \"Amsterdam\"}'\n\n# Output:\n# {\n#   \"temperature\": 12,\n#   \"condition\": \"Cloudy\",\n#   \"forecast\": [...]\n# }\n# \n# ✅ Paid: $0.001 USDC"
      },
      {
        "title": "From Agent Code (Node.js)",
        "body": "const { callApiosk } = require('./apiosk-client');\n\n// Call weather API\nconst weather = await callApiosk('weather', {\n  city: 'Amsterdam'\n});\n\nconsole.log(`Temperature: ${weather.temperature}°C`);\n// ✅ Automatically paid $0.001 USDC"
      },
      {
        "title": "From Agent Code (Python)",
        "body": "from apiosk_client import call_apiosk\n\n# Call prices API\nprices = call_apiosk('prices', {\n    'symbols': ['BTC', 'ETH']\n})\n\nprint(f\"BTC: ${prices['BTC']}\")\n# ✅ Automatically paid $0.002 USDC"
      },
      {
        "title": "📚 Available APIs",
        "body": "APICost/reqDescriptionExampleweather$0.001Weather forecasts{\"city\": \"NYC\"}prices$0.002Crypto/stock prices{\"symbols\": [\"BTC\"]}news$0.005Global news articles{\"topic\": \"AI\"}company$0.01Company data{\"domain\": \"apple.com\"}geocode$0.001Address → Coordinates{\"address\": \"Amsterdam\"}code-runner$0.05Execute code sandbox{\"lang\": \"python\", \"code\": \"...\"}pdf-generator$0.02HTML → PDF{\"html\": \"<h1>Hi</h1>\"}web-screenshot$0.03URL → Screenshot{\"url\": \"example.com\"}file-converter$0.01Convert file formats{\"from\": \"docx\", \"to\": \"pdf\"}\n\nFull docs: https://apiosk.com/#docs"
      },
      {
        "title": "list-apis.sh",
        "body": "#!/bin/bash\n# List all available APIs with pricing\n\ncurl -s https://gateway.apiosk.com/v1/apis | jq -r '.apis[] | \"\\(.id)\\t$\\(.price_usd)/req\\t\\(.description)\"'"
      },
      {
        "title": "call-api.sh",
        "body": "#!/bin/bash\n# Call any Apiosk API with automatic payment\n# Usage: ./call-api.sh <api-id> --params '{\"key\":\"value\"}'\n\nAPI_ID=$1\nPARAMS=$3\n\n# Load wallet\nWALLET_ADDRESS=$(jq -r '.address' ~/.apiosk/wallet.json)\n\n# Make request (x402 payment happens via on-chain verification)\n# The gateway validates payment on-chain, no client-side signature needed\ncurl -X POST \"https://gateway.apiosk.com/$API_ID\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-Wallet-Address: $WALLET_ADDRESS\" \\\n  -d \"$PARAMS\""
      },
      {
        "title": "check-balance.sh",
        "body": "#!/bin/bash\n# Check USDC balance in your Apiosk wallet\n\nWALLET_ADDRESS=$(jq -r '.address' ~/.apiosk/wallet.json)\n\ncurl -s \"https://gateway.apiosk.com/v1/balance?address=$WALLET_ADDRESS\" | jq\n# Output: {\"balance_usdc\": 9.87, \"spent_today\": 0.13}"
      },
      {
        "title": "usage-stats.sh",
        "body": "#!/bin/bash\n# View your API usage stats\n\nWALLET_ADDRESS=$(jq -r '.address' ~/.apiosk/wallet.json)\n\ncurl -s \"https://gateway.apiosk.com/v1/usage?address=$WALLET_ADDRESS\" | jq\n# Output:\n# {\n#   \"total_requests\": 142,\n#   \"total_spent_usdc\": 1.89,\n#   \"by_api\": {\n#     \"weather\": {\"requests\": 87, \"spent\": 0.087},\n#     \"prices\": {\"requests\": 55, \"spent\": 0.11}\n#   }\n# }"
      },
      {
        "title": "Example 1: Weather Bot",
        "body": "const { callApiosk } = require('./apiosk-client');\n\nasync function getWeatherReport(city) {\n  const weather = await callApiosk('weather', { city });\n  \n  return `🌤️ Weather in ${city}:\nTemperature: ${weather.temperature}°C\nCondition: ${weather.condition}\nForecast: ${weather.forecast.map(f => f.summary).join(', ')}\n  \n💰 Cost: $0.001 USDC`;\n}\n\n// Usage\nconsole.log(await getWeatherReport('Amsterdam'));"
      },
      {
        "title": "Example 2: Crypto Price Tracker",
        "body": "from apiosk_client import call_apiosk\nimport time\n\ndef track_prices(symbols, interval=60):\n    \"\"\"Track crypto prices with Apiosk\"\"\"\n    while True:\n        prices = call_apiosk('prices', {'symbols': symbols})\n        \n        for symbol, price in prices.items():\n            print(f\"{symbol}: ${price:,.2f}\")\n        \n        print(f\"✅ Paid: $0.002 USDC\\n\")\n        time.sleep(interval)\n\n# Track BTC and ETH every minute\ntrack_prices(['BTC', 'ETH'])"
      },
      {
        "title": "Example 3: News Digest Agent",
        "body": "const { callApiosk } = require('./apiosk-client');\n\nasync function getDailyDigest(topics) {\n  const articles = [];\n  \n  for (const topic of topics) {\n    const news = await callApiosk('news', { \n      topic, \n      limit: 3 \n    });\n    articles.push(...news.articles);\n  }\n  \n  return `📰 Daily Digest (${articles.length} articles)\n${articles.map(a => `- ${a.title} (${a.source})`).join('\\n')}\n\n💰 Total cost: $${(topics.length * 0.005).toFixed(3)} USDC`;\n}\n\n// Get tech + business news\nconsole.log(await getDailyDigest(['technology', 'business']));"
      },
      {
        "title": "🔐 How x402 Works",
        "body": "Traditional API:\n\n1. Sign up for account\n2. Get API key\n3. Store securely\n4. Include in requests\n5. Monitor rate limits\n6. Pay monthly subscription\n\nApiosk (x402):\n\n1. Make request\n2. Gateway returns 402 Payment Required\n3. Your wallet signs payment proof\n4. Gateway verifies on-chain\n5. Gateway forwards to API\n6. You get response\n\nTime: Milliseconds. Cost: Exact usage. Setup: Zero."
      },
      {
        "title": "Custom RPC Endpoint",
        "body": "# Edit ~/.apiosk/config.json\n{\n  \"rpc_url\": \"https://mainnet.base.org\",\n  \"chain_id\": 8453,\n  \"usdc_contract\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\"\n}"
      },
      {
        "title": "Set Spending Limits",
        "body": "# Set daily spending limit\n./set-limit.sh --daily 10.00\n\n# Set per-request max\n./set-limit.sh --per-request 0.10"
      },
      {
        "title": "Enable Notifications",
        "body": "# Get notified when balance is low\n./configure.sh --alert-balance 1.00 --alert-webhook \"https://hooks.slack.com/...\""
      },
      {
        "title": "Check Spending",
        "body": "# Today's spending\n./usage-stats.sh --today\n\n# This month\n./usage-stats.sh --month\n\n# Per API breakdown\n./usage-stats.sh --by-api"
      },
      {
        "title": "Export Usage Data",
        "body": "# Export to CSV for accounting\n./export-usage.sh --start 2026-01-01 --end 2026-01-31 --format csv > january_usage.csv"
      },
      {
        "title": "\"Insufficient USDC balance\"",
        "body": "# Check balance\n./check-balance.sh\n\n# If low, fund your wallet:\n# 1. Bridge USDC to Base: https://bridge.base.org\n# 2. Send to: [your wallet address]"
      },
      {
        "title": "\"Payment verification failed\"",
        "body": "# Verify wallet signature is working\n./test-signature.sh\n\n# If fails, regenerate wallet:\n./setup-wallet.sh --regenerate"
      },
      {
        "title": "\"API not found\"",
        "body": "# Refresh API list\n./list-apis.sh --refresh\n\n# Check if API is available\ncurl https://gateway.apiosk.com/v1/apis | jq '.apis[] | select(.id==\"weather\")'"
      },
      {
        "title": "🌐 For Developers: Add Your Own API",
        "body": "Want to monetize your API via Apiosk?\n\n# 1. Sign up\ncurl -X POST https://dashboard.apiosk.com/api/register \\\n  -d '{\"email\":\"you@example.com\",\"api_name\":\"My API\"}'\n\n# 2. Add your API endpoint\ncurl -X POST https://dashboard.apiosk.com/api/add \\\n  -H \"Authorization: Bearer $TOKEN\" \\\n  -d '{\n    \"name\": \"my-api\",\n    \"endpoint\": \"https://my-api.com\",\n    \"price_usd\": 0.01,\n    \"description\": \"My awesome API\"\n  }'\n\n# 3. Start earning!\n# Agents call your API via Apiosk gateway\n# You get 90-95% of revenue, automatically\n\nMore: https://docs.apiosk.com/developers"
      },
      {
        "title": "📖 Resources",
        "body": "Website: https://apiosk.com\nDashboard: https://dashboard.apiosk.com\nDocs: https://docs.apiosk.com\nGitHub: https://github.com/apiosk\nSupport: support@apiosk.com\nMoltbook: @ApioskAgent"
      },
      {
        "title": "💡 Why Apiosk?",
        "body": "For Agents:\n\n✅ No API key management\n✅ Pay only what you use\n✅ Access 9+ APIs instantly\n✅ Transparent pricing\n✅ On-chain payment proofs\n\nFor Developers:\n\n✅ Monetize any API\n✅ No payment processing\n✅ 90-95% revenue share\n✅ Instant settlement\n✅ Global reach\n\nNetwork effect: More APIs → More agents → More revenue → More APIs"
      },
      {
        "title": "🦞 About",
        "body": "Built by the Apiosk team for the agent economy.\n\nx402 protocol: Keyless API access with crypto micropayments.\nMission: Make every API instantly accessible to every agent.\n\n\"Stop managing API keys. Start paying per request.\""
      },
      {
        "title": "📝 License",
        "body": "MIT - Use freely in your agents!"
      },
      {
        "title": "🔗 Quick Links",
        "body": "# Install\nclawhub install apiosk\n\n# Setup\ncd ~/.openclaw/skills/apiosk && ./setup-wallet.sh\n\n# Use\n./call-api.sh weather --params '{\"city\": \"Amsterdam\"}'\n\n# Monitor\n./usage-stats.sh\n\nHappy building! 🚀"
      }
    ],
    "body": "Apiosk - Keyless API Access with USDC Micropayments\n\nPay-per-request API access for agents. No API keys. No accounts. Just pay and call.\n\nApiosk enables agents to access production APIs using x402 protocol - USDC micropayments on Base blockchain. Stop managing API keys, start paying per request.\n\n🎯 What This Skill Does\nDiscover APIs - Browse 9+ production APIs (weather, prices, news, geocoding, etc.)\nPay per request - Automatic USDC micropayments ($0.001-0.10 per call)\nNo setup - No API keys, no accounts, no subscriptions\nInstant access - Call APIs immediately with x402 payment\n📦 Installation\n# Via ClawHub\nclawhub install apiosk\n\n# Or clone manually\ngit clone https://github.com/apiosk/apiosk-skill\n\n⚙️ Configuration\n1. Set Up Wallet (One-time)\n# Generate new wallet (or import existing)\n./setup-wallet.sh\n\n# This creates ~/.apiosk/wallet.json with:\n# - Private key (stored locally, chmod 600 for security)\n# - Public address\n# - Base mainnet RPC\n\n**IMPORTANT:** The private key is stored in plaintext in `~/.apiosk/wallet.json` (with restrictive file permissions). Only fund this wallet with small amounts for testing. For production, use a hardware wallet or external key management.\n\n\nImportant: Fund your wallet with USDC on Base mainnet (minimum $1-10 recommended).\n\nHow to fund:\n\nBridge USDC to Base via https://bridge.base.org\nOr buy USDC on Coinbase → withdraw to Base\nSend to your Apiosk wallet address\n2. Discover Available APIs\n# List all APIs\n./list-apis.sh\n\n# Output:\n# weather       $0.001/req   Get current weather and forecasts\n# prices        $0.002/req   Crypto/stock/forex prices  \n# news          $0.005/req   Global news by topic/country\n# company       $0.01/req    Company info, financials, news\n# geocode       $0.001/req   Address → Coordinates\n# ...\n\n🚀 Usage\nBasic API Call\n# Call weather API\n./call-api.sh weather --params '{\"city\": \"Amsterdam\"}'\n\n# Output:\n# {\n#   \"temperature\": 12,\n#   \"condition\": \"Cloudy\",\n#   \"forecast\": [...]\n# }\n# \n# ✅ Paid: $0.001 USDC\n\nFrom Agent Code (Node.js)\nconst { callApiosk } = require('./apiosk-client');\n\n// Call weather API\nconst weather = await callApiosk('weather', {\n  city: 'Amsterdam'\n});\n\nconsole.log(`Temperature: ${weather.temperature}°C`);\n// ✅ Automatically paid $0.001 USDC\n\nFrom Agent Code (Python)\nfrom apiosk_client import call_apiosk\n\n# Call prices API\nprices = call_apiosk('prices', {\n    'symbols': ['BTC', 'ETH']\n})\n\nprint(f\"BTC: ${prices['BTC']}\")\n# ✅ Automatically paid $0.002 USDC\n\n📚 Available APIs\nAPI\tCost/req\tDescription\tExample\nweather\t$0.001\tWeather forecasts\t{\"city\": \"NYC\"}\nprices\t$0.002\tCrypto/stock prices\t{\"symbols\": [\"BTC\"]}\nnews\t$0.005\tGlobal news articles\t{\"topic\": \"AI\"}\ncompany\t$0.01\tCompany data\t{\"domain\": \"apple.com\"}\ngeocode\t$0.001\tAddress → Coordinates\t{\"address\": \"Amsterdam\"}\ncode-runner\t$0.05\tExecute code sandbox\t{\"lang\": \"python\", \"code\": \"...\"}\npdf-generator\t$0.02\tHTML → PDF\t{\"html\": \"<h1>Hi</h1>\"}\nweb-screenshot\t$0.03\tURL → Screenshot\t{\"url\": \"example.com\"}\nfile-converter\t$0.01\tConvert file formats\t{\"from\": \"docx\", \"to\": \"pdf\"}\n\nFull docs: https://apiosk.com/#docs\n\n🔧 Helper Scripts\nlist-apis.sh\n#!/bin/bash\n# List all available APIs with pricing\n\ncurl -s https://gateway.apiosk.com/v1/apis | jq -r '.apis[] | \"\\(.id)\\t$\\(.price_usd)/req\\t\\(.description)\"'\n\ncall-api.sh\n#!/bin/bash\n# Call any Apiosk API with automatic payment\n# Usage: ./call-api.sh <api-id> --params '{\"key\":\"value\"}'\n\nAPI_ID=$1\nPARAMS=$3\n\n# Load wallet\nWALLET_ADDRESS=$(jq -r '.address' ~/.apiosk/wallet.json)\n\n# Make request (x402 payment happens via on-chain verification)\n# The gateway validates payment on-chain, no client-side signature needed\ncurl -X POST \"https://gateway.apiosk.com/$API_ID\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-Wallet-Address: $WALLET_ADDRESS\" \\\n  -d \"$PARAMS\"\n\ncheck-balance.sh\n#!/bin/bash\n# Check USDC balance in your Apiosk wallet\n\nWALLET_ADDRESS=$(jq -r '.address' ~/.apiosk/wallet.json)\n\ncurl -s \"https://gateway.apiosk.com/v1/balance?address=$WALLET_ADDRESS\" | jq\n# Output: {\"balance_usdc\": 9.87, \"spent_today\": 0.13}\n\nusage-stats.sh\n#!/bin/bash\n# View your API usage stats\n\nWALLET_ADDRESS=$(jq -r '.address' ~/.apiosk/wallet.json)\n\ncurl -s \"https://gateway.apiosk.com/v1/usage?address=$WALLET_ADDRESS\" | jq\n# Output:\n# {\n#   \"total_requests\": 142,\n#   \"total_spent_usdc\": 1.89,\n#   \"by_api\": {\n#     \"weather\": {\"requests\": 87, \"spent\": 0.087},\n#     \"prices\": {\"requests\": 55, \"spent\": 0.11}\n#   }\n# }\n\n🎓 Examples\nExample 1: Weather Bot\nconst { callApiosk } = require('./apiosk-client');\n\nasync function getWeatherReport(city) {\n  const weather = await callApiosk('weather', { city });\n  \n  return `🌤️ Weather in ${city}:\nTemperature: ${weather.temperature}°C\nCondition: ${weather.condition}\nForecast: ${weather.forecast.map(f => f.summary).join(', ')}\n  \n💰 Cost: $0.001 USDC`;\n}\n\n// Usage\nconsole.log(await getWeatherReport('Amsterdam'));\n\nExample 2: Crypto Price Tracker\nfrom apiosk_client import call_apiosk\nimport time\n\ndef track_prices(symbols, interval=60):\n    \"\"\"Track crypto prices with Apiosk\"\"\"\n    while True:\n        prices = call_apiosk('prices', {'symbols': symbols})\n        \n        for symbol, price in prices.items():\n            print(f\"{symbol}: ${price:,.2f}\")\n        \n        print(f\"✅ Paid: $0.002 USDC\\n\")\n        time.sleep(interval)\n\n# Track BTC and ETH every minute\ntrack_prices(['BTC', 'ETH'])\n\nExample 3: News Digest Agent\nconst { callApiosk } = require('./apiosk-client');\n\nasync function getDailyDigest(topics) {\n  const articles = [];\n  \n  for (const topic of topics) {\n    const news = await callApiosk('news', { \n      topic, \n      limit: 3 \n    });\n    articles.push(...news.articles);\n  }\n  \n  return `📰 Daily Digest (${articles.length} articles)\n${articles.map(a => `- ${a.title} (${a.source})`).join('\\n')}\n\n💰 Total cost: $${(topics.length * 0.005).toFixed(3)} USDC`;\n}\n\n// Get tech + business news\nconsole.log(await getDailyDigest(['technology', 'business']));\n\n🔐 How x402 Works\n\nTraditional API:\n\n1. Sign up for account\n2. Get API key\n3. Store securely\n4. Include in requests\n5. Monitor rate limits\n6. Pay monthly subscription\n\n\nApiosk (x402):\n\n1. Make request\n2. Gateway returns 402 Payment Required\n3. Your wallet signs payment proof\n4. Gateway verifies on-chain\n5. Gateway forwards to API\n6. You get response\n\n\nTime: Milliseconds. Cost: Exact usage. Setup: Zero.\n\n🛠️ Advanced Configuration\nCustom RPC Endpoint\n# Edit ~/.apiosk/config.json\n{\n  \"rpc_url\": \"https://mainnet.base.org\",\n  \"chain_id\": 8453,\n  \"usdc_contract\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\"\n}\n\nSet Spending Limits\n# Set daily spending limit\n./set-limit.sh --daily 10.00\n\n# Set per-request max\n./set-limit.sh --per-request 0.10\n\nEnable Notifications\n# Get notified when balance is low\n./configure.sh --alert-balance 1.00 --alert-webhook \"https://hooks.slack.com/...\"\n\n📊 Monitoring & Analytics\nCheck Spending\n# Today's spending\n./usage-stats.sh --today\n\n# This month\n./usage-stats.sh --month\n\n# Per API breakdown\n./usage-stats.sh --by-api\n\nExport Usage Data\n# Export to CSV for accounting\n./export-usage.sh --start 2026-01-01 --end 2026-01-31 --format csv > january_usage.csv\n\n🆘 Troubleshooting\n\"Insufficient USDC balance\"\n# Check balance\n./check-balance.sh\n\n# If low, fund your wallet:\n# 1. Bridge USDC to Base: https://bridge.base.org\n# 2. Send to: [your wallet address]\n\n\"Payment verification failed\"\n# Verify wallet signature is working\n./test-signature.sh\n\n# If fails, regenerate wallet:\n./setup-wallet.sh --regenerate\n\n\"API not found\"\n# Refresh API list\n./list-apis.sh --refresh\n\n# Check if API is available\ncurl https://gateway.apiosk.com/v1/apis | jq '.apis[] | select(.id==\"weather\")'\n\n🌐 For Developers: Add Your Own API\n\nWant to monetize your API via Apiosk?\n\n# 1. Sign up\ncurl -X POST https://dashboard.apiosk.com/api/register \\\n  -d '{\"email\":\"you@example.com\",\"api_name\":\"My API\"}'\n\n# 2. Add your API endpoint\ncurl -X POST https://dashboard.apiosk.com/api/add \\\n  -H \"Authorization: Bearer $TOKEN\" \\\n  -d '{\n    \"name\": \"my-api\",\n    \"endpoint\": \"https://my-api.com\",\n    \"price_usd\": 0.01,\n    \"description\": \"My awesome API\"\n  }'\n\n# 3. Start earning!\n# Agents call your API via Apiosk gateway\n# You get 90-95% of revenue, automatically\n\n\nMore: https://docs.apiosk.com/developers\n\n📖 Resources\nWebsite: https://apiosk.com\nDashboard: https://dashboard.apiosk.com\nDocs: https://docs.apiosk.com\nGitHub: https://github.com/apiosk\nSupport: support@apiosk.com\nMoltbook: @ApioskAgent\n💡 Why Apiosk?\n\nFor Agents:\n\n✅ No API key management\n✅ Pay only what you use\n✅ Access 9+ APIs instantly\n✅ Transparent pricing\n✅ On-chain payment proofs\n\nFor Developers:\n\n✅ Monetize any API\n✅ No payment processing\n✅ 90-95% revenue share\n✅ Instant settlement\n✅ Global reach\n\nNetwork effect: More APIs → More agents → More revenue → More APIs\n\n🦞 About\n\nBuilt by the Apiosk team for the agent economy.\n\nx402 protocol: Keyless API access with crypto micropayments.\nMission: Make every API instantly accessible to every agent.\n\n\"Stop managing API keys. Start paying per request.\"\n\n📝 License\n\nMIT - Use freely in your agents!\n\n🔗 Quick Links\n# Install\nclawhub install apiosk\n\n# Setup\ncd ~/.openclaw/skills/apiosk && ./setup-wallet.sh\n\n# Use\n./call-api.sh weather --params '{\"city\": \"Amsterdam\"}'\n\n# Monitor\n./usage-stats.sh\n\n\nHappy building! 🚀"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/obcraft/apiosk",
    "publisherUrl": "https://clawhub.ai/obcraft/apiosk",
    "owner": "obcraft",
    "version": "1.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/apiosk",
    "downloadUrl": "https://openagent3.xyz/downloads/apiosk",
    "agentUrl": "https://openagent3.xyz/skills/apiosk/agent",
    "manifestUrl": "https://openagent3.xyz/skills/apiosk/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/apiosk/agent.md"
  }
}