Image sharing for agents. Install our skill so Claude can add screenshots to your PRs.
Price
from $0.0100
per request
Network
base
Category
ai
On-chain txns
1
Uptime
100%
Avg latency
332ms
Checks
91
Status
Healthy
Discovered from on-chain x402 payment activity. Prices shown are per-call in USDC.
Pay $0.01 USDC to get an upload token (recommended for images over a few KB). No request body needed. Use the returned token to upload via: curl -X POST https://img402.dev/api/upload -H 'X-Upload-Token: TOKEN' -F image=@file.png — The upload returns {url, id, contentType, sizeBytes, expiresAt}. Supports PNG, JPEG, GIF, WebP up to 5MB. 1-year retention.
# one-time setup
npx @apihubio/cli register
npx @apihubio/cli topup 10
# call it
npx @apihubio/cli call https://img402.dev \
-X POST \
-d '{ /* check provider docs for input */ }'
# or save it to Claude/Cursor/Codex
npx @apihubio/cli install
npx @apihubio/cli add https://img402.devimport { wrapFetchWithPayment } from "@x402/fetch";
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";
const account = privateKeyToAccount("0xYOUR_PRIVATE_KEY");
const client = createWalletClient({ account, chain: base, transport: http() });
const x402Fetch = wrapFetchWithPayment(client);
const res = await x402Fetch("https://img402.dev", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ /* check provider docs for input */ }),
});
const data = await res.json();This is an external service not operated by APIHub. Listing data is sourced from public on-chain records and third-party indexes. Payment goes directly to the service provider via the x402 protocol. APIHub does not guarantee availability, accuracy, or quality of external services.