API Reference

The NexGeo.ai API lets you programmatically access your visibility data, trigger scans, and retrieve analytics.

Base URL

https://your-domain.com/api/v1

Authentication

All API requests require an API key. Generate one from the Developers page in your dashboard.

Pass the key via the X-API-Key header:

Shell
curl https://your-domain.com/api/v1/products \
  -H "X-API-Key: apin_your_key_here"

Alternatively, use the Authorization header with a Bearer token:

Authorization: Bearer apin_your_key_here

Scopes

API keys are created with specific scopes that control what operations they can perform:

ScopePermissions
readList products, scans, analytics
writeTrigger scans, update products
adminFull access including key management

Rate Limits

API requests are rate-limited per API key:

  • Free plan: 100 requests/minute
  • Pro plan: 500 requests/minute
  • Enterprise plan: 2000 requests/minute

Error Responses

Errors return a JSON object with an error field:

JSON
{
  "error": "Invalid API key"
}
StatusDescription
401Missing or invalid API key
403Insufficient scope
404Resource not found
429Rate limit exceeded
500Internal server error

Endpoints