eBay Product
Retrieve product with the Ebay API. Supply a product ID. Sample fields include prices and titles. Use it for catalog research or marketplace monitoring. The POST request schema also lists timeout.
- Selected price
- $0.00015 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
eBay Product
Prepare your request, then continue with your agent.
Selected price
$0.00015 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
product_resultsobjectavailabilitystringitem_specificsobjectBrandstring
priceobjectamountnumbercurrencystring
product_idstringproduct_linkstringtitlestring
seller_resultsobjectnamestringpositive_feedbacknumberusernamestring
submit_feedback_for_this_response_herestring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
product_results?: {
availability?: string;
item_specifics?: {
Brand?: string;
};
price?: {
amount?: number;
currency?: string;
};
product_id?: string;
product_link?: string;
title?: string;
};
seller_results?: {
name?: string;
positive_feedback?: number;
username?: string;
};
submit_feedback_for_this_response_here?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
litescrapeCurrent eBay Product · POST · View API reference | $0.00015 / call | — | —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: 3. 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
curl \
'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"
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
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. |
product_id | JSON request bodybody | string | Yes | 12-digit eBay listing ID from search results or an /itm/ URL. pattern: ^[0-9]{12}$ |
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.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"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"
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# eBay Product
Retrieve product with the Ebay API. Supply a product ID. Sample fields include prices and titles. Use it for catalog research or marketplace monitoring. The POST request schema also lists timeout.
## Available implementations
litescrape · eBay Product: https://openany.si/markets/apis/capabilities/ebay-product-a878adde?offering=f31cf6fc-a4fd-4273-b80a-7294fcb8b775 · $0.00015 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/ebay-product-a878adde
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/ebay/product
Price: $0.00015 / call
Provider: litescrape
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'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"
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "eBay Product",
"endpoint": "https://api.openany.si/v1/agent-apis/litescrape/api/ebay/product",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "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.",
"location": "query",
"maximum": "90",
"name": "timeout",
"nullable": false,
"required": false,
"type": "number"
},
{
"description": "Get an eBay listing by item ID.",
"json_schema": {
"additionalProperties": false,
"examples": [
{
"product_id": "305576857892"
}
],
"properties": {
"ebay_domain": {
"default": "ebay.com",
"description": "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"
],
"title": "Ebay Domain",
"type": "string",
"x-litescrape": {
"formGroup": 1,
"group": 1,
"label": "Marketplace",
"summary": "eBay marketplace hostname."
}
},
"lang": {
"anyOf": [
{
"maxLength": 12,
"pattern": "^[a-z]{2,3}(?:-[A-Za-z]{2,4})?$",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Interface language override; requires locale and ebay.com.",
"title": "Lang",
"x-litescrape": {
"formGroup": 1,
"group": 1,
"label": "Interface language",
"summary": "Interface language override; requires locale and ebay.com."
}
},
"locale": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Country code for eBay's localized interface, e.g. US, JP, CA.",
"title": "Locale",
"x-litescrape": {
"formGroup": 1,
"group": 1,
"label": "Locale country",
"summary": "Country code for eBay's localized interface, e.g. US, JP, CA."
}
},
"product_id": {
"description": "12-digit eBay listing ID from search results or an /itm/ URL.",
"pattern": "^[0-9]{12}$",
"title": "Product Id",
"type": "string",
"x-litescrape": {
"formGroup": 0,
"group": 0,
"label": "Product ID",
"placeholder": "305576857892",
"summary": "12-digit eBay listing ID from search results or an /itm/ URL."
}
},
"shipping_country": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Two-letter destination country code for shipping calculations.",
"title": "Shipping Country",
"x-litescrape": {
"formGroup": 1,
"group": 1,
"label": "Shipping country",
"summary": "Two-letter destination country code for shipping calculations."
}
}
},
"required": [
"product_id"
],
"title": "Request",
"type": "object"
},
"location": "body",
"name": "body",
"nullable": false,
"pointer": "",
"required": true,
"type": "object"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "150",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example",
"request": {
"body": {
"product_id": "305576857892"
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"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"
}
}
]
}
```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" }