eBay · Capability

eBay Charity API — Charity_org

eBay Charity API — Charity_org. 2 operations. Lead operation: Charity_org. Self-contained Naftiko capability covering one Ebay business surface.

Run with Naftiko EbayCharity_org

What You Can Do

GET
Getcharityorgs — This call is used to search for supported charitable organizations. It allows users to search for a specific charitable organization, or for multiple charitable organizations, from a particular charitable domain and/or geographical region,
/v1/charity-org
GET
Getcharityorg — This call is used to retrieve detailed information about supported charitable organizations. It allows users to retrieve the details for a specific charitable organization using its charity organization ID.
/v1/charity-org/{charity-org-id}

MCP Tools

this-call-is-used-search

This call is used to search for supported charitable organizations. It allows users to search for a specific charitable organization, or for multiple charitable organizations, from a particular charitable domain and/or geographical region,

read-only idempotent
this-call-is-used-retrieve

This call is used to retrieve detailed information about supported charitable organizations. It allows users to retrieve the details for a specific charitable organization using its charity organization ID.

read-only idempotent

Capability Spec

charity-charity-org.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: eBay Charity API — Charity_org
  description: 'eBay Charity API — Charity_org. 2 operations. Lead operation: Charity_org. Self-contained Naftiko capability
    covering one Ebay business surface.'
  tags:
  - Ebay
  - Charity_org
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    EBAY_API_KEY: EBAY_API_KEY
capability:
  consumes:
  - type: http
    namespace: charity-charity-org
    baseUri: https://api.ebay.com{basePath}
    description: eBay Charity API — Charity_org business capability. Self-contained, no shared references.
    resources:
    - name: charity_org
      path: /charity_org
      operations:
      - name: getcharityorgs
        method: GET
        description: 'This call is used to search for supported charitable organizations. It allows users to search for a
          specific charitable organization, or for multiple charitable organizations, from a particular charitable domain
          and/or geographical region, '
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: string
          description: The number of items, from the result set, returned in a single page.<br /><br /><b>Valid Values:</b>
            <code>1-100</code><br /><br /><b>Default:</b> <code>20</cod
        - name: offset
          in: query
          type: string
          description: The number of items that will be skipped in the result set. This is used with the <b>limit</b> field
            to control the pagination of the output.<br /><br />For exa
        - name: q
          in: query
          type: string
          description: A query string that matches the keywords in name, mission statement, or description.
        - name: registration_ids
          in: query
          type: string
          description: 'A comma-separated list of charitable organization registration IDs.<br /><br /><span class="tablenote"><b>Note:
            </b>Do not specify this parameter for query-base'
        - name: X-EBAY-C-MARKETPLACE-ID
          in: header
          type: string
          description: A header used to specify the eBay marketplace ID.<br /><br /><b>Valid Values:</b> <code>EBAY_GB</code>
            and <code>EBAY_US</code>
          required: true
    - name: charity_org-charity_org_id
      path: /charity_org/{charity_org_id}
      operations:
      - name: getcharityorg
        method: GET
        description: This call is used to retrieve detailed information about supported charitable organizations. It allows
          users to retrieve the details for a specific charitable organization using its charity organization ID.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: charity_org_id
          in: path
          type: string
          description: The unique ID of the charitable organization.
          required: true
        - name: X-EBAY-C-MARKETPLACE-ID
          in: header
          type: string
          description: A header used to specify the eBay marketplace ID.<br /><br /><b>Valid Values:</b> <code>EBAY_GB</code>
            and <code>EBAY_US</code>
          required: true
    authentication:
      type: bearer
      token: '{{env.EBAY_API_KEY}}'
  exposes:
  - type: rest
    namespace: charity-charity-org-rest
    port: 8080
    description: REST adapter for eBay Charity API — Charity_org. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/charity-org
      name: charity-org
      description: REST surface for charity_org.
      operations:
      - method: GET
        name: getcharityorgs
        description: 'This call is used to search for supported charitable organizations. It allows users to search for a
          specific charitable organization, or for multiple charitable organizations, from a particular charitable domain
          and/or geographical region, '
        call: charity-charity-org.getcharityorgs
        with:
          limit: rest.limit
          offset: rest.offset
          q: rest.q
          registration_ids: rest.registration_ids
          X-EBAY-C-MARKETPLACE-ID: rest.X-EBAY-C-MARKETPLACE-ID
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/charity-org/{charity-org-id}
      name: charity-org-charity-org-id
      description: REST surface for charity_org-charity_org_id.
      operations:
      - method: GET
        name: getcharityorg
        description: This call is used to retrieve detailed information about supported charitable organizations. It allows
          users to retrieve the details for a specific charitable organization using its charity organization ID.
        call: charity-charity-org.getcharityorg
        with:
          charity_org_id: rest.charity_org_id
          X-EBAY-C-MARKETPLACE-ID: rest.X-EBAY-C-MARKETPLACE-ID
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: charity-charity-org-mcp
    port: 9090
    transport: http
    description: MCP adapter for eBay Charity API — Charity_org. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: this-call-is-used-search
      description: 'This call is used to search for supported charitable organizations. It allows users to search for a specific
        charitable organization, or for multiple charitable organizations, from a particular charitable domain and/or geographical
        region, '
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: charity-charity-org.getcharityorgs
      with:
        limit: tools.limit
        offset: tools.offset
        q: tools.q
        registration_ids: tools.registration_ids
        X-EBAY-C-MARKETPLACE-ID: tools.X-EBAY-C-MARKETPLACE-ID
      outputParameters:
      - type: object
        mapping: $.
    - name: this-call-is-used-retrieve
      description: This call is used to retrieve detailed information about supported charitable organizations. It allows
        users to retrieve the details for a specific charitable organization using its charity organization ID.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: charity-charity-org.getcharityorg
      with:
        charity_org_id: tools.charity_org_id
        X-EBAY-C-MARKETPLACE-ID: tools.X-EBAY-C-MARKETPLACE-ID
      outputParameters:
      - type: object
        mapping: $.