Sortance Domain rules API
Your account's own domain blocklist and allowlist.
Your account's own domain blocklist and allowlist.
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-domain-rules-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 Domain rules 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: Domain rules
description: Your account's own domain blocklist and allowlist.
paths:
/v1/domains/blocklist:
get:
summary: List domain blocklist
description: Your account's domain blocklist.
security:
- bearerAuth: []
operationId: listDomainBlocklist
tags:
- Domain rules
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
rule:
type: string
enum:
- block
- allow
domains:
type: array
items:
type: object
additionalProperties: true
count:
type: integer
'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'
'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'
post:
summary: Add to domain blocklist
description: Adding to one list takes the entry off the other. Needs a member key.
security:
- bearerAuth: []
operationId: addDomainBlocklist
tags:
- Domain rules
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
domains:
type: array
items:
type: string
note:
type: string
required:
- domains
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'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'
'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'
delete:
summary: Remove from domain blocklist
description: Needs a member key.
security:
- bearerAuth: []
operationId: removeDomainBlocklist
tags:
- Domain rules
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
domains:
type: array
items:
type: string
required:
- domains
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'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'
'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/domains/allowlist:
get:
summary: List domain allowlist
description: Your account's domain allowlist.
security:
- bearerAuth: []
operationId: listDomainAllowlist
tags:
- Domain rules
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
rule:
type: string
enum:
- block
- allow
domains:
type: array
items:
type: object
additionalProperties: true
count:
type: integer
'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'
'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'
post:
summary: Add to domain allowlist
description: Adding to one list takes the entry off the other. Needs a member key.
security:
- bearerAuth: []
operationId: addDomainAllowlist
tags:
- Domain rules
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
domains:
type: array
items:
type: string
note:
type: string
required:
- domains
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'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'
'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'
delete:
summary: Remove from domain allowlist
description: Needs a member key.
security:
- bearerAuth: []
operationId: removeDomainAllowlist
tags:
- Domain rules
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
domains:
type: array
items:
type: string
required:
- domains
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'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'
'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/domains/check:
post:
summary: Check one domain against your rules
description: Which of your rules apply, without running a verification.
security:
- bearerAuth: []
operationId: checkDomainRules
tags:
- Domain rules
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
domain:
type: string
required:
- domain
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'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'
'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:
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.
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