Start Building

Sign in to generate your HANAI API key. 50 free requests per day, no credit card needed.

Developer Portal
Daily Usage 0 / 50
Resets daily at midnight UTC
⚠  Daily limit reached. Resets at midnight UTC.
API Key

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.

Usage Examples
cURL
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"}'
JavaScript / fetch
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();
Python
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()
Endpoints
POST/searchMain HANAI pipeline
GET/search?q=querySearch via GET
GET/entity/:idEntity lookup
GET/entityList all entities
GET/trust/:entityTrust score lookup
GET/healthHealth check (no key needed)

Full API reference →