Return ready-to-paste x402 payment integration code plus the install command: a paywalled SERVER (Express, Hono, Next.js, Fastify, Gin, FastAPI, Flask) with priced routes, or a paying CLIENT (fetch, axios, Go, Python httpx/requests) for the chosen networks.
This page documents the HTTP endpoint POST /api/tools/x402-config-generator/execute. See the MCP reference →
Call it over REST
POST https://api.findutils.com/api/tools/x402-config-generator/execute · no API keys · 60 requests/min per IP
Execute — verified arguments
curl -X POST https://api.findutils.com/api/tools/x402-config-generator/execute \
-H "Content-Type: application/json" \
-d '{
"role": "server",
"framework": "express"
}' Parameter schema for this endpoint
curl https://api.findutils.com/api/tools/x402-config-generator Input schema
| Argument | Type | Required | Description |
|---|---|---|---|
| role | string (server | client) | no | Generate code for the seller (server) or the buyer (client). Default: "server". |
| framework | string (express | hono | nextjs | fastify | gin | fastapi | flask) | no | Server framework (role=server). Default: "express". |
| facilitator_url | string | no | x402 facilitator URL (role=server). Default: "https://x402.org/facilitator". |
| routes | array | no | Paid routes (role=server): objects with path, method, price (e.g. "$0.001"), scheme (exact|upto), network (CAIP-2 id such as "eip155:8453"), pay_to (wallet address), description, mime_type. |
| enable_bazaar | boolean | no | Advertise routes in the x402 Bazaar discovery list (role=server). Default: false. |
| enable_payment_id | boolean | no | Attach a payment id to each settlement (role=server). Default: false. |
| client_type | string (fetch | axios | go | python-httpx | python-requests) | no | Client library (role=client). Default: "fetch". |
| networks | array | no | Networks the client can pay on (role=client). |
| base_url | string | no | Base URL of the paid API (role=client). Default: "https://api.example.com". |
Example arguments (verified)
{
"role": "server",
"framework": "express"
} Also an MCP tool
Claude, Cursor, and any MCP client can call this tool as
findutils:x402_config_generator after one connect command.
Connect once
claude mcp add findutils --transport http https://mcp.findutils.com/ More Generators tools
Barcode Generator
Generate a 1D barcode as an SVG string from text.
Box Shadow Generator
Generate a CSS box-shadow declaration from offset, blur, spread, colour, opacity, and inset settings, or from a named preset (subtle, soft,
Caption Generator
Generate a social-media caption from a topic using built-in templates (no AI): picks a template for the content type and tone, fills in the
Color Palette Generator
Generate a harmonious colour palette from a base hex colour: complementary, analogous, triadic, tetradic, split-complementary, or monochroma
Css Animation Generator
Return CSS @keyframes animation code (or Tailwind config, Web Animations API / React, or Framer Motion code) from a named preset such as fad
Glassmorphism Generator
Generate the CSS for a glassmorphism (frosted glass) card: semi-transparent background, backdrop-filter blur and saturation (with the -webki
Gradient Generator
Generate a CSS linear, radial, or conic gradient from colour stops (2 to 10) and an angle, or from a preset (sunset, ocean, forest, fire, pu
Hashtag Generator
Generate relevant hashtags from keywords using a built-in, rule-based database (no AI): matches keywords against topic categories, scores po