Retrieve emails associated with a specific domain.
GET /v1/scan
domain
(required): The domain to search for emailsengine
(optional): The search engine to use (e.g., google, bing, yahoo, pgp, all)curl -H "Authorization: Bearer YOUR_API_KEY" \
'https://api.infoga.io/v1/scan?domain=example.com&engine=google'
{
"status": "success",
"task_id": "e931ef16-278e-4868-9600-9eba23e23d95"
}
Retrieve the results of a previously initiated scan.
GET /v1/results
task_id
(required): The ID of the scan taskcurl -H "Authorization: Bearer YOUR_API_KEY" \
'https://api.infoga.io/v1/results?task_id=e931ef16-278e-4868-9600-9eba23e23d95'
{
"status": "success",
"data": {
"emails": [
"contact@example.com",
"support@example.com"
],
"sources": [
"Google Search",
"Company Website"
]
}
}
Check if an email address has been involved in any known data breaches.
GET /v1/check
email
(required): The email address to checkcurl -H "Authorization: Bearer YOUR_API_KEY" \
'https://api.infoga.io/v1/check?email=user@example.com'
{
"status": "success",
"data": {
"leaked": true,
"breaches": [
{
"name": "ExampleBreach",
"date": "2022-01-01",
"description": "Description of the breach"
}
]
}
}
Set up an alert for an email address in the Infoga database
POST /v1/alert
email
(required): The email address to monitoralert_email
(required): The email address to receive alertscurl -X POST -H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "user@example.com", "alert_email": "security-team@example.com"}' \
'https://api.infoga.io/v1/alert'
{
"status": "success",
"message": "Alert set up successfully"
}