Code Examples
Copy and paste ready-to-use snippets
1
Get AI Details
Retrieve full information about an AI tool.
const response = await fetch('https://iahunt.com/api/v1/ais/chatgpt', {
headers: { 'X-API-KEY': 'sk_...' }
});
const data = await response.json();
console.log(data);2
Market Trends
Get top tags and new arrivals.
const response = await fetch('https://iahunt.com/api/v1/analytics/trends', {
headers: { 'X-API-KEY': 'sk_...' }
});
const { top_tags } = await response.json();3
Audit AI
Get performance score and benchmarks.
const response = await fetch('https://iahunt.com/api/v1/ais/chatgpt/audit', {
headers: { 'X-API-KEY': 'sk_...' }
});
const audit = await response.json();
console.log(audit.performance_score);4
Get Alternatives
Find similar tools based on tags.
const response = await fetch('https://iahunt.com/api/v1/ais/chatgpt/alternatives', {
headers: { 'X-API-KEY': 'sk_...' }
});
const alts = await response.json();5
Send Lead
Send a contact message to the AI owner.
const response = await fetch('https://iahunt.com/api/v1/ais/chatgpt/contact', {
method: 'POST',
headers: {
'X-API-KEY': 'sk_...',
'Content-Type': 'application/json'
},
body: JSON.stringify({
email: 'user@test.com',
message: 'I want a demo'
})
});