Debit My Data Directory API

The directory API from Debit My Data, for directory.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

GET /v1/directory The DID-LLM directory: DID-LLMs whose owners chose to be listed (newest first) #
GET /v1/directory/{identity} One DID-LLM's directory listing #
POST /v1/directory/{identity}/challenges Get the message the owner signs to list a DID-LLM, change its listing or remove… #
GET /v1/directory/challenges/{challenge_id} A directory listing message again, by its ID (for tools that sign it) #
POST /v1/directory/{identity}/proofs Send the signed listing message: the listing change applies as it was signed #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/debitmydata:debitmydata-directory-api"
All apis
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.

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

debitmydata-directory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Debitmydata Directory API
  version: 0.55.27
  description: 'Operations tagged directory 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: Directory
paths:
  /v1/directory:
    get:
      tags:
      - Directory
      summary: 'The DID-LLM directory: DID-LLMs whose owners chose to be listed (newest first)'
      operationId: listings_v1_directory_get
      parameters:
      - name: q
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 80
          - type: 'null'
          description: Words to find in the name, specialty, description, owner, region or country.
          title: Q
        description: Words to find in the name, specialty, description, owner, region or country.
      - name: type
        in: query
        required: false
        schema:
          anyOf:
          - enum:
            - avatar
            - robot
            - sentient
            type: string
          - type: 'null'
          description: Only this type.
          title: Type
        description: Only this type.
      - name: cursor
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 200
          - type: 'null'
          title: Cursor
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 50
          minimum: 1
          default: 24
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DirectoryPage'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/directory/{identity}:
    get:
      tags:
      - Directory
      summary: One DID-LLM's directory listing
      operationId: listing_v1_directory__identity__get
      parameters:
      - name: identity
        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 DID-LLM (`did:web:api.debitmydata.io:agents:...`) or its identity ID (`dmd_identity_...`).
          title: Identity
        description: The DID-LLM (`did:web:api.debitmydata.io:agents:...`) or its identity ID (`dmd_identity_...`).
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DirectoryEntry'
        '404':
          description: Not in the directory (never listed, removed or hidden).
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/directory/{identity}/challenges:
    post:
      tags:
      - Directory
      summary: Get the message the owner signs to list a DID-LLM, change its listing or remove…
      operationId: create_challenge_v1_directory__identity__challenges_post
      parameters:
      - name: identity
        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 DID-LLM (`did:web:api.debitmydata.io:agents:...`) or its identity ID (`dmd_identity_...`).
          title: Identity
        description: The DID-LLM (`did:web:api.debitmydata.io:agents:...`) or its identity ID (`dmd_identity_...`).
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListingChallengeRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListingChallenge'
        '404':
          description: Unknown DID-LLM.
        '409':
          description: Not active (listing), not listed (removal), or no such signer.
        '422':
          description: The profile is refused (`error.field` says which field).
        '429':
          description: Too many open listing messages for this DID-LLM.
  /v1/directory/challenges/{challenge_id}:
    get:
      tags:
      - Directory
      summary: A directory listing message again, by its ID (for tools that sign it)
      operationId: get_challenge_v1_directory_challenges__challenge_id__get
      parameters:
      - name: challenge_id
        in: path
        required: true
        schema:
          type: string
          pattern: ^dmd_challenge_[0-9A-HJKMNP-TV-Z]{26}$
          title: Challenge Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListingChallenge'
        '404':
          description: Unknown listing message.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/directory/{identity}/proofs:
    post:
      tags:
      - Directory
      summary: 'Send the signed listing message: the listing change applies as it was signed'
      operationId: submit_proof_v1_directory__identity__proofs_post
      parameters:
      - name: identity
        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 DID-LLM (`did:web:api.debitmydata.io:agents:...`) or its identity ID (`dmd_identity_...`).
          title: Identity
        description: The DID-LLM (`did:web:api.debitmydata.io:agents:...`) or its identity ID (`dmd_identity_...`).
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProofRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListingProofResponse'
        '404':
          description: Unknown DID-LLM or listing message.
        '409':
          description: Message already answered, or the DID-LLM is not active.
        '410':
          description: Message expired.
        '422':
          description: Wrong or malformed signature (a wrong one uses up the message).
        '503':
          description: A smart wallet's network cannot be asked right now (try again).
