Landing page API: one call, one ready-to-publish HTML page.
Send a business name and a few details. You get back a complete, responsive, single-file HTML landing page with inline CSS: hero, services, WhatsApp or email call to action, contact section, footer, SEO meta tags and schema.org data. No account and no API key: each call is paid in USDC with the x402 protocol (HTTP 402).
Price and payment
0.25 USDC per page
Fixed price per successful call. Amount 250000 in atomic units (6 decimals).
Base or Polygon
USDC on Base (eip155:8453) or Polygon (eip155:137), scheme exact. Gasless for the payer (EIP-3009), settled by the PayAI facilitator.
You pay only for a result
Invalid input returns 400 before any payment is checked. The payment is settled only after the page has been generated.
Endpoint
Supports x402 v1 (X-PAYMENT request header, X-PAYMENT-RESPONSE receipt) and v2 (PAYMENT-SIGNATURE / PAYMENT-REQUIRED / PAYMENT-RESPONSE). Response: {"html": "<!DOCTYPE html>...", "filename": "plomeria-rapida.html"}.
Input fields
business_name | string, required | Business or project name (max 80) |
tagline | string | Headline for the hero (max 140) |
description | string | One or two sentences about the business (max 600) |
services | array of strings | Up to 8. Write "Title: short description" to add a description. In GET, comma-separated |
city | string | City or area served |
whatsapp | string | International number, digits only, e.g. 5491122334455. Adds WhatsApp buttons |
email | string | Contact email. Adds an email button |
language | "es" or "en" | Page language. Default es |
color | hex | Brand color, e.g. #0f766e. Default #2563eb |
cta_text | string | Text of the main button (max 40) |
Try it with curl
Pay automatically from code
Any x402-compatible client or agent wallet works. The page is generated from a fixed template, so the same input always gives the same HTML. Nothing you send is stored.
Discovery
- /api/x402: resources, price, networks and JSON schemas.
- /.well-known/x402: x402 discovery document.
- /openapi.json: OpenAPI 3.1 with x-payment-info.
Need a page written and published for you?
The API gives you the HTML. If you prefer a custom page with copy written for your business, hosting and one round of changes, see the done-for-you landing page service. Questions: [email protected].