Debit My Data Discovery API
What DebitMyData offers and how agents can pay.
Operations 4
GET
/v1/prices/dmd-usd
DMD/USD reference price (DMD: the DebitMyData coin) and how it was computed
#
What DebitMyData offers and how agents can pay.
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/debitmydata:debitmydata-discovery-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: Debitmydata Discovery API
version: 0.55.27
description: 'Operations tagged discovery across 2 of this provider''s published API definitions: debitmydata-openapi.json, debitmydata-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Discovery
description: What DebitMyData offers and how agents can pay.
paths:
/v1/discovery:
get:
tags:
- Discovery
summary: Describe DebitMyData services
operationId: discovery_v1_discovery_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/Discovery'
/v1/payment-options:
get:
tags:
- Discovery
summary: Payment options currently enabled for a service
operationId: payment_options_v1_payment_options_get
parameters:
- name: service
in: query
required: false
schema:
type: string
maxLength: 64
description: A service or donation ID from /v1/discovery
default: did_registration
title: Service
description: A service or donation ID from /v1/discovery
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PaymentOptions'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/prices/dmd-usd:
get:
tags:
- Discovery
summary: 'DMD/USD reference price (DMD: the DebitMyData coin) and how it was computed'
operationId: dmd_price_v1_prices_dmd_usd_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/DmdPrice'
'503':
description: No price has been computed yet.
/v1/policies:
get:
tags:
- Discovery
summary: 'The policies that apply to registrations: terms, privacy, payments, refunds…'
operationId: policy_list_v1_policies_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PolicyList'
components:
schemas:
Offer:
properties:
id:
type: string
title: Id
name:
anyOf:
- type: string
- type: 'null'
title: Name
price_text:
anyOf:
- type: string
- type: 'null'
title: Price Text
product_url:
anyOf:
- type: string
- type: 'null'
title: Product Url
image_url:
anyOf:
- type: string
- type: 'null'
title: Image Url
title:
type: string
title: Title
description:
type: string
title: Description
method:
type: string
title: Method
path:
type: string
title: Path
resource:
type: string
title: Resource
commercial_price:
$ref: '#/components/schemas/Money'
quote_required:
type: boolean
title: Quote Required
accepting_payments:
type: boolean
title: Accepting Payments
payment_options_url:
type: string
title: Payment Options Url
endpoints:
additionalProperties:
$ref: '#/components/schemas/Endpoint'
type: object
title: Endpoints
type: object
required:
- id
- title
- description
- method
- path
- resource
- commercial_price
- quote_required
- accepting_payments
- payment_options_url
- endpoints
title: Offer
PaymentOptions:
properties:
service:
type: string
title: Service
commercial_fee:
anyOf:
- $ref: '#/components/schemas/Money'
- type: 'null'
donation_amount:
anyOf:
- $ref: '#/components/schemas/AmountRange'
- type: 'null'
supported_payment_options:
items:
$ref: '#/components/schemas/PaymentOption'
type: array
title: Supported Payment Options
notice:
type: string
title: Notice
type: object
required:
- service
- commercial_fee
- supported_payment_options
- notice
title: PaymentOptions
PolicyList:
properties:
terms_version:
type: string
title: Terms Version
description: The terms version that new quotes name.
policies:
items:
$ref: '#/components/schemas/PolicySummary'
type: array
title: Policies
type: object
required:
- terms_version
- policies
title: PolicyList
AmountRange:
properties:
currency:
type: string
title: Currency
minimum:
type: string
title: Minimum
maximum:
type: string
title: Maximum
type: object
required:
- currency
- minimum
- maximum
title: AmountRange
DonationOffer:
properties:
id:
type: string
title: Id
title:
type: string
title: Title
description:
type: string
title: Description
method:
type: string
title: Method
path:
type: string
title: Path
resource:
type: string
title: Resource
amount:
$ref: '#/components/schemas/AmountRange'
accepting_payments:
type: boolean
title: Accepting Payments
payment_options_url:
type: string
title: Payment Options Url
endpoints:
additionalProperties:
$ref: '#/components/schemas/Endpoint'
type: object
title: Endpoints
type: object
required:
- id
- title
- description
- method
- path
- resource
- amount
- accepting_payments
- payment_options_url
- endpoints
title: DonationOffer
description: 'A donation: the donor chooses the amount within the range, and pays in one call.'
Money:
properties:
currency:
type: string
title: Currency
amount:
type: string
title: Amount
type: object
required:
- currency
- amount
title: Money
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
Endpoint:
properties:
method:
type: string
title: Method
url:
type: string
title: Url
available:
type: boolean
title: Available
type: object
required:
- method
- url
- available
title: Endpoint
DmdPrice:
properties:
asset:
type: string
title: Asset
network:
type: string
title: Network
usd_per_unit:
type: string
title: Usd Per Unit
units_per_usd:
type: string
title: Units Per Usd
method:
type: string
title: Method
price_from:
type: string
title: Price From
description: mining_cost, or minimum when the minimum rate is higher than the mining cost.
mining_cost_usd_per_unit:
type: string
title: Mining Cost Usd Per Unit
description: What it costs to mine 1 DMD (DebitMyData coin).
minimum_usd_per_unit:
anyOf:
- type: string
- type: 'null'
title: Minimum Usd Per Unit
description: DebitMyData's minimum rate until DMD has a market price; null if none.
minimum_approved_on:
anyOf:
- type: string
format: date
- type: 'null'
title: Minimum Approved On
observed_at:
type: string
format: date-time
title: Observed At
age_seconds:
type: integer
title: Age Seconds
fresh:
type: boolean
title: Fresh
description: Recent enough to be used in a quote.
used_for_quotes:
type: boolean
title: Used For Quotes
description: Whether DMD quotes on this server use it.
parameters_review_overdue:
type: boolean
title: Parameters Review Overdue
description: The approved electricity price and machine efficiency are past their quarterly review.
note:
type: string
title: Note
inputs:
additionalProperties: true
type: object
title: Inputs
type: object
required:
- asset
- network
- usd_per_unit
- units_per_usd
- method
- price_from
- mining_cost_usd_per_unit
- minimum_usd_per_unit
- observed_at
- age_seconds
- fresh
- used_for_quotes
- parameters_review_overdue
- note
- inputs
title: DmdPrice
PaymentOption:
properties:
id:
type: string
title: Id
name:
type: string
title: Name
asset:
type: string
title: Asset
asset_id:
anyOf:
- type: string
- type: 'null'
title: Asset Id
token_contract:
anyOf:
- type: string
- type: 'null'
title: Token Contract
decimals:
type: integer
title: Decimals
network:
type: string
title: Network
payment_protocol:
type: string
title: Payment Protocol
scheme:
anyOf:
- type: string
- type: 'null'
title: Scheme
transfer_method:
anyOf:
- type: string
- type: 'null'
title: Transfer Method
wallet_compatibility:
items:
type: string
type: array
title: Wallet Compatibility
status:
$ref: '#/components/schemas/RailState'
type: object
required:
- id
- name
- asset
- asset_id
- token_contract
- decimals
- network
- payment_protocol
- scheme
- transfer_method
- wallet_compatibility
- status
title: PaymentOption
PolicySummary:
properties:
name:
type: string
title: Name
description: e.g. refunds
title:
type: string
title: Title
version:
type: string
format: date
title: Version
description: The date of this version of the text.
status:
type: string
title: Status
description: draft (awaiting approval) or approved
summary:
type: string
title: Summary
url:
type: string
title: Url
markdown_url:
type: string
title: Markdown Url
sha256:
type: string
title: Sha256
description: SHA-256 of the Markdown text, to tell versions apart.
type: object
required:
- name
- title
- version
- status
- summary
- url
- markdown_url
- sha256
title: PolicySummary
Discovery:
properties:
service:
type: string
title: Service
version:
type: string
title: Version
offers:
items:
$ref: '#/components/schemas/Offer'
type: array
title: Offers
donations:
items:
$ref: '#/components/schemas/DonationOffer'
type: array
title: Donations
mcp_url:
anyOf:
- type: string
- type: 'null'
title: Mcp Url
credential_issuer:
anyOf:
- $ref: '#/components/schemas/CredentialIssuer'
- type: 'null'
policy_urls:
additionalProperties:
type: string
type: object
title: Policy Urls
keywords:
items:
type: string
type: array
title: Keywords
type: object
required:
- service
- version
- offers
- donations
- mcp_url
- credential_issuer
- policy_urls
- keywords
title: Discovery
CredentialIssuer:
properties:
did:
type: string
title: Did
did_document_url:
type: string
title: Did Document Url
type: object
required:
- did
- did_document_url
title: CredentialIssuer
RailState:
type: string
enum:
- enabled
- disabled
- killed
title: RailState
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
x-refined-from:
- debitmydata-openapi.json
- debitmydata-openapi.json
x-provenance:
method: harvested
publisher: Debit My Data
source: https://id.debitmydata.io/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)