eBay · Capability

eBay Deal API — Event_item

eBay Deal API — Event_item. 1 operations. Lead operation: Event_item. Self-contained Naftiko capability covering one Ebay business surface.

Run with Naftiko EbayEvent_item

What You Can Do

GET
Geteventitems — This method returns a paginated set of event items. The result set contains all event items associated with the specified search criteria and marketplace ID.

Restrictions

This method can return a maximum of 10,000 items. For
/v1/event-item

MCP Tools

this-method-returns-paginated-set

This method returns a paginated set of event items. The result set contains all event items associated with the specified search criteria and marketplace ID.

Restrictions

This method can return a maximum of 10,000 items. For

read-only idempotent

Capability Spec

deal-event-item.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: eBay Deal API — Event_item
  description: 'eBay Deal API — Event_item. 1 operations. Lead operation: Event_item. Self-contained Naftiko capability covering
    one Ebay business surface.'
  tags:
  - Ebay
  - Event_item
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    EBAY_API_KEY: EBAY_API_KEY
capability:
  consumes:
  - type: http
    namespace: deal-event-item
    baseUri: https://api.ebay.com{basePath}
    description: eBay Deal API — Event_item business capability. Self-contained, no shared references.
    resources:
    - name: event_item
      path: /event_item
      operations:
      - name: geteventitems
        method: GET
        description: 'This method returns a paginated set of event items. The result set contains all event items associated
          with the specified search criteria and marketplace ID.<h3><b>Restrictions </b></h3>This method can return a maximum
          of 10,000 items. For '
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: category_ids
          in: query
          type: string
          description: 'This query parameter specifies the unique identifiers of the eBay categories for the search.<br><br>For
            details see <a href="/api-docs/buy/buy-categories.html" '
        - name: delivery_country
          in: query
          type: string
          description: This query parameter allows the response to only return items that can be shipped to the specified
            country (2-digit ISO code).
        - name: event_ids
          in: query
          type: string
          description: This query parameter specifies the unique identifiers for the eBay event items being retrieved.<br><br>Use
            the <a href="/api-docs/buy/deal/resources/event/metho
          required: true
        - name: limit
          in: query
          type: string
          description: The maximum number of items, from the current result set, returned on a single page.<br /><br /><b>Default:</b>
            <code>20</code>
        - 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: X-EBAY-C-MARKETPLACE-ID
          in: header
          type: string
          description: This header identifies the eBay marketplace.<br><br>See <a href="/api-docs/static/rest-request-components.html#marketpl
            " target="_blank ">HTTP request headers<
          required: true
        - name: X-EBAY-C-ENDUSERCTX
          in: header
          type: string
          description: This header is required to support revenue sharing for eBay Partner Network and to improve the accuracy
            of shipping and delivery time estimations.<br><br>For ad
    authentication:
      type: bearer
      token: '{{env.EBAY_API_KEY}}'
  exposes:
  - type: rest
    namespace: deal-event-item-rest
    port: 8080
    description: REST adapter for eBay Deal API — Event_item. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/event-item
      name: event-item
      description: REST surface for event_item.
      operations:
      - method: GET
        name: geteventitems
        description: 'This method returns a paginated set of event items. The result set contains all event items associated
          with the specified search criteria and marketplace ID.<h3><b>Restrictions </b></h3>This method can return a maximum
          of 10,000 items. For '
        call: deal-event-item.geteventitems
        with:
          category_ids: rest.category_ids
          delivery_country: rest.delivery_country
          event_ids: rest.event_ids
          limit: rest.limit
          offset: rest.offset
          X-EBAY-C-MARKETPLACE-ID: rest.X-EBAY-C-MARKETPLACE-ID
          X-EBAY-C-ENDUSERCTX: rest.X-EBAY-C-ENDUSERCTX
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: deal-event-item-mcp
    port: 9090
    transport: http
    description: MCP adapter for eBay Deal API — Event_item. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: this-method-returns-paginated-set
      description: 'This method returns a paginated set of event items. The result set contains all event items associated
        with the specified search criteria and marketplace ID.<h3><b>Restrictions </b></h3>This method can return a maximum
        of 10,000 items. For '
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: deal-event-item.geteventitems
      with:
        category_ids: tools.category_ids
        delivery_country: tools.delivery_country
        event_ids: tools.event_ids
        limit: tools.limit
        offset: tools.offset
        X-EBAY-C-MARKETPLACE-ID: tools.X-EBAY-C-MARKETPLACE-ID
        X-EBAY-C-ENDUSERCTX: tools.X-EBAY-C-ENDUSERCTX
      outputParameters:
      - type: object
        mapping: $.