Find an API

Search public APIs with auth details & Postman guides

← All APIs

Listing API

ebay · Commerce

Commerce No Auth Free & Open ecommerce

Note: This is a (Limited Release) API available only to select developers approved by business units. Enables a seller adding an ad or item on a Partner's site to automatically create an eBay listing draft using the item details

Authentication

No authentication requiredFree to use with no key needed.

Sample Requests

POST createItemDraft

This call gives Partners the ability to create an eBay draft of a item for their seller using information from their site. This lets the Partner increase the exposure of items on their site and leverage the eBay user listing experience seamlessly. This experience provides guidance on pricing, aspect

https://api.apis.guru/v2/specs/ebay.com/sell-listing/v1_beta.3.0/item_draft

Hover any highlighted part to learn what it does

Headers — extra info sent with the request
X-EBAY-C-MARKETPLACE-ID example
curl -X POST "https://api.apis.guru/v2/specs/ebay.com/sell-listing/v1_beta.3.0/item_draft/" \
  -H "X-EBAY-C-MARKETPLACE-ID: example"
import requests
headers = {
    "X-EBAY-C-MARKETPLACE-ID": "example"
}
response = requests.post(
    "https://api.apis.guru/v2/specs/ebay.com/sell-listing/v1_beta.3.0/item_draft/",
    headers=headers,
)
print(response.json())
const url = 'https://api.apis.guru/v2/specs/ebay.com/sell-listing/v1_beta.3.0/item_draft/';

const response = await fetch(url, {
  method: 'POST',
  headers: {
    'X-EBAY-C-MARKETPLACE-ID': 'example'
  },
}); 
const data = await response.json();
console.log(data);
package main

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

func main() {
	targetURL := "https://api.apis.guru/v2/specs/ebay.com/sell-listing/v1_beta.3.0/item_draft/"
	req, _ := http.NewRequest("POST", targetURL, nil)
	req.Header.Set("X-EBAY-C-MARKETPLACE-ID", "example")

	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-listing/v1_beta.3.0/item_draft/")

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

req = Net::HTTP::Post.new(uri)
req["X-EBAY-C-MARKETPLACE-ID"] = "example"

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/ebay.com/sell-listing/v1_beta.3.0/item_draft/";
$opts = ["http" => [
    "method" => "POST",
    "header" => implode("\r\n", [
        "X-EBAY-C-MARKETPLACE-ID: example"
    ]),
]];
$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 Listing API?

Listing 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. Listing 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 ↗