The Metadata API lets you retrieve eBay category policies and information on sales tax jurisdictions.

Category policies are the eBay policies and guidelines for how you must list you must list certain items in specific categories across the different eBay marketplaces. For example, if you are listing items with variations, you'll want to know which categories support multiple-variation listings, or you'll want to know which item conditions are supported for the different eBay categories.

Several countries have sales tax jurisdictions where the tax rates across the different jurisdictions may vary, and you can use the Metadata API to retrieve the lists of tax jurisdictions, which you can use to set up sales tax tables.

Technical overview

The Metadata API contains methods in the following resources:

  • country
  • marketplace

The methods in these resources let you retrieve configuration details that pertain to the different eBay marketplaces, as well as get information about the areas into which you sell.

Business use cases

The Metadata API supports the use cases outlined below.

Retrieve the eBay listing policies for an eBay marketplace and category ID

Each eBay marketplace has policies that govern how you can list items in different eBay categories. The marketplace resource contains several GET methods that let you retrieve the following listing policies for specific marketplace categories:

Important! The listing policies are specific to an eBay marketplace and category ID. Be sure to use the policies that match the categories into which you list items.

Retrieve sales tax jurisdictions

Canada (CA), India (IN), and the United States (US) all define different sales tax jurisdictions for the different regions in their countries. Seller can ease the process of calculating the final value of the items they sell by setting up tax tables for the tax jurisdictions where they must charge sales tax.

Use getSalesTaxJurisdictions to retrieve details on a county's different sales tax jurisdictions, then use the sales_tax resource of the Accounts API to set up and manage your sales tax tables.

Metadata API requirements and restrictions

The getSalesTaxJurisdictions method returns data for only the countries that designate different sales tax jurisdictions. These countries are currently limited to Canada (CA), India (IN), and the United States (US).

The methods in the marketplace resource return data for only the eBay marketplaces in the following list:

Marketplace ID

Marketplace Locale Support

Marketplace Site

EBAY_AT (Austria) de-AT
EBAY_AU (Australia) en-AU
EBAY_BE (Belgium) fr-BE
EBAY_CA (Canada) en-CA
EBAY_CH (Switzerland) de-CH
EBAY_DE (Germany) de-DE
EBAY_ES (Spain) es-ES
EBAY_FR (France) fr-FR
EBAY_GB (Great Britain) en-GB
EBAY_HK (Hong Kong) zh-HK
EBAY_IE (Ireland) en-IE
EBAY_IN (India) en-GB
EBAY_IT (Italy) it-IT
EBAY_MOTORS_US (eBay Motors US) en-US
EBAY_MY (Malaysia) en-US
EBAY_NL (Netherlands) nl-NL
EBAY_PH (Philippines) en-PH
EBAY_PL (Poland) pl-PL
EBAY_RU (Russia) ru-RU
EBAY_SG (Singapore) en-US
EBAY_US (United States) en-US

Note: The Accept-Language request header must be passed in along with the marketplace to specify the preferred language for marketplaces that support multiple locales. See HTTP request headers for more information about request headers, or see Marketplace ID values for more information about marketplace support.