Use the ShiftStack API to build on top of AI website generation.
All API requests require a Bearer token in the Authorization header. Get your API key from Dashboard → API Keys.
Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxxxxxx
Rate limits:
• Free plan: 10 requests/day
• Starter: 100 requests/day
• Pro: 1,000 requests/day
• Agency: Unlimited
/api/v1/websitesList all websites in your accountcurl https://app.shiftstackapp.com/api/v1/websites \ -H "Authorization: Bearer YOUR_API_KEY"
{ "websites": [...], "count": 5 }/api/v1/websitesGenerate a new website from a promptpromptstringrequiredDescription of the website to buildnamestringOptional name for the projectcurl -X POST https://app.shiftstackapp.com/api/v1/websites \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "A landing page for a coffee shop"}'{ "website": { "id": "...", "name": "...", "status": "draft" } }Use our JavaScript SDK for easier integration.
<script src="https://app.shiftstackapp.com/sdk/shiftstackapp.js"></script>
<script>
const ss = new ShiftStack('YOUR_API_KEY');
// List websites
const { websites } = await ss.listWebsites();
// Generate a website
const { website } = await ss.generateWebsite('A landing page for my bakery');
// Publish it
await ss.publishWebsite(website.id);
</script>