Sortance Identity router API
Decide with your policy; enrichment where configured.
Decide with your policy; enrichment where configured.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/sortance:sortance-identity-router-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Sortance Identity router API
version: 0.1.0
summary: 'Email validation API for signup forms: disposable, no-MX, typo and role checks, your own rules, one decision with its reasons.'
description: 'Check an email address for disposable domains, a missing mail server, typos and role inboxes, apply your own block and allow rules, and get one decision (send, challenge, hold or drop) with its reasons. It does not claim to confirm that a mailbox exists. Every response carries a trace_id and every error the same envelope. Human docs: https://sortance.com/docs/api. Agent reference: https://sortance.com/llms.txt. A remote MCP server is at https://api.sortance.com/mcp.'
contact:
name: Sortance
url: https://sortance.com
x-logo:
url: https://api.sortance.com/brand/icon-512.png
servers:
- url: https://api.sortance.com
security:
- bearerAuth: []
tags:
- name: Identity router
description: Decide with your policy; enrichment where configured.
paths:
/v1/decide:
post:
summary: Decide whether to let an address in
description: Verify, enrich only if a rule needs it, apply your policy, and return allow, allow_with_flow, review, challenge or deny with the rule that made it. Metered like a verification.
security:
- bearerAuth: []
operationId: decide
tags:
- Identity router
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DecideRequest'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/DecideResponse'
'400':
description: 'invalid_request: malformed body or value.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: 'unauthorized: missing, malformed or revoked key.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: 'quota_exceeded: the organisation''s monthly allowance is spent.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: 'forbidden: the key''s role is below what the route needs.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: 'rate_limited: too many requests this minute. See the RateLimit-* headers.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: internal_error. Carries a trace_id.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/enrich:
post:
summary: Enrich a person and company
description: Person and company profile from the enrichment providers, with coverage and per-source receipts.
security:
- bearerAuth: []
operationId: enrich
tags:
- Identity router
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/EnrichRequest'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/EnrichResponse'
'400':
description: 'invalid_request: malformed body or value.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: 'unauthorized: missing, malformed or revoked key.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: 'enrichment_quota_exceeded: the enrichment allowance is spent.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: 'forbidden: the key''s role is below what the route needs.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: 'rate_limited: too many requests this minute. See the RateLimit-* headers.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: internal_error. Carries a trace_id.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
UsageCounters:
type: object
properties:
key:
type: object
properties:
minute:
type: integer
hour:
type: integer
day:
type: integer
ip:
anyOf:
- type: object
properties:
minute:
type: integer
hour:
type: integer
day:
type: integer
- type: 'null'
email:
anyOf:
- type: object
properties:
day:
type: integer
- type: 'null'
domain:
anyOf:
- type: object
properties:
hour:
type: integer
- type: 'null'
limits:
type: object
properties:
per_minute:
type: integer
remaining_minute:
type: integer
month_quota:
anyOf:
- type: integer
- type: 'null'
month_used:
anyOf:
- type: integer
- type: 'null'
DecideRequest:
type: object
properties:
email:
type: string
description: The address to check, up to 320 characters.
maxLength: 320
examples:
- mia@acme.com
context:
type: object
properties:
purpose:
type: string
enum:
- outbound
- signup
- list_hygiene
policy:
type: string
description: 'Policy slug. Default: default.'
enrich:
type: string
enum:
- auto
- always
- never
description: auto (default) enriches only when a rule needs it.
max_cost_usd:
type: number
description: Ceiling across verification and enrichment together.
max_latency_ms:
type: integer
attributes:
type: object
additionalProperties:
type: string
signals:
type: object
properties:
signature_agent_header:
type: string
signup_ip:
type: string
otp_delivered_at:
type: integer
otp_submitted_at:
type: integer
sender_domain:
type: string
required:
- email
EnrichmentProfile:
type: object
properties:
person:
anyOf:
- type: object
properties:
full_name:
anyOf:
- type: string
- type: 'null'
first_name:
anyOf:
- type: string
- type: 'null'
last_name:
anyOf:
- type: string
- type: 'null'
title:
anyOf:
- type: string
- type: 'null'
seniority:
anyOf:
- type: string
enum:
- c_suite
- vp
- director
- manager
- senior
- entry
- unknown
- type: 'null'
department:
anyOf:
- type: string
enum:
- engineering
- product
- design
- marketing
- growth
- sales
- customer_success
- finance
- legal
- hr
- operations
- executive
- other
- unknown
- type: 'null'
linkedin_url:
anyOf:
- type: string
- type: 'null'
location:
anyOf:
- type: object
properties:
country:
anyOf:
- type: string
- type: 'null'
region:
anyOf:
- type: string
- type: 'null'
- type: 'null'
- type: 'null'
company:
anyOf:
- type: object
properties:
name:
anyOf:
- type: string
- type: 'null'
domain:
anyOf:
- type: string
- type: 'null'
industry:
anyOf:
- type: string
enum:
- fintech
- banking
- insurance
- investment_management
- venture_capital
- accounting
- crypto_web3
- real_estate
- saas
- software
- developer_tools
- artificial_intelligence
- data_analytics
- cybersecurity
- it_services
- internet
- ecommerce
- marketplaces
- gaming
- edtech
- health_tech
- hr_tech
- martech
- proptech
- legal_tech
- hardware
- semiconductors
- telecommunications
- manufacturing
- industrial_automation
- automotive
- aerospace_defense
- construction
- chemicals
- mining_metals
- energy
- clean_energy
- utilities
- agriculture
- logistics
- transportation
- travel
- hospitality
- retail
- consumer_goods
- food_beverage
- sports_fitness
- healthcare
- pharmaceuticals
- biotech
- medical_devices
- consulting
- legal
- marketing_advertising
- staffing_recruiting
- media
- entertainment
- publishing
- education
- government
- nonprofit
- other
- type: 'null'
industry_raw:
anyOf:
- type: string
- type: 'null'
employees:
anyOf:
- type: integer
- type: 'null'
employees_range:
anyOf:
- type: string
- type: 'null'
revenue_range:
anyOf:
- type: string
- type: 'null'
founded:
anyOf:
- type: integer
- type: 'null'
country:
anyOf:
- type: string
- type: 'null'
type:
anyOf:
- type: string
enum:
- public
- private
- nonprofit
- government
- education
- unknown
- type: 'null'
tech:
type: array
items:
type: string
linkedin_url:
anyOf:
- type: string
- type: 'null'
funding:
anyOf:
- type: object
properties:
total_usd:
anyOf:
- type: number
- type: 'null'
last_round:
anyOf:
- type: string
- type: 'null'
- type: 'null'
- type: 'null'
coverage:
type: object
properties:
person:
type: number
company:
type: number
description: Fraction (0..1) of the asked-for fields that came back.
freshness:
type: object
properties:
person:
anyOf:
- type: string
- type: 'null'
company:
anyOf:
- type: string
- type: 'null'
sources:
type: object
additionalProperties:
type: object
properties:
status:
type: string
enum:
- match
- no_match
- error
- timeout
- skipped
ms:
type: number
cost:
type: number
fields:
type: integer
disagreement:
type: object
additionalProperties:
type: object
additionalProperties: true
cache:
type: object
properties:
hit:
type: boolean
ttl_s:
type: integer
visitor:
anyOf:
- type: object
properties:
identified:
type: boolean
first_seen:
anyOf:
- type: string
- type: 'null'
pages:
anyOf:
- type: integer
- type: 'null'
source:
type: string
- type: 'null'
DecideResponse:
type: object
properties:
decision:
type: string
enum:
- allow
- allow_with_flow
- review
- challenge
- deny
description: Always set, even when every upstream failed.
flow:
anyOf:
- type: string
- type: 'null'
rule_id:
anyOf:
- type: string
- type: 'null'
tags:
type: array
items:
type: string
policy:
anyOf:
- type: object
properties:
slug:
type: string
version:
type: integer
- type: 'null'
experiment:
type: object
properties:
slug:
type: string
variant:
type: string
mode:
type: string
enum:
- enforce
- shadow
shadow_decision:
type: string
enum:
- allow
- allow_with_flow
- review
- challenge
- deny
reasons:
type: array
items:
type: string
verification:
$ref: '#/components/schemas/VerifyResponse'
enrichment:
anyOf:
- $ref: '#/components/schemas/EnrichmentProfile'
- type: 'null'
icp:
anyOf:
- type: object
properties:
score:
type: integer
fit:
type: string
enum:
- strong
- fit
- weak
- no_fit
coverage:
type: number
version:
type: integer
criteria:
type: array
items:
type: object
- type: 'null'
lists:
type: object
properties:
matched:
type: array
items:
type: string
cost_usd:
type: number
latency_ms:
type: integer
trace_id:
type: string
description: dc_-prefixed.
request:
anyOf:
- $ref: '#/components/schemas/RequestInfo'
- type: 'null'
usage:
anyOf:
- $ref: '#/components/schemas/UsageCounters'
- type: 'null'
required:
- decision
- flow
- rule_id
- tags
- policy
- reasons
- verification
- enrichment
- icp
- lists
- cost_usd
- latency_ms
- trace_id
EnrichResponse:
allOf:
- $ref: '#/components/schemas/EnrichmentProfile'
- type: object
properties:
cost_usd:
type: number
latency_ms:
type: integer
trace_id:
type: string
description: en_-prefixed.
request:
anyOf:
- $ref: '#/components/schemas/RequestInfo'
- type: 'null'
usage:
anyOf:
- $ref: '#/components/schemas/UsageCounters'
- type: 'null'
required:
- cost_usd
- latency_ms
- trace_id
CheckStep:
type: object
properties:
id:
type: string
enum:
- syntax
- account_rules
- mx
- disposable
- email_type
- role
- catch_all
- mailbox
- ai
- score
- policy
status:
type: string
enum:
- pass
- fail
- warn
- info
- skip
detail:
type: string
required:
- id
- status
- detail
RequestInfo:
type: object
properties:
ip:
anyOf:
- type: string
- type: 'null'
ip_version:
anyOf:
- type: integer
- type: 'null'
country:
anyOf:
- type: string
- type: 'null'
region:
anyOf:
- type: string
- type: 'null'
region_code:
anyOf:
- type: string
- type: 'null'
city:
anyOf:
- type: string
- type: 'null'
continent:
anyOf:
- type: string
- type: 'null'
timezone:
anyOf:
- type: string
- type: 'null'
is_eu:
anyOf:
- type: boolean
- type: 'null'
asn:
anyOf:
- type: integer
- type: 'null'
as_org:
anyOf:
- type: string
- type: 'null'
colo:
anyOf:
- type: string
- type: 'null'
user_agent:
anyOf:
- type: string
- type: 'null'
source:
type: string
enum:
- edge
- caller
description: caller when context.client supplied the end user's details.
VerifyResponse:
type: object
properties:
email:
type: string
description: The address you sent, echoed back. Never stored.
verdict:
type: string
enum:
- valid
- likely_valid
- risky
- likely_invalid
- invalid
- unknown
description: Compatibility field derived from bounce_probability. Prefer the probability.
bounce_probability:
type: number
description: 'Calibrated against observed bounces: 0.31 means roughly 31 in 100.'
confidence_interval:
type: array
items:
type: number
minItems: 2
maxItems: 2
calibration:
type: string
enum:
- prior
- fitted
recommendation:
type: string
enum:
- send
- hold
- challenge
- drop
description: A policy suggestion, not a verdict.
actor_class:
type: string
enum:
- human_mailbox
- agent_mailbox
- relay_alias
- role_account
- shared
- unknown
mailbox_type:
type: string
enum:
- corporate
- consumer
- role
- unknown
esp:
type: string
enum:
- microsoft365
- google_workspace
- consumer_esp
- self_hosted
- unknown
email_type:
type: string
enum:
- business
- free
- role
- disposable
- relay
- unknown
description: free is the consumer-provider class (Gmail, Outlook, Yahoo, …).
signals:
type: object
properties:
syntax:
type: string
enum:
- pass
- fail
mx:
type: string
enum:
- pass
- fail
disposable:
type: boolean
role_account:
type: boolean
catch_all:
type: boolean
relay_alias:
type: boolean
providers:
type: object
additionalProperties:
type: object
properties:
verdict:
type: string
ms:
type: number
cost:
type: number
description: Per-provider receipts. Empty when the local gate or the cache settled it.
disagreement:
type: number
description: How far apart the providers landed. 0 = agreement.
cache:
type: object
properties:
hit:
type: boolean
ttl_s:
type: integer
cost_usd:
type: number
latency_ms:
type: integer
trace_id:
type: string
description: vr_-prefixed. Quote it in /v1/outcome.
reason:
anyOf:
- type: string
enum:
- syntax_invalid
- address_blocklisted
- domain_blocklisted
- no_mx
- mx_unresolved
- disposable_domain
- disposable_suspected
- domain_allowlisted
- address_allowlisted
- type: 'null'
reasons:
type: array
items:
type: string
enum:
- syntax_invalid
- address_blocklisted
- domain_blocklisted
- no_mx
- mx_unresolved
- disposable_domain
- disposable_suspected
- domain_allowlisted
- address_allowlisted
degraded:
type: boolean
description: Present and true only when a provider failed and nothing else added evidence.
identity_hash:
type: string
description: Per-account salted dedupe key for relay aliases.
mailbox_checked:
type: boolean
description: True when a mailbox provider said whether the mailbox exists.
score:
type: integer
description: '0–100: how safe it is to let this address in. Higher is better.'
score_band:
type: string
enum:
- high
- medium
- low
checks:
type: array
items:
$ref: '#/components/schemas/CheckStep'
description: The checks that ran, in order.
ai:
type: object
properties:
status:
type: string
enum:
- ok
- skipped
- unavailable
- failed
model:
type: string
enum:
- jev
address:
type: string
enum:
- real
- fake
- uncertain
domain:
type: string
enum:
- ok
- typo_like
- lookalike
- placeholder
- throwaway_like
- uncertain
cached:
type: boolean
reason:
type: string
decision:
anyOf:
- type: object
properties:
action:
type: string
enum:
- allow
- allow_with_flow
- review
- challenge
- deny
policy:
type: string
version:
type: integer
rule:
anyOf:
- type: object
properties:
id:
type: string
label:
type: string
- type: 'null'
flow:
type: string
tags:
type: array
items:
type: string
reasons:
type: array
items:
type: string
- type: 'null'
request:
anyOf:
- $ref: '#/components/schemas/RequestInfo'
- type: 'null'
usage:
anyOf:
- $ref: '#/components/schemas/UsageCounters'
- type: 'null'
required:
- email
- verdict
- bounce_probability
- confidence_interval
- calibration
- recommendation
- actor_class
- mailbox_type
- esp
- email_type
- signals
- providers
- disagreement
- cache
- cost_usd
- latency_ms
- trace_id
- reason
- reasons
Error:
type: object
properties:
error:
type: object
properties:
code:
type: string
enum:
- invalid_request
- unauthorized
- quota_exceeded
- rate_limited
- internal_error
- all_providers_failed
- policy_invalid
- policy_conflict
- enrichment_quota_exceeded
- compile_failed
- not_found
- screening_quota_exceeded
- forbidden
- origin_not_allowed
message:
type: string
trace_id:
type: string
required:
- code
- message
- trace_id
required:
- error
description: Every non-2xx body has this shape.
EnrichRequest:
type: object
properties:
email:
type: string
description: The address to check, up to 320 characters.
maxLength: 320
examples:
- mia@acme.com
context:
type: object
properties:
fields:
type: array
items:
type: string
enum:
- person
- company
max_cost_usd:
type: number
max_latency_ms:
type: integer
strategy:
type: string
enum:
- waterfall
- fanout
description: waterfall (default) or fanout.
required:
- email
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'An API key from https://sortance.com/app: Authorization: Bearer $SORTANCE_KEY.'
externalDocs:
description: API reference
url: https://sortance.com/docs/api