# eBay Search

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.

Documentation: https://openany.si/market/apis/ebay/ebay-search-e33f65a8/?offering=bd49097e-10ee-41f1-9567-78e8169a7cb6
API ID: bd49097e-10ee-41f1-9567-78e8169a7cb6
Provider: litescrape
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/ebay/search
Page update time: 2026-12-03T02:48:49.271Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00015 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:48:48.783Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "150",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "eBay Search request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "timeout": {
          "type": "number",
          "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.",
          "maximum": 90
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "examples": [
        {
          "_ipg": 25,
          "_nkw": "lego star wars"
        }
      ],
      "properties": {
        "LH_ItemCondition": {
          "anyOf": [
            {
              "pattern": "^[0-9]{1,4}(\\|[0-9]{1,4}){0,9}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Condition IDs joined with |, such as 1000|3000.",
          "title": "Lh Itemcondition",
          "x-litescrape": {
            "formGroup": 2,
            "group": 2,
            "label": "Condition IDs",
            "summary": "Condition IDs joined with |, such as 1000|3000."
          }
        },
        "LH_PrefLoc": {
          "anyOf": [
            {
              "enum": [
                "Domestic",
                "Regional",
                "Worldwide"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Item location relative to the marketplace.",
          "title": "Lh Prefloc",
          "x-litescrape": {
            "formGroup": 1,
            "group": 1,
            "label": "Preferred item location",
            "summary": "Item location relative to the marketplace."
          }
        },
        "_blrs": {
          "anyOf": [
            {
              "const": "spell_auto_correct",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Exclude automatic spelling corrections.",
          "title": "Blrs",
          "x-litescrape": {
            "formGroup": 2,
            "group": 2,
            "label": "Spelling control",
            "summary": "Exclude automatic spelling corrections."
          }
        },
        "_dmd": {
          "anyOf": [
            {
              "enum": [
                "Grid",
                "List"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Result layout.",
          "title": "Dmd",
          "x-litescrape": {
            "formGroup": 3,
            "group": 3,
            "label": "Result layout",
            "summary": "Result layout."
          }
        },
        "_ipg": {
          "default": 50,
          "description": "Requested results per page. eBay may adjust the page size.",
          "enum": [
            25,
            50,
            100,
            200
          ],
          "title": "Ipg",
          "type": "integer",
          "x-litescrape": {
            "formGroup": 3,
            "group": 3,
            "label": "Results per page",
            "placeholder": "25",
            "summary": "Requested results per page. eBay may adjust the page size."
          }
        },
        "_nkw": {
          "anyOf": [
            {
              "maxLength": 500,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Search keywords. Required unless category_id is supplied.",
          "title": "Nkw",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Keywords",
            "placeholder": "lego star wars",
            "summary": "Search keywords. Required unless category_id is supplied."
          }
        },
        "_pgn": {
          "default": 1,
          "description": "Result page, starting at 1.",
          "maximum": 2147483647,
          "minimum": 1,
          "title": "Pgn",
          "type": "integer",
          "x-litescrape": {
            "formGroup": 3,
            "group": 3,
            "label": "Page",
            "summary": "Result page, starting at 1."
          }
        },
        "_salic": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "eBay item-location country ID, e.g. 1 US, 2 Canada, 3 UK.",
          "title": "Salic",
          "x-litescrape": {
            "formGroup": 1,
            "group": 1,
            "label": "Item country ID",
            "summary": "eBay item-location country ID, e.g. 1 US, 2 Canada, 3 UK."
          }
        },
        "_sasl": {
          "anyOf": [
            {
              "maxLength": 1000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Comma-separated eBay seller usernames.",
          "title": "Sasl",
          "x-litescrape": {
            "formGroup": 2,
            "group": 2,
            "label": "Seller usernames",
            "summary": "Comma-separated eBay seller usernames."
          }
        },
        "_saslop": {
          "default": 1,
          "description": "Include (1) or exclude (2) the sellers in _sasl.",
          "enum": [
            1,
            2
          ],
          "title": "Saslop",
          "type": "integer",
          "x-litescrape": {
            "formGroup": 2,
            "group": 2,
            "label": "Include or exclude sellers",
            "summary": "Include (1) or exclude (2) the sellers in _sasl."
          }
        },
        "_sop": {
          "default": 12,
          "description": "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
          ],
          "title": "Sop",
          "type": "integer",
          "x-litescrape": {
            "formGroup": 3,
            "group": 3,
            "label": "Sort order",
            "summary": "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."
          }
        },
        "_stpos": {
          "anyOf": [
            {
              "maxLength": 20,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Destination postal code used by eBay for shipping estimates.",
          "title": "Stpos",
          "x-litescrape": {
            "formGroup": 1,
            "group": 1,
            "label": "Shipping postal code",
            "summary": "Destination postal code used by eBay for shipping estimates."
          }
        },
        "_udhi": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Maximum item price.",
          "title": "Udhi",
          "x-litescrape": {
            "formGroup": 2,
            "group": 2,
            "label": "Maximum price",
            "summary": "Maximum item price."
          }
        },
        "_udlo": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Minimum item price.",
          "title": "Udlo",
          "x-litescrape": {
            "formGroup": 2,
            "group": 2,
            "label": "Minimum price",
            "summary": "Minimum item price."
          }
        },
        "buying_format": {
          "anyOf": [
            {
              "enum": [
                "Auction",
                "BIN",
                "BO"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Auction, Buy It Now (BIN), or accepts offers (BO).",
          "title": "Buying Format",
          "x-litescrape": {
            "formGroup": 2,
            "group": 2,
            "label": "Buying format",
            "summary": "Auction, Buy It Now (BIN), or accepts offers (BO)."
          }
        },
        "category_id": {
          "anyOf": [
            {
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "eBay category ID.",
          "title": "Category Id",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Category ID",
            "summary": "eBay category ID."
          }
        },
        "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."
          }
        },
        "popular_filters": {
          "anyOf": [
            {
              "maxLength": 4000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "eBay aspect filters as key=value pairs joined with &, with multiple values joined by |. Percent-encoded names are accepted.",
          "title": "Popular Filters",
          "x-litescrape": {
            "formGroup": 2,
            "group": 2,
            "label": "Popular filters",
            "summary": "eBay aspect filters as key=value pairs joined with &, with multiple values joined by |. Percent-encoded names are accepted."
          }
        },
        "show_only": {
          "anyOf": [
            {
              "maxLength": 100,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Comma-separated filters: FR, RPA, AS, Savings, SaleItems, Lots, Charity, AV, FS, LPickup.",
          "title": "Show Only",
          "x-litescrape": {
            "formGroup": 2,
            "group": 2,
            "label": "Show only",
            "summary": "Comma-separated filters: FR, RPA, AS, Savings, SaleItems, Lots, Charity, AV, FS, LPickup."
          }
        }
      },
      "title": "Request",
      "type": "object",
      "description": "Search eBay listings by keyword or category."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "organic_results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "condition": {
            "type": "string"
          },
          "link": {
            "type": "string"
          },
          "position": {
            "type": "integer"
          },
          "price": {
            "type": "object",
            "properties": {
              "currency": {
                "type": "string"
              },
              "extracted": {
                "type": "number"
              },
              "raw": {
                "type": "string"
              }
            }
          },
          "product_id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        }
      }
    },
    "pagination": {
      "type": "object",
      "properties": {
        "current": {
          "type": "integer"
        }
      }
    },
    "search_information": {
      "type": "object",
      "properties": {
        "query_displayed": {
          "type": "string"
        },
        "total_results": {
          "type": "integer"
        }
      }
    },
    "submit_feedback_for_this_response_here": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example
```bash
curl \
  '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"
}'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "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"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- litescrape: https://openany.si/market/apis/ebay/ebay-search-e33f65a8/?offering=bd49097e-10ee-41f1-9567-78e8169a7cb6

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
