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:
description: 'Email Security and Discoverability scores for any domain, with the exact fixes. No account or key is needed. Identical scans inside 15 minutes are served from cache. Budget per caller: 120 requests a minute, 1200 an hour, 10000 a day; assistants share one egress address, so this covers everyone behind it. Fresh DNS-hitting scans are capped at 30 per domain per hour across all clients, and one caller may trigger fresh scans for at most 120 distinct domains an hour. Over a cap, a cached result up to 24 hours old is returned where one exists; otherwise the call returns 429 with code RATE_LIMITED, flagged retryable, carrying a request_id. MCP callers are never IP-blocked.'
title: AstraVerify Domain Trust Verify API
version: 1.0.0
servers:
- url: https://astraverify.com
security:
- {}
- apiKey: []
tags:
- name: Verify
paths:
/api/v1/verify:
post:
operationId: verifyFix
requestBody:
content:
application/json:
schema:
properties:
component:
enum:
- crawl
- plumbing
- metadata
- structured
- answer
type: string
domain:
type: string
required:
- domain
- component
type: object
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/DiscoverabilityResult'
description: Updated discoverability result
'400':
$ref: '#/components/responses/InvalidInput'
'429':
$ref: '#/components/responses/RateLimited'
summary: Re-check one discoverability component after a fix
tags:
- Verify
components:
schemas:
Component:
description: One scored area
properties:
key:
type: string
max:
type: integer
name:
type: string
points:
type: integer
summary:
type: string
type: object
Recommendation:
properties:
fix:
$ref: '#/components/schemas/Fix'
id:
type: string
scan:
enum:
- email
- discoverability
type: string
severity:
enum:
- critical
- important
- info
type: string
title:
type: string
why:
type: string
type: object
Error:
properties:
error:
properties:
code:
description: Stable machine-readable code
enum:
- DISABLED
- DNS_NXDOMAIN
- DNS_SERVFAIL
- INTERNAL_ERROR
- INVALID_INPUT
- NOT_READY
- RATE_LIMITED
- SCAN_TIMEOUT
- SCHEMA_VIOLATION
- UPSTREAM_ERROR
type: string
domain:
type: string
message:
type: string
request_id:
description: Quote this to hi@astraverify.com
type: string
retryable:
description: true when the same call may succeed later
type: boolean
stage:
description: Where it failed, for support
type: string
type: object
required:
- error
type: object
Fix:
description: The record, tag or file to add
properties:
kind:
type: string
label:
type: string
name:
type: string
type:
type: string
value:
type: string
where:
type: string
type: object
DiscoverabilityResult:
properties:
cache_age_seconds:
type: integer
capped:
type: boolean
components:
items:
$ref: '#/components/schemas/Component'
type: array
domain:
type: string
grade:
type: string
held_back:
description: Points the cap holds back; components add up to score + held_back
type: integer
open_fixes:
type: integer
raw:
type: integer
recommendations:
items:
$ref: '#/components/schemas/Recommendation'
type: array
report_url:
type: string
score:
type: integer
verdict:
type: string
type: object
responses:
RateLimited:
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: 'RATE_LIMITED — over the request budget, or the domain is over its fresh-scan cap. Retryable: back off and repeat. Where a recent result exists this returns 200 with a cached body instead of this error.'
InvalidInput:
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: INVALID_INPUT — the domain is not a domain. Not retryable.
securitySchemes:
apiKey:
description: Optional. An AstraVerify API key (from your /my page) lifts the anonymous fresh-scan limits.
scheme: bearer
type: http