dnsofmoney-com Aliases API
The Aliases API from dnsofmoney-com — 8 operation(s) for aliases.
The Aliases API from dnsofmoney-com — 8 operation(s) for aliases.
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/dnsofmoney-com:dnsofmoney-com-aliases-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. 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: DNS://Money Aliases API
description: 'DNS://Money resolves a human-readable `pay:` name into the payment instructions for the rail it settles on, the way DNS resolves a domain into an IP address.
- **Free reads:** resolve a name without a key at the anonymous rate limit.
- **API key:** send `X-API-Key` for a higher rate limit. Get a free key at https://dnsofmoney.com/#request.
- **x402:** paid routes answer `402` with a challenge. Pay from your own wallet and retry with `X-PAYMENT` or `PAYMENT-SIGNATURE`.
DNS://Money is not a bank. The payer signs from their own wallet and the resolver never holds funds. Guides: https://dnsofmoney.com/docs/.
**OAuth 2.0:** an agent registers itself at `POST /oauth/register`, sends the key holder through the authorization code flow with PKCE S256, and calls `/resolve` and `/mcp` with a Bearer token. A token is read-only and short lived. It never reaches a route that moves money.'
termsOfService: https://dnsofmoney.com/terms.html
contact:
name: DNS://Money support
url: https://dnsofmoney.com/docs/
email: support@dnsofmoney.com
version: 0.3.0
servers:
- url: https://api.dnsofmoney.com
description: Production
tags:
- name: Aliases
description: 'Check, register and manage pay: names.'
paths:
/api/v1/aliases/available/{name}:
get:
summary: Alias Availability
description: 'Public availability check with founding spots remaining.
Returns exactly three states: available, taken, reserved.
Invalid format → 422.'
operationId: alias_availability_api_v1_aliases_available__name__get
parameters:
- name: name
in: path
required: true
schema:
type: string
title: Name
example: Example Agent
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Aliases
security: []
/api/v1/aliases:
post:
summary: Register Alias
description: 'Register a new alias. When tier=founding:
1. Validate FAS-1 format (Pydantic does this)
2. Check reserved → 409 ALIAS_RESERVED
3. Check taken → 409 ALIAS_TAKEN
4. Check wallet already registered → 409 WALLET_ALREADY_REGISTERED
5. Verify TX on-chain → 422 PAYMENT_VERIFICATION_FAILED
6. Check TX hash not reused → 409 TX_HASH_ALREADY_USED
7. Atomic cap check (advisory lock, see FAS-1 §10.2) → 409 CAP_EXCEEDED
8. INSERT alias
9. Fire-and-forget: FAS-1 memo TX + Redis counter'
operationId: register_alias_api_v1_aliases_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AliasCreate'
example:
alias_name: pay:example.name
xrpl_address: rawcpsYWnGTFQQGx19F7YguBXPXugA3ng7
founding_tx_hash: EA8159536A8D557492AF64421EBD78BC0C185A31DCC7CC4F1CAE553245BADBDA
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Aliases
security: []
/api/v1/aliases/check/{alias_name}:
get:
summary: Check Availability
description: Public availability check — no auth, no side effects.
operationId: check_availability_api_v1_aliases_check__alias_name__get
parameters:
- name: alias_name
in: path
required: true
schema:
type: string
title: Alias Name
example: pay:dnsofmoney
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
example:
data:
alias_name: pay:dnsofmoney
reason: alias_name must contain at least one dot segment (e.g. pay:name.identifier)
status: invalid
error_code: null
message: null
success: true
timestamp: '2026-11-05T01:04:04.832128Z'
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Aliases
security: []
/api/v1/aliases/{alias_name}:
get:
summary: Get Alias
description: Get alias details — requires auth.
operationId: get_alias_api_v1_aliases__alias_name__get
parameters:
- name: alias_name
in: path
required: true
schema:
type: string
title: Alias Name
example: pay:dnsofmoney
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Aliases
security:
- ApiKeyAuth: []
patch:
summary: Update Alias
description: 'Update mutable alias preferences for an alias the caller''s tenant owns.
The primary use is declaring a cross-currency DELIVER asset
(preferred_deliver_currency, e.g. "XRP") so a sender can pay in a different
XRPL-native asset (Tier 1). Schema validation rejects non-XRPL-native values.
Also declares the owner''s X handle (x_handle) as UNVERIFIED resolvable metadata.
Only fields present in the PATCH body are changed.'
operationId: update_alias_api_v1_aliases__alias_name__patch
parameters:
- name: alias_name
in: path
required: true
schema:
type: string
title: Alias Name
example: pay:dnsofmoney
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AliasUpdate'
example: {}
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Aliases
security:
- ApiKeyAuth: []
/api/v1/aliases/{alias_name}/endpoints:
post:
summary: Create Endpoint
description: Create payment endpoint — stub, returns 501.
operationId: create_endpoint_api_v1_aliases__alias_name__endpoints_post
parameters:
- name: alias_name
in: path
required: true
schema:
type: string
title: Alias Name
example: pay:dnsofmoney
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Aliases
security:
- ApiKeyAuth: []
/api/v1/aliases/{alias_name}/endpoints/{endpoint_id}:
delete:
summary: Delete Endpoint
description: Delete payment endpoint — stub, returns 501.
operationId: delete_endpoint_api_v1_aliases__alias_name__endpoints__endpoint_id__delete
parameters:
- name: alias_name
in: path
required: true
schema:
type: string
title: Alias Name
example: pay:dnsofmoney
- name: endpoint_id
in: path
required: true
schema:
type: string
format: uuid
title: Endpoint Id
example: 00000000-0000-4000-8000-000000000000
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Aliases
security:
- ApiKeyAuth: []
/api/v1/aliases/{alias_name}/evolve:
post:
summary: Evolve Alias
description: 'Evolve alias identity — mutate genome, re-render, re-upload, re-mint.
In XRPL_MODE=simulated: skip NFT ownership check.
Returns 202 immediately — evolution runs as background task.'
operationId: evolve_alias_api_v1_aliases__alias_name__evolve_post
parameters:
- name: alias_name
in: path
required: true
schema:
type: string
title: Alias Name
example: pay:dnsofmoney
- name: intensity
in: query
required: false
schema:
type: number
default: 1.0
title: Intensity
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Aliases
security:
- ApiKeyAuth: []
/api/v1/aliases/{alias_name}/vote:
post:
summary: Vote Alias
description: 'Vote for an alias genome in the current epoch.
Weight determined by NFT ownership (simulated: always 1).
Duplicate vote same epoch → 409.'
operationId: vote_alias_api_v1_aliases__alias_name__vote_post
parameters:
- name: alias_name
in: path
required: true
schema:
type: string
title: Alias Name
example: pay:dnsofmoney
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Aliases
security:
- ApiKeyAuth: []
components:
headers:
Retry-After:
description: Seconds to wait before the next request.
schema:
type: integer
X-RateLimit-Reset:
description: Unix time when the window resets.
schema:
type: integer
X-RateLimit-Remaining:
description: Requests left in the current window.
schema:
type: integer
X-RateLimit-Limit:
description: Requests allowed in the current window.
schema:
type: integer
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
AliasCreate:
properties:
alias_name:
type: string
maxLength: 128
minLength: 5
title: Alias Name
xrpl_address:
type: string
maxLength: 34
minLength: 25
title: Xrpl Address
founding_tx_hash:
type: string
maxLength: 64
minLength: 64
title: Founding Tx Hash
preferred_rail:
anyOf:
- type: string
maxLength: 32
- type: 'null'
title: Preferred Rail
type: object
required:
- alias_name
- xrpl_address
- founding_tx_hash
title: AliasCreate
description: Request body for POST /api/v1/aliases/register.
ErrorDetail:
type: object
required:
- detail
properties:
detail:
type: string
example:
detail: Invalid or missing API key
RateLimitError:
type: object
required:
- error
- limit
- reset_at
properties:
error:
type: string
const: rate_limit_exceeded
limit:
type: integer
reset_at:
type: string
format: date-time
example:
error: rate_limit_exceeded
limit: 60
reset_at: '2026-11-04T00:01:00+00:00'
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
AliasUpdate:
properties:
display_name:
anyOf:
- type: string
maxLength: 256
- type: 'null'
title: Display Name
preferred_rail:
anyOf:
- type: string
maxLength: 32
- type: 'null'
title: Preferred Rail
xrpl_address:
anyOf:
- type: string
maxLength: 64
- type: 'null'
title: Xrpl Address
preferred_deliver_currency:
anyOf:
- type: string
maxLength: 8
- type: 'null'
title: Preferred Deliver Currency
deliver_as:
anyOf:
- type: string
maxLength: 96
- type: 'null'
title: Deliver As
x_handle:
anyOf:
- type: string
maxLength: 16
- type: 'null'
title: X Handle
type: object
title: AliasUpdate
description: PATCH body for alias updates. All fields optional.
responses:
RateLimited:
description: Rate limit exceeded.
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitError'
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
Retry-After:
$ref: '#/components/headers/Retry-After'
Unauthorized:
description: The API key is missing or invalid.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorDetail'
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
description: API key.
X402Payment:
type: apiKey
in: header
name: X-PAYMENT
description: x402 v1 payment payload. Answer the 402 challenge with this header.
X402PaymentSignature:
type: apiKey
in: header
name: PAYMENT-SIGNATURE
description: x402 v2 payment payload. Answer the 402 challenge with this header.
XappBearer:
type: http
scheme: bearer
description: Session JWT from POST /xapp/ott.
AdminKey:
type: apiKey
in: header
name: x-admin-key
description: Operator key.
OAuth2:
type: oauth2
description: Read-only delegated access. PKCE S256 is required.
flows:
authorizationCode:
authorizationUrl: https://api.dnsofmoney.com/oauth/authorize
tokenUrl: https://api.dnsofmoney.com/oauth/token
scopes:
resolve:read: 'Resolve pay: names and call the read-only MCP tools.'
x-provenance:
method: harvested
publisher: DNS://Money
source: https://api.dnsofmoney.com/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)