Skip to content

Buy Marketing API API

by ebay.com

OAuthHTTPSShopping
Open documentation ↗

Overview

The Marketing API retrieves eBay products based on a metric, such as Best Selling, as well as products that were also bought and also viewed.

Buy Marketing API is a shopping API from ebay.com. Requests are authenticated with OAuth. It is served over HTTPS. Its OpenAPI description documents 1 endpoints.

At a glance

Authentication
OAuth
HTTPS
Yes
CORS
Unknown
Category
Shopping
Base URL
https://api.ebay.com/buy/marketing/v1_beta
Version
v1_beta.2.0
Endpoints
1
Spec updated
2023-03-05

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://api.ebay.com/buy/marketing/v1_beta/merchandised_product" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer YOUR_TOKEN"
JavaScript
const response = await fetch("https://api.ebay.com/buy/marketing/v1_beta/merchandised_product", {
  method: "GET",
  headers: {
    "Accept": "application/json",
    "Authorization": "Bearer YOUR_TOKEN",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://api.ebay.com/buy/marketing/v1_beta/merchandised_product",
    headers={
    "Accept": "application/json",
    "Authorization": "Bearer YOUR_TOKEN",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/merchandised_productThis method returns an array of products based on the category and metric specified. This includes details of the product, such as the eBay product ID (EPID), t

Questions

Does the Buy Marketing API API need an API key?

Yes. The Buy Marketing API API uses OAuth authentication; the documentation explains how to get credentials.

Does the Buy Marketing API API support HTTPS?

Yes, the Buy Marketing API API is served over HTTPS.

How many endpoints does the Buy Marketing API API have?

Its OpenAPI description lists 1 endpoint in version v1_beta.2.0. All of them are shown on this page.

What are alternatives to the Buy Marketing API API?

Other Shopping APIs include Etsy, eBay, Flipkart Marketplace, Inventory Management, Intel Product Catalogue Service.

Compare alternatives →

Listed from APIs.guru (CC0).