eBay · Capability

eBay Metadata API — Country

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

Run with Naftiko EbayCountry

What You Can Do

GET
Getsalestaxjurisdictions — This method retrieves all sales-tax jurisdictions for the country specified in the countryCode path parameter. Countries with valid sales-tax jurisdictions are Canada and the US.

The response from this call tells you the juris
/v1/country/{countrycode}/sales-tax-jurisdiction

MCP Tools

this-method-retrieves-all-sales

This method retrieves all sales-tax jurisdictions for the country specified in the countryCode path parameter. Countries with valid sales-tax jurisdictions are Canada and the US.

The response from this call tells you the juris

read-only idempotent

Capability Spec

metadata-country.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: eBay Metadata API — Country
  description: 'eBay Metadata API — Country. 1 operations. Lead operation: Country. Self-contained Naftiko capability covering
    one Ebay business surface.'
  tags:
  - Ebay
  - Country
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    EBAY_API_KEY: EBAY_API_KEY
capability:
  consumes:
  - type: http
    namespace: metadata-country
    baseUri: https://api.ebay.com{basePath}
    description: eBay Metadata API — Country business capability. Self-contained, no shared references.
    resources:
    - name: country-countryCode-sales_tax_jurisdiction
      path: /country/{countryCode}/sales_tax_jurisdiction
      operations:
      - name: getsalestaxjurisdictions
        method: GET
        description: This method retrieves all sales-tax jurisdictions for the country specified in the <b>countryCode</b>
          path parameter. Countries with valid sales-tax jurisdictions are Canada and the US.<br><br>The response from this
          call tells you the juris
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: countryCode
          in: path
          type: string
          description: This path parameter specifies the two-letter <a href="https://www.iso.org/iso-3166-country-codes.html
            " title="https://www.iso.org " target="_blank">ISO 3166</a
          required: true
    authentication:
      type: bearer
      token: '{{env.EBAY_API_KEY}}'
  exposes:
  - type: rest
    namespace: metadata-country-rest
    port: 8080
    description: REST adapter for eBay Metadata API — Country. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/country/{countrycode}/sales-tax-jurisdiction
      name: country-countrycode-sales-tax-jurisdiction
      description: REST surface for country-countryCode-sales_tax_jurisdiction.
      operations:
      - method: GET
        name: getsalestaxjurisdictions
        description: This method retrieves all sales-tax jurisdictions for the country specified in the <b>countryCode</b>
          path parameter. Countries with valid sales-tax jurisdictions are Canada and the US.<br><br>The response from this
          call tells you the juris
        call: metadata-country.getsalestaxjurisdictions
        with:
          countryCode: rest.countryCode
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: metadata-country-mcp
    port: 9090
    transport: http
    description: MCP adapter for eBay Metadata API — Country. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: this-method-retrieves-all-sales
      description: This method retrieves all sales-tax jurisdictions for the country specified in the <b>countryCode</b> path
        parameter. Countries with valid sales-tax jurisdictions are Canada and the US.<br><br>The response from this call
        tells you the juris
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: metadata-country.getsalestaxjurisdictions
      with:
        countryCode: tools.countryCode
      outputParameters:
      - type: object
        mapping: $.