get_listing_details
Retrieve full details for one secondhand marketplace listing by ID or URL, including description, photos, seller, location, shipping, and eBay option prices.
Instructions
Get one listing in full using an id from search_marketplace or from a marketplace URL: description, every photo, location, seller and shipping options. An eBay listing sold in several options also lists what they differ by, their price range and a few options with their own price and link. Photos: by default (imageMode:"urls") you get direct full-resolution CDN image URLs to fetch yourself, which is the most reliable option because some CDNs block server-side fetches. Set imageMode:"inline" (or includeImages:true) to have the server fetch the photos and return them as base64 image blocks; if that fetch is blocked the server falls back to URLs. Use imageSize to trade resolution for payload and maxImages to cap the count. Requirements: the same as search_marketplace for that marketplace. Behavior: read-only, one listing per call, no login. Errors: a listing that has been removed, or an id from the wrong marketplace, returns an error message rather than a partial listing. Not for: searching (use search_marketplace) or fetching many listings at once.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"listingId": "<listingId>"
},
"name": "get_listing_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | eBay only. For a listing sold in several options (sizes, colours): the shopper's choice, by the option names the listing shows, any listed value matching, e.g. {"Size": ["L"]} or {"Color": ["Navy"], "Size": ["M", "L"]}. Returns the matching options with their prices. Without it, a few options are shown. | |
| imageMode | No | How photos are returned. "urls" (default): direct full-resolution CDN image URLs for you to fetch yourself — most reliable, bypasses CDN blocking of server-side fetches, defaults to full resolution. "inline": server fetches every photo and returns them as base64 image blocks in this one call; if the server fetch is blocked it automatically falls back to returning the URLs. | urls |
| imageSize | No | Resolution for eBay images: thumb (~400px), standard (~800px), full (~1600px). Defaults to full for imageMode "urls" and standard for "inline". Non-eBay images are returned as-is. | |
| listingId | Yes | The listing ID (from search results or a marketplace URL), sent as text. eBay also takes a listing link or a Share link (ebay.us, ebay.io). | |
| maxImages | No | Cap the number of photos returned (default: all). Use to keep the response small for listings with many photos. | |
| marketplace | No | Which marketplace the listing is from (default: facebook). Can be left out for an eBay link or an id prefixed like "ebay:123". | |
| includeImages | No | Deprecated alias for imageMode:"inline". If true and imageMode is unset, photos are fetched server-side and returned inline as base64. |