Skip to main content

GET/bidding/{item_id}

This method retrieves the bidding details that are specific to the buyer of the specified auction. This must be an auction where the buyer has already placed a bid.

To retrieve the bidding information you use a user access token and pass in the item ID of the auction. You can also retrieve general bidding details about the auction, such as minimum bid price and the count of unique bidders, using the Browse API getItems method.

Restrictions

For a list of supported sites and other restrictions, see API Restrictions.

Input

Resource URI

GET https://api.ebay.com/buy/offer/v1_beta/bidding/{item_id}

This method is supported in Sandbox environment. To access the endpoint, just replace the api.ebay.com root URI with api.sandbox.ebay.com

URI parameters

ParameterTypeDescription
item_idstringThis path parameter specifies the unique eBay RESTful identifier of an item for which you want the buyer's bidding information.

This ID is returned by the Browse and Feed API methods.

RESTful Item ID example: v1|2**********2|0

For more information about item ID for RESTful APIs, see the Legacy API compatibility section of the Buy APIs Overview.

Restriction: The buyer must have placed a bid for this item.

Occurrence: Required

HTTP request headers

All requests made to eBay REST operations require you to provide the Authorization HTTP header for authentication authorization.

The table below shows additional HTTP request headers that are either required, conditionally required, or strongly recommended for this method. Other standard HTTP request headers- opens rest request components page (not in this table) can also be used, but they are optional.

HeaderTypeDescription
X-EBAY-C-MARKETPLACE-IDstringThe ID of the eBay marketplace where the buyer is based. This value is case sensitive.

For example:
  X-EBAY-C-MARKETPLACE-ID = EBAY_US

For a list of supported sites see, API Restrictions.

Occurrence: Required

OAuth scope

This request requires an access token created with the authorization code grant flow, using one or more scopes from the following list (please check your Application Keys page for a list of OAuth scopes available to your application):

https://api.ebay.com/oauth/api_scope/buy.offer.auction

See OAuth access tokens for more information.

Request payload

This call has no payload.

Request fields

This call has no field definitions.

Output

HTTP response headers

This call has no response headers.

Response payload

Response fields

Output container/fieldTypeDescription
auctionEndDatestring

The date the auction will end.

Occurrence: Always

auctionStatusAuctionStatusEnum

An enumeration value that represents the current state of the auction, such as ACTIVE or ENDED.

If this value is ENDED and the value of highBidder is true, this indicates the buyer has won the auction.

Occurrence: Always

bidCountinteger

The number of proxy bids that have been placed for the auction.

Occurrence: Always

currentPriceAmount

The amount of the highest bid, which is the current price of the item.

Occurrence: Always

currentPrice.currencyCurrencyCodeEnum

The three-letter ISO 4217 code representing the currency of the amount in the value field.

Occurrence: Always

currentPrice.valuestring

The monetary amount.

Occurrence: Always

currentProxyBidProxyBid

The buyer's proxy bid, which is the maxAmount specified in the request.

Occurrence: Always

currentProxyBid.maxAmountAmount

The maximum amount the buyer is willing to pay for the item.

Occurrence: Always

currentProxyBid.maxAmount.currencyCurrencyCodeEnum

The three-letter ISO 4217 code representing the currency of the amount in the value field.

Occurrence: Always

currentProxyBid.maxAmount.valuestring

The monetary amount.

Occurrence: Always

currentProxyBid.proxyBidIdstring

Identifier of a specific proxy bid.

Occurrence: Always

highBidderboolean

Indicates if the buyer is the highest bidder.

  • If the value is false, this indicates that either the buyer has not bid on this item or has been out-bid.
  • If this value is true, this indicates the buyer is winning the auction and if the value of auctionStatus is ENDED, this indicates the buyer has won the auction.

Occurrence: Always

itemIdstring

The eBay RESTful identifier of an item being bid on, which was submitted in the request.

Occurrence: Always

reservePriceMetboolean

This indicates if the reserve price of the item has been met. A reserve price is set by the seller and is the minimum amount the seller is willing to sell the item for.

If the highest bid is not equal to or higher than the reserve price when the auction ends, the listing ends and the item is not sold.

Note: This is returned only for auctions that have a reserve price.

Occurrence: Conditional

suggestedBidAmountsarray of Amount

The suggested bid amount for the next bid. Note: These are generated suggestions and do not guarantee the buyer will win the bid. This means these suggestions do not take into account the max bid amount of other bidders. The buyer can be outbid even if they submit the highest suggested bid.

Occurrence: Conditional

suggestedBidAmounts.currencyCurrencyCodeEnum

The three-letter ISO 4217 code representing the currency of the amount in the value field.

Occurrence: Always

suggestedBidAmounts.valuestring

The monetary amount.

Occurrence: Always

HTTP status codes

This call can return one of the following HTTP status codes. For an overview of the status codes, see HTTP status codes in Using eBay RESTful APIs.

StatusMeaning
200OK
404Not found
500Internal Server Error

Error codes

For more on errors, plus the codes of other common errors, see Handling errors.

CodeDomainCategoryMeaning
120000API_OFFERAPPLICATIONThere was a problem with an eBay internal system or process. Contact eBay developer support for assistance.
120001API_OFFERREQUESTThe item ID {item_id} was not found. Check that this is an active auction item ID.
120015API_OFFERREQUESTThe X-EBAY-C-MARKETPLACE-ID header is missing. This is a required header.
120017API_OFFERREQUESTThe Marketplace {marketplace_id} is not supported. Supported values are [marketplace_ids].
120033API_OFFERREQUESTThere is no bidding activity for this auction (item ID {item_id}).

Warnings

This call has no warnings.

Samples

New to making API calls? Please see Making a Call.

Note: Identifiers, such as order IDs or user IDs, and personal data in these samples might be anonymized or may no longer be active on eBay. If necessary, substitute current, relevant eBay data in your requests.

Sample 1: Retrieve Bidding Information

Retrieves the bidding information for a specific auction where the buyer has placed at least one bid.

Input

The input is the item_id passed in as a URI paramater.

GEThttps://api.ebay.com/buy/offer/v1_beta/bidding/v1|2**********2|0

Output

This call returns the bidding information of a specific auction, such as if the buyer is the high bidder, the currentPrice, reservePriceMet, suggestedBidAmounts, etc.