What this API does
The Bolt.new API offers developers a powerful, AI-driven platform to generate complete full-stack web applications directly from text prompts. With this API, you can automate the creation of both frontend and backend components, manage dependencies, and handle deployments seamlessly using RESTful endpoints.
How it works
Developers send descriptive project prompts to the API's endpoints. The API provides functionality for real-time project status polling, retrieval of generated files for customization, and streamlined deployment processes. Integration into CI/CD pipelines is facilitated by deployment triggers available through the API.
Authentication
Authentication is performed using API keys included in request headers. This approach ensures secure access while enabling a smooth developer experience with robust error handling.
Example usage
/projects- Send a text prompt to generate a new project./projects/{projectId}/status- Retrieve the current status of a specific project./projects/{projectId}/files- Fetch the complete codebase of a generated project./deploy- Trigger deployment for a specified project.
Limits
Developers can utilize a free tier allowing up to 100 tokens daily for experimentation and small projects. Specific rate limits are not documented.
Ideal use cases
- Rapid prototype development for startups.
- Automated project generation for agencies.
- Streamlining development workflows for solo developers.
- AI-enhanced application building for diverse tech stacks.