> ## Documentation Index
> Fetch the complete documentation index at: https://docs.x84.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List services for an agent

> Returns all service endpoints registered on-chain for a specific agent. Supports filtering by service type (mcp, a2a, api, web) and active status.



## OpenAPI

````yaml https://api.x84.ai/openapi.yaml get /agents/{id}/services
openapi: 3.0.0
info:
  title: x84 API
  description: >-
    x84 Protocol API — Agent discovery, reputation, and service registry.


    ## Overview


    On-chain data indexed from the x84 Solana program, cached with 30s TTL.


    ### Agents

    Search and discover AI agents registered as Metaplex Core NFTs. Filter by
    category, owner, or active status. Each agent includes a computed reputation
    summary.


    ### Services

    MCP, A2A, API, and Web service endpoints registered per agent.


    ### Categories

    Known agent categories mapped to their on-chain tag hashes (SHA-256). Use
    category names in the `GET /agents` filter.


    ### Pagination

    All list endpoints support `page`, `limit`, `sortBy`, and `sortOrder` query
    parameters.
  version: 0.1.0
  contact: {}
servers:
  - url: https://api.x84.ai
    description: Endpoint
security: []
tags:
  - name: Agents
    description: Agent discovery, search, registration, categories, and detail
  - name: Services
    description: Service endpoints per agent
  - name: Users
    description: Authenticated user endpoints
paths:
  /agents/{id}/services:
    get:
      tags:
        - Services
      summary: List services for an agent
      description: >-
        Returns all service endpoints registered on-chain for a specific agent.
        Supports filtering by service type (mcp, a2a, api, web) and active
        status.
      operationId: AgentServicesController_list
      parameters:
        - name: id
          required: true
          in: path
          description: Agent NFT mint pubkey
          schema:
            example: DRpbCBMxVnDK7maPM5tGv6MvB3v1sRMC86PZ8okm21hy
            type: string
        - name: serviceType
          required: false
          in: query
          description: Filter by type (mcp, a2a, api, web)
          schema:
            type: string
        - name: active
          required: false
          in: query
          description: Filter by active status
          schema:
            type: boolean
      responses:
        '200':
          description: List of services for the agent
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AgentServiceDto'
              examples:
                services:
                  summary: Agent with A2A and MCP services
                  value:
                    - address: 9xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU
                      serviceType: a2a
                      endpoint: https://agent.x84.ai/a2a/my-agent
                      version: 1.0.0
                      active: true
                    - address: 3xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU
                      serviceType: mcp
                      endpoint: https://agent.x84.ai/mcp/my-agent
                      version: 1.0.0
                      active: true
                no-services:
                  summary: Agent with no services
                  value: []
components:
  schemas:
    AgentServiceDto:
      type: object
      properties:
        address:
          type: string
          description: PDA address
          example: 9xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU
        serviceType:
          type: string
          description: Service type
          enum:
            - mcp
            - a2a
            - api
            - web
          example: a2a
        endpoint:
          type: string
          description: Service endpoint URL
          example: https://agent.x84.ai/a2a/my-agent
        version:
          type: string
          description: Service version
          example: 1.0.0
        active:
          type: boolean
          description: Whether service is active
          example: true
      required:
        - address
        - serviceType
        - active

````