Build AI into your apps using Phantom's infrastructure. Access Claude, Groq, and Gemini through one simple key. Starting at $5/month.
// Use Phantom API from anywhere const res = await fetch('https://phantomide.com/api/v1/chat', { method: 'POST', headers: { 'X-Phantom-Key': 'ph-live-your-key-here', 'Content-Type': 'application/json' }, body: JSON.stringify({ messages: [{ role: 'user', content: 'Hello!' }] }) }); const { reply, tokens_remaining } = await res.json();