Build
Build
Build and deploy production websites, landing pages, portfolios, and more
POST
Overview
The Build API creates fully-functional, production-ready websites from product descriptions. From SaaS landing pages to portfolios, restaurant sites to event pages — OneShot analyzes your requirements, generates professional content, and deploys to live URLs with real hosting infrastructure. Coming soon: Full-stack applications with databases, authentication, and backend logic.Authentication
Requires x402 payment. First call returns a quote (402), second call with payment executes.Request Body
Product information for the website.
Build type. Options:
saas, portfolio, agency, personal, product, funnel, restaurant, event, app, socialURL to analyze for content/inspiration. Adds $10 to quote.
Specific sections to include (e.g.,
["hero", "features", "pricing", "testimonials"])Lead capture form configuration.
Brand customization options.
Image URLs to use.
Custom domain (e.g.,
mysite.com). Adds the registrar price (typically ~$10–15) to quote.Existing build ID to update (for iterations). Use
/update endpoint instead.Quote Response (402)
The first request returns pricing and analysis:Quote ID to include in payment request
Inferred website type
Product name from request
AI analysis of the build request
Detailed pricing breakdown
Quote expiration timestamp (1 hour)
Execution Response (202)
After payment, the build is initiated:Job ID for tracking build status
processing - build is in progressEmail address for lead capture (if enabled)
Total amount charged
Completed Job Result
Poll/v1/requests/{request_id} for the result:
Live URL (e.g.,
https://taskflow.oneshotagent.com)Preview URL before DNS propagation
Email address receiving lead submissions
AI-evaluated quality score (1-10)
See Pricing for build costs. All builds include high-quality stock images from Unsplash at no extra cost. Updates to existing builds are discounted — use the Update Build endpoint with your
build_id.