eBay Search API
Search eBay via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by LiteScrape, pass parameters such as _ipg, _nkw, and retrieve structured data including source eBay listing ID, listing title, source listing link, extracted item price amount, and source-formatted price for filtered marketplace research, and source matching.
- Selected price
- $0.00015 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
eBay Search API
Prepare your request, then continue with your agent.
Selected price
$0.00015 / call
- Provider
- API
- Pricing
On this page
Overview
eBay Search API
Provide _nkw or category_id in the JSON body. This route exposes eBay-style filter names rather than a generic query field; organic_results returns listing identity, position, condition, links and price objects.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | Choose the JSON body location or search inputs described below; optional body fields: LH_ItemCondition, LH_PrefLoc, _blrs, _dmd, _ipg, _nkw, _pgn, _salic, _sasl, _saslop, _sop, _stpos, _udhi, _udlo, buying_format, category_id, ebay_domain, popular_filters, show_only. Optional query parameter: timeout (greater than 0, at most 90 seconds). |
| Selected implementation | litescrape · eBay Search |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Filtered marketplace research: Compare listings using supported price, condition and buying-format controls.
- Source matching: Keep item IDs and listing links for subsequent eBay Product lookups.
Returned Data
| Field | Meaning |
|---|---|
organic_results[].product_id |
Source eBay listing ID. |
organic_results[].title |
Listing title. |
organic_results[].link |
Source listing link. |
organic_results[].position |
Listing position in the returned results. |
organic_results[].condition |
Condition label from the source. |
organic_results[].price.extracted |
Extracted item price amount. |
organic_results[].price.currency |
Currency for the item price. |
organic_results[].price.raw |
Source-formatted price. |
pagination.current |
Returned page. |
search_information.total_results |
Source-reported result count. |
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/search \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
-H "Content-Type: application/json" \
--data-raw '{"_ipg":25,"_nkw":"lego star wars"}'
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 Search 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 Search · POST · View API reference | $0.00015 / call | 0 | —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/search- 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 |
|---|---|---|---|---|
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 |
LH_ItemCondition | JSON request bodybody | string | null | No | Condition IDs joined with |, such as 1000|3000. |
LH_PrefLoc | JSON request bodybody | string | null | No | Item location relative to the marketplace. |
_blrs | JSON request bodybody | string | null | No | Exclude automatic spelling corrections. |
_dmd | JSON request bodybody | string | null | No | Result layout. |
_ipg | JSON request bodybody | integer | No | Requested results per page. eBay may adjust the page size. enum: 25, 50, 100, 200 |
_nkw | JSON request bodybody | string | null | No | Search keywords. Required unless category_id is supplied. |
_pgn | JSON request bodybody | integer | No | Result page, starting at 1. minimum: 1 · maximum: 2147483647 |
_salic | JSON request bodybody | integer | null | No | eBay item-location country ID, e.g. 1 US, 2 Canada, 3 UK. |
_sasl | JSON request bodybody | string | null | No | Comma-separated eBay seller usernames. |
_saslop | JSON request bodybody | integer | No | Include (1) or exclude (2) the sellers in _sasl. enum: 1, 2 |
_sop | JSON request bodybody | integer | No | Sort: 12 best match, 1 ending soonest, 10 newly listed, 7 nearest, 15/16 total price ascending/descending, 2/3 item price ascending/descending, 18/19 condition new/used first. Availability depends on marketplace. enum: 1, 2, 3, 7, 10, 12, 15, 16, 18, 19 |
_stpos | JSON request bodybody | string | null | No | Destination postal code used by eBay for shipping estimates. |
_udhi | JSON request bodybody | number | null | No | Maximum item price. |
_udlo | JSON request bodybody | number | null | No | Minimum item price. |
buying_format | JSON request bodybody | string | null | No | Auction, Buy It Now (BIN), or accepts offers (BO). |
category_id | JSON request bodybody | integer | null | No | eBay category ID. |
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" |
popular_filters | JSON request bodybody | string | null | No | eBay aspect filters as key=value pairs joined with &, with multiple values joined by |. Percent-encoded names are accepted. |
show_only | JSON request bodybody | string | null | No | Comma-separated filters: FR, RPA, AS, Savings, SaleItems, Lots, Charity, AV, FS, LPickup. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
organic_resultsobject[]conditionstringlinkstringpositionintegerpriceobjectcurrencystringextractednumberrawstring
product_idstringtitlestring
paginationobjectcurrentinteger
search_informationobjectquery_displayedstringtotal_resultsinteger
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- Search eBay listings by keyword or category.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/litescrape/api/ebay/search' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "_ipg": 25, "_nkw": "lego star wars" }'Check the response
Sample response · Documented HTTP 200
Sample response{ "organic_results": [ { "condition": "Brand New", "link": "https://www.ebay.com/itm/307222565766", "position": 1, "price": { "currency": "USD", "extracted": 144.62, "raw": "$144.62" }, "product_id": "307222565766", "title": "LEGO Star Wars: The Arrowhead (75186)" } ], "pagination": { "current": 1 }, "search_information": { "query_displayed": "lego star wars", "total_results": 1000 }, "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token" }