components:
  schemas:
    DirectoryPage:
      properties:
        entries:
          items:
            $ref: '#/components/schemas/DirectoryEntry'
          type: array
          title: Entries
        next_cursor:
          anyOf:
          - type: string
          - type: 'null'
          title: Next Cursor
          description: Give it as `cursor` for the next page.
      type: object
      required:
      - entries
      - next_cursor
      title: DirectoryPage
    ListingChallengeRequest:
      properties:
        listed:
          type: boolean
          title: Listed
          description: 'true: list the DID-LLM with this profile (or change it); false: remove it from the directory.'
          default: true
        profile:
          anyOf:
          - $ref: '#/components/schemas/ListingProfile'
          - type: 'null'
          description: The public profile (needed when `listed` is true).
        controller_type:
          anyOf:
          - type: string
            enum:
            - ed25519
            - eip155
          - type: 'null'
          title: Controller Type
          description: 'Who signs: ed25519 (the owner key) or eip155 (the owner wallet). Left out: the key if the DID-LLM has one, else the wallet.'
      additionalProperties: false
      type: object
      title: ListingChallengeRequest
      examples:
      - listed: true
        profile:
          country: USA
          description: Finds and summarizes papers on renewable energy, with sources for every claim.
          entity_type: robot
          specialty: Research assistant
      - listed: false
    DirectoryEntry:
      properties:
        did:
          type: string
          title: Did
        identity_id:
          type: string
          title: Identity Id
        name:
          type: string
          title: Name
          description: The DID-LLM's display name.
        participant_type:
          type: string
          title: Participant Type
          description: What the DID-LLM was registered for.
        entity_type:
          type: string
          title: Entity Type
          description: avatar, robot or sentient
        specialty:
          type: string
          title: Specialty
        description:
          type: string
          title: Description
        owner_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Owner Name
        region:
          anyOf:
          - type: string
          - type: 'null'
          title: Region
        country:
          anyOf:
          - type: string
          - type: 'null'
          title: Country
        created_on:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Created On
          description: When the entity itself was created.
        listed_at:
          type: string
          format: date-time
          title: Listed At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        entry_url:
          type: string
          title: Entry Url
          description: This listing on the directory page.
        did_document_url:
          type: string
          title: Did Document Url
        identity_url:
          type: string
          title: Identity Url
      type: object
      required:
      - did
      - identity_id
      - name
      - participant_type
      - entity_type
      - specialty
      - description
      - owner_name
      - region
      - country
      - created_on
      - listed_at
      - updated_at
      - entry_url
      - did_document_url
      - identity_url
      title: DirectoryEntry
    ListingProfile:
      properties:
        entity_type:
          type: string
          enum:
          - avatar
          - robot
          - sentient
          title: Entity Type
        specialty:
          type: string
          maxLength: 500
          title: Specialty
          description: What it does, e.g. `Customer support` (3-120 characters).
        description:
          type: string
          maxLength: 2000
          title: Description
          description: 'What it is and what it is for: plain text, 20-700 characters, 100 words at most, no links.'
        owner_name:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Owner Name
          description: 'Optional, public: the owner''s name.'
        region:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Region
          description: 'Optional: state or region, e.g. `California`.'
        country:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Country
          description: 'Optional: e.g. `USA`.'
        created_on:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Created On
          description: 'Optional: when the entity was created (YYYY-MM-DD).'
      additionalProperties: false
      type: object
      required:
      - entity_type
      - specialty
      - description
      title: ListingProfile
    ListingChallenge:
      properties:
        challenge_id:
          type: string
          title: Challenge Id
        did:
          type: string
          title: Did
        listed:
          type: boolean
          title: Listed
          description: 'What signing does: list (true) or remove (false).'
        status:
          type: string
          title: Status
          description: open, verified, rejected or expired
        controller:
          type: string
          title: Controller
        message:
          type: string
          title: Message
          description: Sign exactly this text (UTF-8).
        signature_algorithm:
          type: string
          title: Signature Algorithm
        signature_encoding:
          type: string
          title: Signature Encoding
        expires_at:
          type: string
          format: date-time
          title: Expires At
        proof_url:
          type: string
          title: Proof Url
      type: object
      required:
      - challenge_id
      - did
      - listed
      - status
      - controller
      - message
      - signature_algorithm
      - signature_encoding
      - expires_at
      - proof_url
      title: ListingChallenge
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ListingProofResponse:
      properties:
        proof_id:
          type: string
          title: Proof Id
        did:
          type: string
          title: Did
        status:
          type: string
          title: Status
        listed:
          type: boolean
          title: Listed
        shown:
          type: boolean
          title: Shown
          description: Whether the directory shows it now (false when removed, or when an operator hid it).
        entry:
          anyOf:
          - $ref: '#/components/schemas/DirectoryEntry'
          - type: 'null'
      type: object
      required:
      - proof_id
      - did
      - status
      - listed
      - shown
      - entry
      title: ListingProofResponse
    ProofRequest:
      properties:
        challenge_id:
          type: string
          pattern: ^dmd_challenge_[0-9A-HJKMNP-TV-Z]{26}$
          title: Challenge Id
          description: '`challenge_id` from the controller challenge.'
        signature:
          type: string
          maxLength: 16400
          minLength: 86
          title: Signature
          description: 'Signature of the challenge message. A public key: Ed25519 signature of the message (UTF-8), base64url/base64/hex, about 86 characters. A wallet: what the wallet''s personal_sign / signMessage returns, 0x... (132 characters for an ordinary wallet, longer for a smart wallet). Not the x402 payment (the long value starting with eyJ).'
      additionalProperties: false
      type: object
      required:
      - challenge_id
      - signature
      title: ProofRequest
      examples:
      - challenge_id: dmd_challenge_...
        signature: <base64url>
    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)