Debit My Data Identities API
Issued DID-LLMs, signed credentials, entitlements and DID-LLM documents.
Issued DID-LLMs, signed credentials, entitlements and DID-LLM documents.
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-identities-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 Identities API
version: 0.55.27
description: 'Operations tagged identities 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: Identities
description: Issued DID-LLMs, signed credentials, entitlements and DID-LLM documents.
paths:
/v1/dids/{identity_id}:
get:
tags:
- Identities
summary: An issued DebitMyData identity
operationId: identity_v1_dids__identity_id__get
parameters:
- name: identity_id
in: path
required: true
schema:
type: string
pattern: ^(dmd_identity_[0-9A-HJKMNP-TV-Z]{26}|did:web:[^/?#\s]{1,253}:agents:[0-9A-HJKMNP-TV-Z]{26})$
description: The identity ID (`dmd_identity_...`) or the DID-LLM itself (`did:web:api.debitmydata.io:agents:...`).
title: Identity Id
description: The identity ID (`dmd_identity_...`) or the DID-LLM itself (`did:web:api.debitmydata.io:agents:...`).
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/IdentityRecord'
'404':
description: Unknown identity.
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/dids/verifications:
post:
tags:
- Identities
summary: Verify an agent by its DID-LLM (and that it controls it)
description: 'Send `did` (and `audience`, your name) for the DID-LLM''s status, its signed credential
checked against DebitMyData''s issuer key, and a `challenge`. Have the agent sign the
challenge''s message with its DID-LLM''s key or wallet, then send `did`, `message` and
`signature`: `proof` says whether the signature is the owner''s. Check that `proof.nonce` is
the nonce you were given.'
operationId: verify_v1_dids_verifications_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/VerificationRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/Verification'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/credentials/{credential_id}:
get:
tags:
- Identities
summary: A signed registration credential (verify it with the issuer DID document)
operationId: credential_v1_credentials__credential_id__get
parameters:
- name: credential_id
in: path
required: true
schema:
type: string
pattern: ^dmd_credential_[0-9A-HJKMNP-TV-Z]{26}$
title: Credential Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CredentialRecord'
'404':
description: Unknown credential.
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/entitlements/{identity_id}:
get:
tags:
- Identities
summary: Entitlements of a DID-LLM, such as its BottyBotty tier (and any end of period)
operationId: entitlements_v1_entitlements__identity_id__get
parameters:
- name: identity_id
in: path
required: true
schema:
type: string
pattern: ^(dmd_identity_[0-9A-HJKMNP-TV-Z]{26}|did:web:[^/?#\s]{1,253}:agents:[0-9A-HJKMNP-TV-Z]{26})$
description: The identity ID (`dmd_identity_...`) or the DID-LLM itself (`did:web:api.debitmydata.io:agents:...`).
title: Identity Id
description: The identity ID (`dmd_identity_...`) or the DID-LLM itself (`did:web:api.debitmydata.io:agents:...`).
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/Entitlements'
'404':
description: Unknown identity.
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/agents/{suffix}/did.json:
get:
tags:
- Identities
summary: DID-LLM document of an issued identity (did:web)
operationId: agent_document_agents__suffix__did_json_get
parameters:
- name: suffix
in: path
required: true
schema:
type: string
pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
title: Suffix
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'404':
description: Unknown DID-LLM.
'410':
description: DID-LLM deactivated.
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/.well-known/did.json:
get:
tags:
- Identities
summary: 'Issuer DID document: the public key that signs DebitMyData credentials'
operationId: issuer_document__well_known_did_json_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'404':
description: Credential issuance is not enabled.
components:
schemas:
VerificationRequest:
properties:
did:
type: string
maxLength: 300
minLength: 1
title: Did
description: The DID-LLM to verify
audience:
anyOf:
- type: string
maxLength: 300
- type: 'null'
title: Audience
description: Who verifies (your name or site), written in the challenge
message:
anyOf:
- type: string
maxLength: 2000
- type: 'null'
title: Message
description: The challenge message the agent signed
signature:
anyOf:
- type: string
maxLength: 20000
- type: 'null'
title: Signature
description: 'The agent''s signature of the message: its DID-LLM key''s, or 0x... from its wallet'
type: object
required:
- did
title: VerificationRequest
ProofResult:
properties:
signature_valid:
type: boolean
title: Signature Valid
signed_with:
anyOf:
- type: string
- type: 'null'
title: Signed With
description: key or wallet
method:
anyOf:
- type: string
- type: 'null'
title: Method
audience:
anyOf:
- type: string
- type: 'null'
title: Audience
description: 'The challenge''s To: line'
nonce:
anyOf:
- type: string
- type: 'null'
title: Nonce
description: 'The challenge''s nonce: check it is the one you were given'
expires_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Expires At
reason:
anyOf:
- type: string
- type: 'null'
title: Reason
type: object
required:
- signature_valid
title: ProofResult
Challenge:
properties:
message:
type: string
title: Message
description: What the agent signs, exactly
nonce:
type: string
title: Nonce
expires_at:
type: string
format: date-time
title: Expires At
next:
type: string
title: Next
type: object
required:
- message
- nonce
- expires_at
- next
title: Challenge
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
dmd_gateway__api__identities__Owner:
properties:
type:
type: string
title: Type
description: key (Ed25519) or wallet (EVM)
value:
type: string
title: Value
type: object
required:
- type
- value
title: Owner
IdentityRecord:
properties:
identity_id:
type: string
title: Identity Id
did:
type: string
title: Did
status:
type: string
title: Status
display_name:
type: string
title: Display Name
participant_type:
type: string
title: Participant Type
controller_public_key:
anyOf:
- type: string
- type: 'null'
title: Controller Public Key
controller_wallet:
anyOf:
- type: string
- type: 'null'
title: Controller Wallet
description: The controller wallet, as `eip155:<chain id>:0x...`
did_document_url:
type: string
title: Did Document Url
registration_intent_id:
type: string
title: Registration Intent Id
credentials:
items:
type: string
type: array
title: Credentials
entitlements:
items:
type: string
type: array
title: Entitlements
created_at:
type: string
format: date-time
title: Created At
owner_changed_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Owner Changed At
description: When its owners last changed (an owner change signed by its owners); null if never.
type: object
required:
- identity_id
- did
- status
- display_name
- participant_type
- controller_public_key
- did_document_url
- registration_intent_id
- credentials
- entitlements
- created_at
title: IdentityRecord
EntitlementItem:
properties:
entitlement:
type: string
title: Entitlement
status:
type: string
title: Status
description: active, expired, suspended or revoked
granted_at:
type: string
format: date-time
title: Granted At
expires_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Expires At
description: 'End of the period bought (null: no end).'
source_credential_id:
anyOf:
- type: string
- type: 'null'
title: Source Credential Id
type: object
required:
- entitlement
- status
- granted_at
- source_credential_id
title: EntitlementItem
Entitlements:
properties:
subject_id:
type: string
title: Subject Id
did:
type: string
title: Did
entitlements:
items:
$ref: '#/components/schemas/EntitlementItem'
type: array
title: Entitlements
type: object
required:
- subject_id
- did
- entitlements
title: Entitlements
Verification:
properties:
did:
type: string
title: Did
verified:
type: boolean
title: Verified
description: Issued by DebitMyData, active, its credential signed by DebitMyData and, when a signature was sent, signed by its owner
found:
type: boolean
title: Found
reasons:
items:
type: string
type: array
title: Reasons
description: Why it is not verified (empty when it is)
checked_at:
type: string
format: date-time
title: Checked At
status:
anyOf:
- type: string
- type: 'null'
title: Status
display_name:
anyOf:
- type: string
- type: 'null'
title: Display Name
participant_type:
anyOf:
- type: string
- type: 'null'
title: Participant Type
issued_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Issued At
issuer:
anyOf:
- type: string
- type: 'null'
title: Issuer
credential:
anyOf:
- $ref: '#/components/schemas/VerifiedCredential'
- type: 'null'
controllers:
items:
$ref: '#/components/schemas/dmd_gateway__api__identities__Owner'
type: array
title: Controllers
default: []
entitlements:
items:
type: string
type: array
title: Entitlements
default: []
proof:
anyOf:
- $ref: '#/components/schemas/ProofResult'
- type: 'null'
challenge:
anyOf:
- $ref: '#/components/schemas/Challenge'
- type: 'null'
description: 'Without a signature: the message for the agent to sign'
type: object
required:
- did
- verified
- found
- reasons
- checked_at
title: Verification
VerifiedCredential:
properties:
credential_id:
type: string
title: Credential Id
url:
type: string
title: Url
status:
type: string
title: Status
description: active, suspended (with its DID-LLM) or revoked
issued_at:
type: string
format: date-time
title: Issued At
signature_valid:
type: boolean
title: Signature Valid
description: Signed with DebitMyData's issuer key
type: object
required:
- credential_id
- url
- status
- issued_at
- signature_valid
title: VerifiedCredential
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
CredentialRecord:
properties:
credential_id:
type: string
title: Credential Id
status:
type: string
title: Status
description: active, suspended (with its DID-LLM) or revoked
format:
type: string
title: Format
issued_at:
type: string
format: date-time
title: Issued At
revoked_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Revoked At
credential:
additionalProperties: true
type: object
title: Credential
type: object
required:
- credential_id
- status
- format
- issued_at
- revoked_at
- credential
title: CredentialRecord
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)