Sign in to generate your HANAI API key. 50 free requests per day, no credit card needed.
You don't have a key yet. Generate one to start making requests.
Keep this key secret. It counts against your daily limit.
Regenerating immediately invalidates the previous key.
curl -X POST https://hanai-api.onrender.com/search \ -H "X-API-Key: hnai_your_key_here" \ -H "Content-Type: application/json" \ -d '{"query": "buy running shoes", "region": "auto"}'
const res = await fetch('https://hanai-api.onrender.com/search', { method: 'POST', headers: { 'X-API-Key': 'hnai_your_key_here', 'Content-Type': 'application/json' }, body: JSON.stringify({ query: 'buy shoes', region: 'auto' }) }); const data = await res.json();
import requests data = requests.post( 'https://hanai-api.onrender.com/search', headers = { 'X-API-Key': 'hnai_your_key_here' }, json = { 'query': 'buy shoes', 'region': 'auto' } ).json()