X402 Config Generator API
https://api.findutils.com/api/tools/x402-config-generator/execute 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.
Request body
application/json-
role
string optional
Generate code for the seller (server) or the buyer (client). One of
server · client. Default"server". -
framework
string optional
Server framework (role=server). One of
express · hono · nextjs · fastify · gin · fastapi · flask. Default"express". -
facilitator_url
string optional
x402 facilitator URL (role=server). Default
"https://x402.org/facilitator". -
routes
array optional
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 optional
Advertise routes in the x402 Bazaar discovery list (role=server). Default
false. -
enable_payment_id
boolean optional
Attach a payment id to each settlement (role=server). Default
false. -
client_type
string optional
Client library (role=client). One of
fetch · axios · go · python-httpx · python-requests. Default"fetch". -
networks
array optional
Networks the client can pay on (role=client).
-
base_url
string optional
Base URL of the paid API (role=client). Default
"https://api.example.com".
Example arguments
Verified{
"role": "server",
"framework": "express"
} 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…
- Clip Path Generator Generate a CSS clip-path from a named shape (triangle, trapezoid, parallelogram, rhombus, pentagon, hexagon, octagon, star, chevron…
- Color Palette Generator Generate a harmonious colour palette from a base hex colour: complementary, analogous, triadic, tetradic, split-complementary…
- Css Animation Generator Return CSS @keyframes animation code (or Tailwind config, Web Animations API / React, or Framer Motion code) from a named preset such…