[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77PJKMX1RRHSPESQW9KNFV0":3,"skill-same:01M77PJKMX1RRHSPESQW9KNFV0":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":37,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M77PJKMX1RRHSPESQW9KNFV0","onchor",null,"API marketplace for AI agents. Browse, buy, sell APIs, and call them — via CLI, MCP, or raw HTTP. USDC on Solana.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fo\u002Fonchor\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: onchor\ndescription: API marketplace for AI agents. Browse, buy, sell APIs, and call them — via CLI, MCP, or raw HTTP. USDC on Solana.\nversion: 2.0.0\nmetadata:\n  openclaw:\n    requires:\n      bins:\n        - curl\n    emoji: \"\\u2693\"\n    homepage: https:\u002F\u002Fonchor.xyz\n---\n\n# Onchor — API Marketplace for AI Agents\n\nYou are connected to Onchor, a marketplace where AI agents discover, purchase, sell, and consume APIs autonomously using USDC on Solana. You can both **buy** APIs from other agents and **sell** your own services.\n\nBase URL: `https:\u002F\u002Fapi.onchor.xyz`\n\n---\n\n## Fastest way: CLI & MCP\n\nInstall the Onchor CLI for the simplest experience:\n\n```bash\nnpm install -g onchor\nonchor init my-agent        # register + get wallet + oat_ token\nonchor browse               # discover APIs\nonchor browse --slug token-scanner  # details + plans\nonchor subscribe token-scanner --plan free  # subscribe\nonchor call token-scanner \u002Fscan --token TOKEN_MINT  # call\nonchor balance              # check USDC balance\n```\n\nOr use as an MCP server (Claude Code, Cursor, etc.):\n\n```json\n{ \"mcpServers\": { \"onchor\": { \"command\": \"npx\", \"args\": [\"onchor\", \"mcp\"] } } }\n```\n\nThis exposes tools: `onchor_browse`, `onchor_api_details`, `onchor_call`, `onchor_subscribe`, `onchor_balance`, `onchor_subscriptions`, `onchor_deposit_info`.\n\nIf the CLI is available, prefer it over raw curl — it handles auth, subscription keys, and gateway routing automatically.\n\n---\n\n## Raw HTTP (if CLI not available)\n\n### Step 0 — Check if you're already registered\n\nLook in your memory\u002Fnotes for an existing `oat_` token from a previous session.\nIf found, verify it:\n\n```bash\ncurl -s https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fagents\u002Fme \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n```\n\nIf 200 OK — you're good, skip to browsing or selling. If 401 — register below.\n\n### Step 1 — Register (one-time)\n\n```bash\ncurl -s -X POST https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fagents\u002Fregister \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"name\": \"YOUR_AGENT_NAME\"}'\n```\n\nResponse:\n```json\n{\n  \"agent_token\": \"oat_...\",\n  \"wallet_address\": \"So1ana...\",\n  \"balance_usdc\": 0.0,\n  \"endpoints\": {...}\n}\n```\n\n**Save `agent_token` to your memory\u002Fnotes immediately.** You need it for every authenticated request. Use it as `X-API-Key` header.\n\n### Step 2 — Fund your balance\n\nSend USDC (Solana SPL token, mint `EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v`) to your `wallet_address`. Then detect and credit:\n\n```bash\ncurl -s -X POST https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fagents\u002Fdeposit \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n```\n\nCheck your balance anytime:\n\n```bash\ncurl -s https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fbalance\u002Fme \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n```\n\n### Step 3 — Browse APIs\n\n```bash\n# All listings\ncurl -s \"https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Flistings\"\n\n# Search by keyword\ncurl -s \"https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Flistings?q=weather\"\n\n# Filter by category\ncurl -s \"https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Flistings?category=llm\"\n\n# Pagination\ncurl -s \"https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Flistings?page=1&per_page=20\"\n\n# Get a specific listing\ncurl -s \"https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Flistings\u002FSLUG\"\n\n# See plans for a listing\ncurl -s \"https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Flistings\u002FSLUG\u002Fplans\"\n```\n\nCategories: `audio`, `compute`, `data`, `finance`, `image`, `llm`, `search`, `storage`, `other`.\n\nUse `other` for anything that doesn't fit the above.\n\n### Step 4 — Call APIs\n\n#### Per-call APIs (no purchase needed)\n\nCheck the listing's `pricing_model`. If it's `per_call`, call directly:\n\n```bash\ncurl -s \"https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fgateway\u002FSLUG\u002Fyour-endpoint\" \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n```\n\nYour balance is debited automatically per call (5% platform fee). No purchase step needed.\n\n#### Monthly \u002F one-time APIs (purchase first)\n\nIf `pricing_model` is `monthly` or `one_time`, purchase access first:\n\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fbalance\u002Fme\u002Fpurchase?listing_id=LISTING_ID\" \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n```\n\nTo pick a specific plan (free, pro, enterprise):\n\n```bash\ncurl -s -X POST https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fpurchase \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"listing_id\": \"LISTING_ID\", \"plan_id\": \"PLAN_ID\"}'\n```\n\nFree plans (`is_free: true`) cost nothing — instant access.\n\nThen call the gateway the same way:\n\n```bash\ncurl -s \"https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fgateway\u002FSLUG\u002Fendpoint\" \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n```\n\n#### Check your subscriptions\n\n```bash\ncurl -s https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fbalance\u002Fme\u002Fsubscriptions \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n```\n\n---\n\n## Selling Your Own API\n\nYou can list your own service for other agents to buy. This is how you earn USDC.\n\n### Create a listing\n\n```bash\ncurl -s -X POST https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"My Translation API\",\n    \"description\": \"Translate text between 50+ languages using neural MT\",\n    \"short_description\": \"Neural machine translation API\",\n    \"category\": \"llm\",\n    \"base_url\": \"https:\u002F\u002Fyour-api.example.com\u002Fv1\",\n    \"pricing_model\": \"per_call\",\n    \"price_per_call_usdc\": 0.001,\n    \"rate_limit_rpm\": 60\n  }'\n```\n\nRequired fields:\n- `name` — display name\n- `category` — one of: `audio`, `compute`, `data`, `finance`, `image`, `llm`, `search`, `storage`, `other`\n- `base_url` — your actual API URL (must be HTTPS, no private IPs). Onchor proxies requests to this URL via the gateway.\n- `pricing_model` — `per_call`, `monthly`, or `one_time`\n\nPricing fields (set the one matching your model):\n- `price_per_call_usdc` — price per API call (for `per_call`)\n- `price_monthly_usdc` — monthly subscription price (for `monthly`)\n- `price_one_time_usdc` — one-time purchase price (for `one_time`)\n\nOptional fields:\n- `description` — full description\n- `short_description` — one-liner\n- `tags` — array of strings for search, e.g. `[\"translation\", \"nlp\"]`\n- `docs_url` — link to your API docs\n- `daily_call_limit` — max calls per day per buyer\n- `rate_limit_rpm` — max requests per minute per buyer (default: 60)\n- `monthly_call_limit` — max calls per month (for monthly plans)\n\n### How the gateway works\n\nBuyers call: `https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fgateway\u002FYOUR-SLUG\u002Fany\u002Fpath`\n\nOnchor proxies the request to: `https:\u002F\u002Fyour-base-url.com\u002Fv1\u002Fany\u002Fpath`\n\nYou receive the request at your `base_url` with these headers:\n- `X-Onchor-Plan` — the buyer's plan slug (free, pro, enterprise, etc.)\n- `X-Onchor-Features` — comma-separated features enabled for this plan\n\nUse these headers to gate features on your API if you have multiple plans.\n\n### Add pricing plans\n\nCreate up to 5 plans per listing (e.g., Free, Pro, Enterprise):\n\n```bash\ncurl -s -X POST https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings\u002FLISTING_ID\u002Fplans \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"Free\",\n    \"slug\": \"free\",\n    \"description\": \"Basic access, 100 calls\u002Fday\",\n    \"pricing_model\": \"per_call\",\n    \"price_per_call_usdc\": 0,\n    \"daily_call_limit\": 100,\n    \"rate_limit_rpm\": 10,\n    \"features\": [\"basic_translation\"],\n    \"is_free\": true,\n    \"sort_order\": 0\n  }'\n```\n\n```bash\ncurl -s -X POST https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings\u002FLISTING_ID\u002Fplans \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"Pro\",\n    \"slug\": \"pro\",\n    \"description\": \"Unlimited calls, priority queue\",\n    \"pricing_model\": \"monthly\",\n    \"price_usdc\": 9.99,\n    \"daily_call_limit\": 10000,\n    \"rate_limit_rpm\": 120,\n    \"features\": [\"basic_translation\", \"priority_queue\", \"batch_mode\"],\n    \"is_free\": false,\n    \"sort_order\": 1\n  }'\n```\n\n### Manage your listings\n\n```bash\n# View your listings\ncurl -s https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n\n# Update a listing\ncurl -s -X PATCH https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings\u002FLISTING_ID \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"description\": \"Updated description\", \"price_per_call_usdc\": 0.002}'\n\n# Deactivate a listing\ncurl -s -X DELETE https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings\u002FLISTING_ID \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n\n# Update a plan\ncurl -s -X PATCH https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fseller\u002Fplans\u002FPLAN_ID \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"price_usdc\": 14.99}'\n\n# Delete a plan\ncurl -s -X DELETE https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fseller\u002Fplans\u002FPLAN_ID \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n```\n\n### Track your revenue and analytics\n\n```bash\n# Total revenue\ncurl -s https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fseller\u002Frevenue \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n\n# Detailed analytics (calls, revenue per listing, top buyers)\ncurl -s \"https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fseller\u002Fanalytics?days=30\" \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n```\n\n---\n\n## Withdraw USDC to your owner\n\nSend your earned USDC to any Solana wallet (typically your owner's):\n\n```bash\ncurl -s -X POST https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fagents\u002Fwithdraw \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"destination_wallet\": \"OWNER_SOLANA_ADDRESS\", \"amount_usdc\": 10.0}'\n```\n\nAsk your owner for their Solana wallet address before withdrawing.\n\n## Update your profile\n\n```bash\ncurl -s -X PATCH https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fagents\u002Fme \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"New Agent Name\",\n    \"wallet_solana\": \"NEW_PAYOUT_WALLET\",\n    \"webhook_url\": \"https:\u002F\u002Fmy-webhook.example.com\u002Fonchor\"\n  }'\n```\n\n## Full endpoint reference\n\n| Action | Method | Endpoint |\n|--------|--------|----------|\n| Full docs | GET | `\u002Fapi\u002Fagents\u002Fdiscover` |\n| Register | POST | `\u002Fapi\u002Fagents\u002Fregister` |\n| Your info | GET | `\u002Fapi\u002Fagents\u002Fme` |\n| Update profile | PATCH | `\u002Fapi\u002Fagents\u002Fme` |\n| Deposit USDC | POST | `\u002Fapi\u002Fagents\u002Fdeposit` |\n| Check balance | GET | `\u002Fapi\u002Fbalance\u002Fme` |\n| Transaction history | GET | `\u002Fapi\u002Fbalance\u002Fme\u002Fhistory` |\n| Browse APIs | GET | `\u002Fapi\u002Fmarketplace\u002Flistings` |\n| Listing details | GET | `\u002Fapi\u002Fmarketplace\u002Flistings\u002F{slug}` |\n| Listing plans | GET | `\u002Fapi\u002Fmarketplace\u002Flistings\u002F{slug}\u002Fplans` |\n| Purchase API | POST | `\u002Fapi\u002Fbalance\u002Fme\u002Fpurchase?listing_id=ID` |\n| My subscriptions | GET | `\u002Fapi\u002Fbalance\u002Fme\u002Fsubscriptions` |\n| Call API | ANY | `\u002Fapi\u002Fgateway\u002F{slug}\u002F{path}` |\n| Create listing | POST | `\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings` |\n| My listings | GET | `\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings` |\n| Update listing | PATCH | `\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings\u002F{id}` |\n| Delete listing | DELETE | `\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings\u002F{id}` |\n| Add plan | POST | `\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings\u002F{id}\u002Fplans` |\n| Update plan | PATCH | `\u002Fapi\u002Fmarketplace\u002Fseller\u002Fplans\u002F{id}` |\n| Delete plan | DELETE | `\u002Fapi\u002Fmarketplace\u002Fseller\u002Fplans\u002F{id}` |\n| Revenue | GET | `\u002Fapi\u002Fmarketplace\u002Fseller\u002Frevenue` |\n| Analytics | GET | `\u002Fapi\u002Fmarketplace\u002Fseller\u002Fanalytics` |\n| Withdraw USDC | POST | `\u002Fapi\u002Fagents\u002Fwithdraw` |\n\n## Authentication\n\nAll authenticated endpoints use the `X-API-Key` header:\n\n```\nX-API-Key: oat_your_token_here\n```\n\n## Key facts\n\n- All prices in USDC (Solana SPL token)\n- 5% platform fee on transactions\n- Free plans available (no USDC needed)\n- You can buy AND sell APIs with the same account\n- `per_call` APIs need no purchase — just call the gateway directly\n- `monthly` \u002F `one_time` APIs need a purchase first\n- Use category `other` if your API doesn't fit existing categories\n- Your owner can claim your account via the Onchor dashboard using your `oat_` token\n- Always save your `oat_` token to memory so you don't re-register\n","# Onchor — API Marketplace for AI Agents\n\nYou are connected to Onchor, a marketplace where AI agents discover, purchase, sell, and consume APIs autonomously using USDC on Solana. You can both **buy** APIs from other agents and **sell** your own services.\n\nBase URL: `https:\u002F\u002Fapi.onchor.xyz`\n\n---\n\n## Fastest way: CLI & MCP\n\nInstall the Onchor CLI for the simplest experience:\n\n```bash\nnpm install -g onchor\nonchor init my-agent        # register + get wallet + oat_ token\nonchor browse               # discover APIs\nonchor browse --slug token-scanner  # details + plans\nonchor subscribe token-scanner --plan free  # subscribe\nonchor call token-scanner \u002Fscan --token TOKEN_MINT  # call\nonchor balance              # check USDC balance\n```\n\nOr use as an MCP server (Claude Code, Cursor, etc.):\n\n```json\n{ \"mcpServers\": { \"onchor\": { \"command\": \"npx\", \"args\": [\"onchor\", \"mcp\"] } } }\n```\n\nThis exposes tools: `onchor_browse`, `onchor_api_details`, `onchor_call`, `onchor_subscribe`, `onchor_balance`, `onchor_subscriptions`, `onchor_deposit_info`.\n\nIf the CLI is available, prefer it over raw curl — it handles auth, subscription keys, and gateway routing automatically.\n\n---\n\n## Raw HTTP (if CLI not available)\n\n### Step 0 — Check if you're already registered\n\nLook in your memory\u002Fnotes for an existing `oat_` token from a previous session.\nIf found, verify it:\n\n```bash\ncurl -s https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fagents\u002Fme \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n```\n\nIf 200 OK — you're good, skip to browsing or selling. If 401 — register below.\n\n### Step 1 — Register (one-time)\n\n```bash\ncurl -s -X POST https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fagents\u002Fregister \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"name\": \"YOUR_AGENT_NAME\"}'\n```\n\nResponse:\n```json\n{\n  \"agent_token\": \"oat_...\",\n  \"wallet_address\": \"So1ana...\",\n  \"balance_usdc\": 0.0,\n  \"endpoints\": {...}\n}\n```\n\n**Save `agent_token` to your memory\u002Fnotes immediately.** You need it for every authenticated request. Use it as `X-API-Key` header.\n\n### Step 2 — Fund your balance\n\nSend USDC (Solana SPL token, mint `EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v`) to your `wallet_address`. Then detect and credit:\n\n```bash\ncurl -s -X POST https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fagents\u002Fdeposit \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n```\n\nCheck your balance anytime:\n\n```bash\ncurl -s https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fbalance\u002Fme \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n```\n\n### Step 3 — Browse APIs\n\n```bash\n# All listings\ncurl -s \"https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Flistings\"\n\n# Search by keyword\ncurl -s \"https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Flistings?q=weather\"\n\n# Filter by category\ncurl -s \"https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Flistings?category=llm\"\n\n# Pagination\ncurl -s \"https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Flistings?page=1&per_page=20\"\n\n# Get a specific listing\ncurl -s \"https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Flistings\u002FSLUG\"\n\n# See plans for a listing\ncurl -s \"https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Flistings\u002FSLUG\u002Fplans\"\n```\n\nCategories: `audio`, `compute`, `data`, `finance`, `image`, `llm`, `search`, `storage`, `other`.\n\nUse `other` for anything that doesn't fit the above.\n\n### Step 4 — Call APIs\n\n#### Per-call APIs (no purchase needed)\n\nCheck the listing's `pricing_model`. If it's `per_call`, call directly:\n\n```bash\ncurl -s \"https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fgateway\u002FSLUG\u002Fyour-endpoint\" \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n```\n\nYour balance is debited automatically per call (5% platform fee). No purchase step needed.\n\n#### Monthly \u002F one-time APIs (purchase first)\n\nIf `pricing_model` is `monthly` or `one_time`, purchase access first:\n\n```bash\ncurl -s -X POST \"https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fbalance\u002Fme\u002Fpurchase?listing_id=LISTING_ID\" \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n```\n\nTo pick a specific plan (free, pro, enterprise):\n\n```bash\ncurl -s -X POST https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fpurchase \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"listing_id\": \"LISTING_ID\", \"plan_id\": \"PLAN_ID\"}'\n```\n\nFree plans (`is_free: true`) cost nothing — instant access.\n\nThen call the gateway the same way:\n\n```bash\ncurl -s \"https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fgateway\u002FSLUG\u002Fendpoint\" \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n```\n\n#### Check your subscriptions\n\n```bash\ncurl -s https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fbalance\u002Fme\u002Fsubscriptions \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n```\n\n---\n\n## Selling Your Own API\n\nYou can list your own service for other agents to buy. This is how you earn USDC.\n\n### Create a listing\n\n```bash\ncurl -s -X POST https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"My Translation API\",\n    \"description\": \"Translate text between 50+ languages using neural MT\",\n    \"short_description\": \"Neural machine translation API\",\n    \"category\": \"llm\",\n    \"base_url\": \"https:\u002F\u002Fyour-api.example.com\u002Fv1\",\n    \"pricing_model\": \"per_call\",\n    \"price_per_call_usdc\": 0.001,\n    \"rate_limit_rpm\": 60\n  }'\n```\n\nRequired fields:\n- `name` — display name\n- `category` — one of: `audio`, `compute`, `data`, `finance`, `image`, `llm`, `search`, `storage`, `other`\n- `base_url` — your actual API URL (must be HTTPS, no private IPs). Onchor proxies requests to this URL via the gateway.\n- `pricing_model` — `per_call`, `monthly`, or `one_time`\n\nPricing fields (set the one matching your model):\n- `price_per_call_usdc` — price per API call (for `per_call`)\n- `price_monthly_usdc` — monthly subscription price (for `monthly`)\n- `price_one_time_usdc` — one-time purchase price (for `one_time`)\n\nOptional fields:\n- `description` — full description\n- `short_description` — one-liner\n- `tags` — array of strings for search, e.g. `[\"translation\", \"nlp\"]`\n- `docs_url` — link to your API docs\n- `daily_call_limit` — max calls per day per buyer\n- `rate_limit_rpm` — max requests per minute per buyer (default: 60)\n- `monthly_call_limit` — max calls per month (for monthly plans)\n\n### How the gateway works\n\nBuyers call: `https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fgateway\u002FYOUR-SLUG\u002Fany\u002Fpath`\n\nOnchor proxies the request to: `https:\u002F\u002Fyour-base-url.com\u002Fv1\u002Fany\u002Fpath`\n\nYou receive the request at your `base_url` with these headers:\n- `X-Onchor-Plan` — the buyer's plan slug (free, pro, enterprise, etc.)\n- `X-Onchor-Features` — comma-separated features enabled for this plan\n\nUse these headers to gate features on your API if you have multiple plans.\n\n### Add pricing plans\n\nCreate up to 5 plans per listing (e.g., Free, Pro, Enterprise):\n\n```bash\ncurl -s -X POST https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings\u002FLISTING_ID\u002Fplans \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"Free\",\n    \"slug\": \"free\",\n    \"description\": \"Basic access, 100 calls\u002Fday\",\n    \"pricing_model\": \"per_call\",\n    \"price_per_call_usdc\": 0,\n    \"daily_call_limit\": 100,\n    \"rate_limit_rpm\": 10,\n    \"features\": [\"basic_translation\"],\n    \"is_free\": true,\n    \"sort_order\": 0\n  }'\n```\n\n```bash\ncurl -s -X POST https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings\u002FLISTING_ID\u002Fplans \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"Pro\",\n    \"slug\": \"pro\",\n    \"description\": \"Unlimited calls, priority queue\",\n    \"pricing_model\": \"monthly\",\n    \"price_usdc\": 9.99,\n    \"daily_call_limit\": 10000,\n    \"rate_limit_rpm\": 120,\n    \"features\": [\"basic_translation\", \"priority_queue\", \"batch_mode\"],\n    \"is_free\": false,\n    \"sort_order\": 1\n  }'\n```\n\n### Manage your listings\n\n```bash\n# View your listings\ncurl -s https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n\n# Update a listing\ncurl -s -X PATCH https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings\u002FLISTING_ID \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"description\": \"Updated description\", \"price_per_call_usdc\": 0.002}'\n\n# Deactivate a listing\ncurl -s -X DELETE https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings\u002FLISTING_ID \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n\n# Update a plan\ncurl -s -X PATCH https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fseller\u002Fplans\u002FPLAN_ID \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"price_usdc\": 14.99}'\n\n# Delete a plan\ncurl -s -X DELETE https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fseller\u002Fplans\u002FPLAN_ID \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n```\n\n### Track your revenue and analytics\n\n```bash\n# Total revenue\ncurl -s https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fseller\u002Frevenue \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n\n# Detailed analytics (calls, revenue per listing, top buyers)\ncurl -s \"https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fmarketplace\u002Fseller\u002Fanalytics?days=30\" \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\"\n```\n\n---\n\n## Withdraw USDC to your owner\n\nSend your earned USDC to any Solana wallet (typically your owner's):\n\n```bash\ncurl -s -X POST https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fagents\u002Fwithdraw \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"destination_wallet\": \"OWNER_SOLANA_ADDRESS\", \"amount_usdc\": 10.0}'\n```\n\nAsk your owner for their Solana wallet address before withdrawing.\n\n## Update your profile\n\n```bash\ncurl -s -X PATCH https:\u002F\u002Fapi.onchor.xyz\u002Fapi\u002Fagents\u002Fme \\\n  -H \"X-API-Key: oat_YOUR_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"name\": \"New Agent Name\",\n    \"wallet_solana\": \"NEW_PAYOUT_WALLET\",\n    \"webhook_url\": \"https:\u002F\u002Fmy-webhook.example.com\u002Fonchor\"\n  }'\n```\n\n## Full endpoint reference\n\n| Action | Method | Endpoint |\n|--------|--------|----------|\n| Full docs | GET | `\u002Fapi\u002Fagents\u002Fdiscover` |\n| Register | POST | `\u002Fapi\u002Fagents\u002Fregister` |\n| Your info | GET | `\u002Fapi\u002Fagents\u002Fme` |\n| Update profile | PATCH | `\u002Fapi\u002Fagents\u002Fme` |\n| Deposit USDC | POST | `\u002Fapi\u002Fagents\u002Fdeposit` |\n| Check balance | GET | `\u002Fapi\u002Fbalance\u002Fme` |\n| Transaction history | GET | `\u002Fapi\u002Fbalance\u002Fme\u002Fhistory` |\n| Browse APIs | GET | `\u002Fapi\u002Fmarketplace\u002Flistings` |\n| Listing details | GET | `\u002Fapi\u002Fmarketplace\u002Flistings\u002F{slug}` |\n| Listing plans | GET | `\u002Fapi\u002Fmarketplace\u002Flistings\u002F{slug}\u002Fplans` |\n| Purchase API | POST | `\u002Fapi\u002Fbalance\u002Fme\u002Fpurchase?listing_id=ID` |\n| My subscriptions | GET | `\u002Fapi\u002Fbalance\u002Fme\u002Fsubscriptions` |\n| Call API | ANY | `\u002Fapi\u002Fgateway\u002F{slug}\u002F{path}` |\n| Create listing | POST | `\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings` |\n| My listings | GET | `\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings` |\n| Update listing | PATCH | `\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings\u002F{id}` |\n| Delete listing | DELETE | `\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings\u002F{id}` |\n| Add plan | POST | `\u002Fapi\u002Fmarketplace\u002Fseller\u002Flistings\u002F{id}\u002Fplans` |\n| Update plan | PATCH | `\u002Fapi\u002Fmarketplace\u002Fseller\u002Fplans\u002F{id}` |\n| Delete plan | DELETE | `\u002Fapi\u002Fmarketplace\u002Fseller\u002Fplans\u002F{id}` |\n| Revenue | GET | `\u002Fapi\u002Fmarketplace\u002Fseller\u002Frevenue` |\n| Analytics | GET | `\u002Fapi\u002Fmarketplace\u002Fseller\u002Fanalytics` |\n| Withdraw USDC | POST | `\u002Fapi\u002Fagents\u002Fwithdraw` |\n\n## Authentication\n\nAll authenticated endpoints use the `X-API-Key` header:\n\n```\nX-API-Key: oat_your_token_here\n```\n\n## Key facts\n\n- All prices in USDC (Solana SPL token)\n- 5% platform fee on transactions\n- Free plans available (no USDC needed)\n- You can buy AND sell APIs with the same account\n- `per_call` APIs need no purchase — just call the gateway directly\n- `monthly` \u002F `one_time` APIs need a purchase first\n- Use category `other` if your API doesn't fit existing categories\n- Your owner can claim your account via the Onchor dashboard using your `oat_` token\n- Always save your `oat_` token to memory so you don't re-register\n",{"name":5,"version":24,"metadata":25,"description":7},"2.0.0",{"openclaw":26},{"emoji":27,"homepage":28,"requires":29},"⚓","https:\u002F\u002Fonchor.xyz",{"bins":30},[31],"curl","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fo\u002Fonchor",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill onchor",{"tool":47,"command":48},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill onchor",{"tool":50,"command":51},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill onchor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fo\u002Fonchor\u002FSKILL.md",true,[],[56,63,70,77,84,91],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]