OpenAny
Get API keyAPI Key
APIE-commerceScrapers

ebay logo
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
USE THIS API

eBay Product API

Prepare your request, then continue with your agent.

Selected price

$0.00015 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
eBay Product API

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

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
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

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body*object

body

Get an eBay listing by item ID.
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.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
litescrapeCurrent
eBay Product · POST · View API reference
$0.00015 / call1
0.00%successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · litescrapeUSD / call
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.

calls

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
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
product_idJSON request bodybodystringYes

12-digit eBay listing ID from search results or an /itm/ URL.

pattern: ^[0-9]{12}$

timeoutURL query parametersquerynumberNo

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_domainJSON request bodybodystringNo

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"

langJSON request bodybodystring | nullNo

Interface language override; requires locale and ebay.com.

localeJSON request bodybodystring | nullNo

Country code for eBay's localized interface, e.g. US, JP, CA.

shipping_countryJSON request bodybodystring | nullNo

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

Inferred from examples
  • product_resultsobject
    • availabilitystring
    • item_specificsobject
      • Brandstring
    • priceobject
      • amountnumber
      • currencystring
    • product_idstring
    • product_linkstring
    • titlestring
  • seller_resultsobject
    • namestring
    • positive_feedbacknumber
    • usernamestring
  • submit_feedback_for_this_response_herestring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    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"
    }'
  3. 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"
    }

Common questions

What should product_id contain?

Send a twelve-digit string taken from eBay search results or an /itm/ listing URL. This field accepts the ID, not the full URL.

How do marketplace and shipping settings differ?

ebay_domain selects an exposed marketplace hostname. shipping_country supplies a two-letter destination country code for shipping calculations; it does not select the seller’s country.

Can I change the interface language?

lang is an optional language override that requires locale and ebay.com. locale is the localized interface’s country code; keep this separate from shipping_country.

Does an available price mean the listing is in stock?

Read product_results.availability separately from price. A listing may retain a price while being unavailable, and seller feedback describes the seller rather than product stock.

Where should I set the request timeout?

Set timeout in the query string, including for POST requests. It must be greater than 0 and at most 90 seconds; page_timeout cannot extend this total execution budget.

Can I add arbitrary parameters to the JSON body?

Use the body fields exposed by this implementation. Its JSON schema rejects additional properties; query parameters such as timeout belong outside the JSON body.

Use eBay Product API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.