eBay

Metadata API

The Metadata API has operations that retrieve configuration details pertaining to the different eBay marketplaces. In addition to marketplace information, the…

E-commerce#openapi#ecommerce

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

The Metadata API has operations that retrieve configuration details pertaining to the different eBay marketplaces. In addition to marketplace information, the API also has operations that get information that helps sellers list items on eBay.

Endpoints 8

country

  • GETgetSalesTaxJurisdictions/country/:countryCode/sales_tax_jurisdictionThis method retrieves all the sales tax jurisdictions for the country that you specify in the <b>countryCode</b> path parameter. Countries with valid sales…

marketplace

  • GETgetAutomotivePartsCompatibilityPolicies/marketplace/:marketplace_id/get_automotive_parts_compatibility_policies?filter=stringThis method returns the eBay policies that define how to list automotive-parts-compatibility items in the categories of a specific marketplace. <br><br>By…
  • GETgetExtendedProducerResponsibilityPolicies/marketplace/:marketplace_id/get_extended_producer_responsibility_policies?filter=stringThis method returns the Extended Producer Responsibility policies for one, multiple, or all eBay categories in an eBay marketplace.<br /><br />The identifier…
  • GETgetHazardousMaterialsLabels/marketplace/:marketplace_id/get_hazardous_materials_labelsThis method returns hazardous materials label information for the specified eBay marketplace. The information includes IDs, descriptions, and URLs (as…
  • GETgetItemConditionPolicies/marketplace/:marketplace_id/get_item_condition_policies?filter=stringThis method returns item condition metadata on one, multiple, or all eBay categories on an eBay marketplace. This metadata consists of the different item…
  • GETgetListingStructurePolicies/marketplace/:marketplace_id/get_listing_structure_policies?filter=stringThis method returns the eBay policies that define the allowed listing structures for the categories of a specific marketplace. The listing-structure policies…
  • GETgetNegotiatedPricePolicies/marketplace/:marketplace_id/get_negotiated_price_policies?filter=stringThis method returns the eBay policies that define the supported negotiated price features (like "best offer") for the categories of a specific marketplace.…
  • GETgetReturnPolicies/marketplace/:marketplace_id/get_return_policies?filter=stringThis method returns the eBay policies that define whether or not you must include a return policy for the items you list in the categories of a specific…

API details

Base URL
https://api.ebay.com{basePath}
Authentication
OAuth 2.0 (authorization code, client credentials flows) with 1 scope
Operations
8 operations on 8 pathsGET 8
Main resources
marketplace 7country 1
Response formats
application/json
Description format
OpenAPI 3.0.0, API version v1.6.0
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the Metadata API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Metadata API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (authorization code, client credentials flows) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “getSalesTaxJurisdictions” (GET /country/:countryCode/sales_tax_jurisdiction), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Metadata API?

The Metadata API has operations that retrieve configuration details pertaining to the different eBay marketplaces. In addition to marketplace information, the… It is listed under E-commerce and has 8 endpoints.

Who publishes the Metadata API?

It is listed from eBay's public API description (an OpenAPI document), not published by eBay on Swastik Codes. Anyone who controls ebay.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Metadata API?

Requests go to https://api.ebay.com{basePath}. Endpoint paths are added to this base URL.

How do I authenticate with the Metadata API?

With OAuth 2.0 (authorization code, client credentials flows) with 1 scope.

How many endpoints does the Metadata API have?

8 operations on 8 paths (8 GET). The largest groups are marketplace, country.

Is forking the Metadata API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.