Making an API Call

To perform a particular task with the Trading API (e.g., list an item), you need to send a request using a call. The call names are fairly self-explanatory, like AddItem—which lists an item. The schema defines the messages that you can use to access the eBay database. The API uses request-response style operations.

Topics:

About eBay Login Credentials

System Requirements

Overview of the API Schema

Standard Data for All Calls

Selecting Fields to Retrieve

Routing the Request

Error Handling

The Object Model of the eBay SDK for Java

Getting Your Keys

Testing in the SandBox

Getting Tokens

Using Live Data in Production

Using Best Practices

About eBay Login Credentials

The following login credentials are completely independent and not interoperable across the following sites.

Important: You can avoid common problems that new eBay developers encounter if you understand the differences between the following credentials.

Table: eBay Login Credentials
Login Credentials Used By Site Where Used Get Credentials
eBay username and password eBay member (real buyer or seller) eBay site UI www.ebay.com (and corresponding international sites) https://signin.ebay.com/ws/eBayISAPI.dll?SignIn (for eBay US site)
eBay Production authentication token API calls on behalf of a real eBay user eBay API https://api.ebay.com (programmatic access only)
eBay Developers Program username and password Developer eBay Developer site developer.ebay.com https://developer.ebay.com/base/membership/signin/default.aspx
eBay Sandbox username and password Test user (test buyer or test seller) eBay Sandbox UI sandbox.ebay.com Creating a Sandbox Test User
eBay Sandbox authentication token API calls on behalf of a test user eBay Sandbox API https://api.sandbox.ebay.com (programmatic access only) Generating Auth Tokens for Sandbox Test Users

Copyright © 2005–2016 eBay Inc. All rights reserved. This documentation and the API may only be used in accordance with the eBay Developers Program and API License Agreement.