Find an API

Search public APIs with auth details & Postman guides

← All APIs

Metadata API

ebay · Commerce

Commerce No Auth Free & Open ecommerce

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.

Authentication

No authentication requiredFree to use with no key needed.

Sample Requests

GET getAutomotivePartsCompatibilityPolicies

This method returns the eBay policies that define how to list automotive-parts-compatibility items in the categories of a specific marketplace. By default, this method returns the entire category tree for the specified marketplace. You can limit the size of the result set by using the fi

https://api.apis.guru/v2/specs/ebay.com/sell-metadata/v1.6.0/marketplace/{marketplace_id}/get_automotive_parts_compatibility_policies?filter=example

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/ebay.com/sell-metadata/v1.6.0/marketplace/{marketplace_id}/get_automotive_parts_compatibility_policies?filter=example"
import requests
params = {
    "filter": "example"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/ebay.com/sell-metadata/v1.6.0/marketplace/{marketplace_id}/get_automotive_parts_compatibility_policies",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/ebay.com/sell-metadata/v1.6.0/marketplace/{marketplace_id}/get_automotive_parts_compatibility_policies');
url.searchParams.set('filter', 'example');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/ebay.com/sell-metadata/v1.6.0/marketplace/{marketplace_id}/get_automotive_parts_compatibility_policies")
	q := baseURL.Query()
	q.Set("filter", "example")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/ebay.com/sell-metadata/v1.6.0/marketplace/{marketplace_id}/get_automotive_parts_compatibility_policies")
uri.query = URI.encode_www_form({
  "filter" => "example"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/ebay.com/sell-metadata/v1.6.0/marketplace/{marketplace_id}/get_automotive_parts_compatibility_policies?" . http_build_query([
    "filter" => "example"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET getExtendedProducerResponsibilityPolicies

This method returns the Extended Producer Responsibility policies for one, multiple, or all eBay categories in an eBay marketplace. The identifier of the eBay marketplace is passed in as a path parameter, and unless one or more eBay category IDs are passed in through the filter query para

https://api.apis.guru/v2/specs/ebay.com/sell-metadata/v1.6.0/marketplace/{marketplace_id}/get_extended_producer_responsibility_policies?filter=example

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/ebay.com/sell-metadata/v1.6.0/marketplace/{marketplace_id}/get_extended_producer_responsibility_policies?filter=example"
import requests
params = {
    "filter": "example"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/ebay.com/sell-metadata/v1.6.0/marketplace/{marketplace_id}/get_extended_producer_responsibility_policies",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/ebay.com/sell-metadata/v1.6.0/marketplace/{marketplace_id}/get_extended_producer_responsibility_policies');
url.searchParams.set('filter', 'example');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/ebay.com/sell-metadata/v1.6.0/marketplace/{marketplace_id}/get_extended_producer_responsibility_policies")
	q := baseURL.Query()
	q.Set("filter", "example")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/ebay.com/sell-metadata/v1.6.0/marketplace/{marketplace_id}/get_extended_producer_responsibility_policies")
uri.query = URI.encode_www_form({
  "filter" => "example"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/ebay.com/sell-metadata/v1.6.0/marketplace/{marketplace_id}/get_extended_producer_responsibility_policies?" . http_build_query([
    "filter" => "example"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET getItemConditionPolicies

This method returns item condition metadata on one, multiple, or all eBay categories on an eBay marketplace. This metadata consists of the different item conditions (with IDs) that an eBay category supports, and a boolean to indicate if an eBay category requires an item condition. The identi

https://api.apis.guru/v2/specs/ebay.com/sell-metadata/v1.6.0/marketplace/{marketplace_id}/get_item_condition_policies?filter=example

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/ebay.com/sell-metadata/v1.6.0/marketplace/{marketplace_id}/get_item_condition_policies?filter=example"
import requests
params = {
    "filter": "example"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/ebay.com/sell-metadata/v1.6.0/marketplace/{marketplace_id}/get_item_condition_policies",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/ebay.com/sell-metadata/v1.6.0/marketplace/{marketplace_id}/get_item_condition_policies');
url.searchParams.set('filter', 'example');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/ebay.com/sell-metadata/v1.6.0/marketplace/{marketplace_id}/get_item_condition_policies")
	q := baseURL.Query()
	q.Set("filter", "example")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/ebay.com/sell-metadata/v1.6.0/marketplace/{marketplace_id}/get_item_condition_policies")
uri.query = URI.encode_www_form({
  "filter" => "example"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/ebay.com/sell-metadata/v1.6.0/marketplace/{marketplace_id}/get_item_condition_policies?" . http_build_query([
    "filter" => "example"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));

Postman Setup Guide

Get Postman ↗
  1. See official documentation for authentication and setup.

What can you build with Metadata API?

Metadata API is a Commerce API. Developers commonly use commerce APIs for:

  • syncing product catalogues and inventory levels
  • building price comparison and deal-finder tools
  • processing orders and tracking shipments
  • managing customer wishlists and reviews
  • automating abandoned-cart and promotional emails

No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Metadata API is free to use, making it a low-risk choice to experiment with.

New to APIs? Read our beginner's guide · Learn about API keys · What is REST?

Open documentation ↗