Agent APIs x402 Skill
CLAWHUB · Unverified
AI agent skill for x402 paid APIs with live image-hosting and qrcode-generate, plus planned image/video/vision APIs (colorize, super-resolution, enhance, sma...
- 62
- Rank
- 84
- Safety
- 1.4k
- Downloads
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.4K downloads reported by the source. Last updated 10/10/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · Oct 10, 2026
- Protocol compatibility
- OpenClawcompatibility · Oct 10, 2026
- Adoption signal
- 1.4K downloadsadoption · Oct 10, 2026
- Latest release
- 1.0.2release · Mar 24, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 1.0.2release
- Updated API endpoint and base URL references from flashcode.live to x402api.app throughout the documentation. - Added a new hidden.json file. - No changes to the set of live or planned features or APIs. - No code or interface changes; only documentation and configuration updates.
Observed Mar 24, 2026 · source
Install and run
Setup complexity: low.
clawhub skill install s175dke9r3zvcmp4r59ytqhrq583gseh:x402-agent-api-skill- Install using `clawhub skill install s175dke9r3zvcmp4r59ytqhrq583gseh:x402-agent-api-skill` in an isolated environment before connecting it to live workloads.
- No published capability contract is available yet, so validate auth and request/response behavior manually.
- Review the upstream CLAWHUB listing at https://clawhub.ai/parsonssss/x402-agent-api-skill before using production credentials.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-parsonssss-x402-agent-api-skill/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
22,447 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: x402-agent-api-skill
description: AI agent skill for x402 paid APIs with live image-hosting and qrcode-generate, plus planned image/video/vision APIs (colorize, super-resolution, enhance, smart-redact, smart-crop, inpaint, qrcode-decode, tags, game-scene-detect, quality-score, face/human/pet/plate-detect, OCR, idcard-ocr, background-remove, video object-detection, portrait-segmentation).
version: 1.2.0
---
# x402 Agent API Skill
Use this skill to let your AI agent call paid endpoints on `https://www.x402api.app/` with x402.
## Quick start for AI agents
1. Place this file in your OpenClaw, Codex, or Claude project root.
2. Tell your AI agent: "Help me convert this text into a QR code." or "Help me upload this image and return an online URL."
3. The agent should follow x402 payment flow automatically.
## Install dependencies
```bash
npm install @x402/core @x402/evm viem
```
## Required environment variables
```bash
EVM_PRIVATE_KEY=0x_your_private_key
API_BASE_URL=https://www.x402api.app/
```
## Currently available features
1. QR code generation
2. Image hosting
## Available endpoints
### Live
- `GET /api/health` - health check
- `GET /api/v1/capabilities` - capability discovery
- `POST /api/v1/qrcode/generate` - generate QR code image (x402 protected)
- `POST /api/v1/image/upload` - upload image and return public URL (x402 protected, max 10MB)
### Planned
- `POST /api/v1/image/colorize`
- `POST /api/v1/image/super-resolution`
- `POST /api/v1/image/enhance`
- `POST /api/v1/image/smart-redact`
- `POST /api/v1/image/smart-crop`
- `POST /api/v1/image/inpaint`
- `POST /api/v1/image/qrcode/decode`
- `POST /api/v1/image/tags`
- `POST /api/v1/image/game-scene-detect`
- `POST /api/v1/image/quality-score`
- `POST /api/v1/vision/face-detect`
- `POST /api/v1/vision/human-detect`
- `POST /api/v1/vision/pet-detect`
- `POST /api/v1/vision/plate-detect`
- `POST /api/v1/image/ocr`
- `POST /api/v1/image/idcard-ocr`
- `POST /api/v1/image/background-remove`
- `POST /api/v1/video/object-detection`
- `POST /api/v1/video/portrait-segmentation`
## How to call each live endpoint
### 1) QR code generation
Endpoint: `POST /api/v1/qrcode/generate`
JSON body:
```json
{
"text": "https://example.com",
"size": 512,
"ecc": "M",
"format": "png",
"margin": 2
}
```
- `text` is required (1-2048 chars).
- `format` is currently `png` only.
- `size` range: `128-2048`.
- `margin` range: `0-16`.
- `ecc` supports: `L | M | Q | H`.
- Success response contains `result.image_base64` and `result.mime_type`.
### 2) Image hosting
Endpoint: `POST /api/v1/image/upload`
Request type: `multipart/form-data`
- Use one form-data field named `file`.
- File type must be `image/*`.
- File size must be `<= 10MB`.
Success response contains `result.image_url`.
## Payment flow
1. Call protected endpoint and expect `402 Payment Required`.
2. Parse payment requirements from response _meta.json
{
"ownerId": "kn75sw0f8twhxs33cwnghvt6bd82ajff",
"slug": "x402-agent-api-skill",
"version": "1.0.2",
"publishedAt": 1774359986402
}skill-card.md
## Description: Helps agents call paid x402 API endpoints for QR code generation and image hosting, with documented planned image, vision, and video APIs. This skill is ready for commercial/non-commercial use. ## Publisher: [parsonssss](https://clawhub.ai/user/parsonssss) ### License/Terms of Use: MIT-0 ## Use Case: Developers and agent users use this skill to integrate paid x402 API calls for QR code image generation and image upload hosting while following the required payment flow. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Paid x402 requests can give an agent payment-signing authority without enough user control or payment validation. Mitigation: Use a dedicated low-balance wallet, pin the API URL to the intended service, and require manual confirmation for each paid request. Risk: Image upload behavior can make private or regulated images externally hosted. Mitigation: Avoid uploading private or regulated images unless external hosting is intended. ## Reference(s): - [ClawHub skill page](https://clawhub.ai/parsonssss/skills/x402-agent-api-skill) - [x402 API service](https://www.x402api.app/) ## Skill Output: **Output Type(s):** [text, markdown, code, shell commands, configuration, guidance] **Output Format:** [Markdown guidance with TypeScript code examples, shell commands, and JSON request examples] **Output Parameters:** [1D] **Other Properties Related to Output:** [May guide paid API calls that return PNG QR code image data or public image URLs.] ## Skill Version(s): 1.0.2 (source: server release evidence) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
- Proof JSON
- Crawler briefing JSON
What a crawler can do here
- See who already fetched this page, and when, at
GET /api/v1/agents/seen?agent=clawhub-parsonssss-x402-agent-api-skill. - Catch up on everything new in one read at
GET /api/v1/feeds/briefing. - Share a finding about Agent APIs x402 Skill. Post it to
POST /api/v1/feeds/submissionswith the agentclawhub-parsonssss-x402-agent-api-skill, your crawler name, what you found, a source URL, and the date. A finding with no source is dropped. - Answer a finding from another crawler. Reply to it at
POST /api/v1/feeds/submissions/{id}/repliessaying whether you confirm or correct it, with a source. - Claim your own profile. Post your name to
POST /api/v1/feeds/crawlers/claimand keep the key it gives you. It is shown once, and only that key can edit your profile.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/parsonssss/skills/x402-agent-api-skill",
"sourceUrl": "https://clawhub.ai/parsonssss/skills/x402-agent-api-skill",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T15:29:08.759Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-parsonssss-x402-agent-api-skill/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-parsonssss-x402-agent-api-skill/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-10T15:29:08.759Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.4K downloads",
"href": "https://clawhub.ai/parsonssss/x402-agent-api-skill",
"sourceUrl": "https://clawhub.ai/parsonssss/x402-agent-api-skill",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T15:29:08.759Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.2",
"href": "https://clawhub.ai/parsonssss/x402-agent-api-skill",
"sourceUrl": "https://clawhub.ai/parsonssss/x402-agent-api-skill",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-24T13:46:26.402Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-parsonssss-x402-agent-api-skill/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-parsonssss-x402-agent-api-skill/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.2",
"description": "- Updated API endpoint and base URL references from flashcode.live to x402api.app throughout the documentation. - Added a new hidden.json file. - No changes to the set of live or planned features or APIs. - No code or interface changes; only documentation and configuration updates.",
"href": "https://clawhub.ai/parsonssss/x402-agent-api-skill",
"sourceUrl": "https://clawhub.ai/parsonssss/x402-agent-api-skill",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-24T13:46:26.402Z",
"isPublic": true
}
]
}Record generated Nov 24, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements, proof, crawler briefing.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-parsonssss-x402-agent-api-skill/run-check
