eBay Product API
Get eBay Product data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by LiteScrape, pass parameters such as product_id, and retrieve structured data including twelve-digit source listing ID, listing title, source listing URL, listing price amount, and listing price currency for listing detail pages, and seller context.
- Selected price
- $0.00015 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 1Selected implementation · last 30 days
- Success rate · 30d
- 0.00%Selected implementation · last 30 days
eBay Product API
Prepare your request, then continue with your agent.
Selected price
$0.00015 / call
- Provider
- API
- Pricing
On this page
Overview
eBay Product API
The JSON body requires product_id as a twelve-digit string. product_results holds listing details, while seller_results keeps seller identity and feedback separate from product pricing and availability.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | JSON body requires product_id; optional body fields: ebay_domain, lang, locale, shipping_country. Optional query parameter: timeout (greater than 0, at most 90 seconds). |
| Selected implementation | litescrape · eBay Product |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Listing detail pages: Show source item specifics, price and availability together.
- Seller context: Keep seller username and feedback separate from product attributes.
Returned Data
| Field | Meaning |
|---|---|
product_results.product_id |
Twelve-digit source listing ID. |
product_results.title |
Listing title. |
product_results.product_link |
Source listing URL. |
product_results.price.amount |
Listing price amount. |
product_results.price.currency |
Listing price currency. |
product_results.availability |
Source availability label. |
product_results.item_specifics.Brand |
Brand value from source item specifics. |
seller_results.name |
Seller display name. |
seller_results.username |
Seller username. |
seller_results.positive_feedback |
Source positive-feedback value. |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request POST \
https://api.openany.si/v1/agent-apis/litescrape/api/ebay/product \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
-H "Content-Type: application/json" \
--data-raw '{"product_id":"305576857892"}'
Request and Response Examples
The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.
Published eBay Product API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
litescrapeCurrent eBay Product · POST · View API reference | $0.00015 / call | 1 | 0.00%successP50— |
- Unit price
- $0.00015
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
Total $0.015
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/litescrape/api/ebay/product- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
product_id | JSON request bodybody | string | Yes | 12-digit eBay listing ID from search results or an /itm/ URL. pattern: ^[0-9]{12}$ |
timeout | URL query parametersquery | number | No | Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget. maximum: 90 |
ebay_domain | JSON request bodybody | string | No | eBay marketplace hostname. enum: "ebay.com", "ebay.co.uk", "ebay.ca", "ebay.com.au", "ebay.de", "ebay.fr", "ebay.it", "ebay.es", "ebay.at", "ebay.be", "ebay.ch", "ebay.ie", "ebay.nl", "ebay.com.hk", "ebay.com.my", "ebay.pl", "ebay.com.sg" |
lang | JSON request bodybody | string | null | No | Interface language override; requires locale and ebay.com. |
locale | JSON request bodybody | string | null | No | Country code for eBay's localized interface, e.g. US, JP, CA. |
shipping_country | JSON request bodybody | string | null | No | Two-letter destination country code for shipping calculations. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
product_resultsobjectavailabilitystringitem_specificsobjectBrandstring
priceobjectamountnumbercurrencystring
product_idstringproduct_linkstringtitlestring
seller_resultsobjectnamestringpositive_feedbacknumberusernamestring
submit_feedback_for_this_response_herestring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 2
Review these request fields before running. Keep the published provider and request method unchanged.
timeout- Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.
body- Get an eBay listing by item ID.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/litescrape/api/ebay/product' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "product_id": "305576857892" }'Check the response
Sample response · Documented HTTP 200
Sample response{ "product_results": { "availability": "OutOfStock", "item_specifics": { "Brand": "Sony" }, "price": { "amount": 688.73, "currency": "USD" }, "product_id": "305576857892", "product_link": "https://www.ebay.com/itm/305576857892", "title": "PlayStation 5 Slim Console + Extra PS5 DualSense Controller Starlight Blue" }, "seller_results": { "name": "Antonline", "positive_feedback": 99.5, "username": "antonline" }, "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token" }