API keys
Manage programmatic access to the HTML to Next.js Converter. Rotate keys regularly and sync them with your LLM orchestration service.
No keys yet. Generate one to get started.
Generate a key to view available credentials here.
Integrate with code
Store keys as environment variables and authenticate any background worker or LLM pipeline.
bash
# .env.local
HTML_TO_NEXT_API_KEY=<your-primary-key>
# example usage
export async function convertSite(file: File) {
const formData = new FormData();
formData.append("file", file);
const response = await fetch("https://api.htmltonext.dev/v1/convert", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.HTML_TO_NEXT_API_KEY}`,
},
body: formData,
});
return response.json();
}