Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: XposedOrNot Analytics API
description: 'The XON API provides comprehensive data breach detection and monitoring services. Use our API to:
* Check if email addresses have been exposed in data breaches
* Monitor domain-level breaches
* Access detailed breach analytics
* Get real-time breach metrics
## Documentation Access
| Interface | Features | Rate Limits |
|-----------|----------|-------------|
| **Swagger UI** - Interactive documentation at `/docs` | • Try out API endpoints directly
• View request/response examples
• Interactive testing | • 2 requests/second
• 50-100/hour
• 100-1000/day |
| **OpenAPI JSON** - Raw spec at `/openapi.json` | • Import into other tools
• Use for automated testing
• Generate client code | |
> Most endpoints are publicly accessible. Domain-specific endpoints may require authentication.'
version: 2.0.0
servers:
- url: https://api.xposedornot.com
description: Production server
tags:
- name: Analytics
paths:
/v1/breach-analytics:
get:
operationId: getBreachAnalytics
summary: Get Breach Analytics
description: Retrieves analytics and statistics about breaches for a specific email address. This endpoint provides information about breaches and associated paste data.
tags:
- Analytics
parameters:
- required: true
schema:
type: string
format: email
name: email
in: query
description: Email address to get analytics for
- name: token
in: query
description: Token for accessing sensitive data
required: false
schema:
type: string
responses:
'200':
description: Successfully retrieved breach analytics
content:
application/json:
schema:
type: object
properties:
ExposedBreaches:
type: array
description: List of breaches containing the email
items:
type: object
BreachesSummary:
type: object
description: Summary of breaches
BreachMetrics:
type: object
description: Metrics about breaches
PastesSummary:
type: object
description: Summary of pastes
ExposedPastes:
type: array
description: List of pastes containing the email
items:
type: object
PasteMetrics:
type: object
description: Metrics about pastes
'404':
description: Not Found - Email not found or invalid format
'429':
description: Too Many Requests - free-tier limit reached. The body carries retry_after/reset_time plus an upgrade block pointing at xonAPI+; Retry-After and Link headers are set.
headers:
Retry-After:
description: Seconds until the limit resets
schema:
type: integer
Link:
description: xonAPI+ plans page, rel="help"
schema:
type: string
content:
application/json:
schema:
type: object
properties:
detail:
type: object
properties:
error:
type: string
detail:
type: string
retry_after:
type: integer
reset_time:
type: string
format: date-time
message:
type: string
upgrade:
type: object
properties:
plan:
type: string
url:
type: string
format: uri
note:
type: string
example:
detail:
error: Rate limit exceeded
detail: Rate limit exceeded for endpoint /v1/check-email/{email}. Please try again after 1794 seconds.
retry_after: 1794
reset_time: '2026-11-14T13:02:11.123456'
message: 'You''ve hit the free limit for email checks (2/second, 25/hour, 100/day). The free API is for personal, low-volume use. If you need more, xonAPI+ gives you higher limits and an API key from $9/month, with the same breach data: https://plus.xposedornot.com/products/api'
upgrade:
plan: xonAPI+
url: https://plus.xposedornot.com/products/api
note: Paid plans fund the free tier.