{"openapi":"3.1.0","info":{"title":"eBay Global Listings Prices and Sellers (x402 & MCP)","version":"0.1.0","description":"Live eBay listings, prices, conditions, shipping and seller details across 17 country marketplaces, one row per listing.","x-guidance":"Structured real-time web intelligence APIs paid per delivered row in USDC via x402. All endpoints are synchronous at POST /s/<site>/v1/<endpoint> and also exposed over stateless MCP at POST /mcp. Supports x402 v2 'upto' (Permit2, charged strictly for delivered rows) and 'exact' (EIP-3009). Empty/0-row (404), invalid input (422), timeout (504), and upstream failures (502) are never charged.","contact":{"email":"ops@opendata.best"}},"servers":[{"url":"https://x402.opendata.best"}],"paths":{"/s/ebay-com/v1/search":{"post":{"operationId":"ebay_com_search","summary":"eBay Global Listings Prices and Sellers: Search eBay listings or browse deals across 17 markets","description":"Listing rows filtered by keyword, market, category, condition, buyItNow, price bounds and sort order. Unit price: $0.003000/row USDC (default quote 5 rows, max 10 rows). Unsettled / 0-row / error responses are never charged.","tags":["ebay-com","eCommerce"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.015000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"type":"string","description":"Choose automatically from the filled target, search by keyword, collect one seller's live inventory, or collect current promotional listings from the market's deals hub (available in US, GB, DE, FR, IT, ES, AU, CA, and PL; not available in SG or MY).","default":"auto","enum":["auto","search","deals"]},"keyword":{"type":"string","description":"What to search for (e.g. 'iphone 15', 'gaming laptop', 'air fryer'). Needed for keyword search; only a label in seller mode. Empty with no seller = a small example run."},"market":{"type":"string","description":"Choose the eBay country site and its associated currency. This does not restrict sellers to that country.","default":"US","enum":["US","GB","DE","FR","IT","ES","AU","CA","NL","AT","CH","IE","PL","BE","HK","SG","MY"]},"category":{"type":"string","description":"Choose a top-level category for keyword search. A supplied categoryId overrides this choice; seller inventory ignores this filter.","default":"all","enum":["all","motors","antiques","art","baby","books","business-industrial","cameras-photo","cell-phones","fashion","coins","collectibles","computers","electronics","crafts","dolls-bears","movies-tv","entertainment-memorabilia","health-beauty","home-garden","jewelry-watches","music","musical-instruments","pet-supplies","pottery-glass","real-estate","specialty-services","sporting-goods","sports-memorabilia","stamps","tickets","toys-hobbies","travel","video-games","everything-else"]},"categoryId":{"type":"string","description":"Numeric eBay category identifier for keyword search, such as 9355. Overrides category; seller inventory ignores it.","pattern":"^[0-9]*$"},"condition":{"type":"string","description":"Filter keyword search by new, refurbished, or used condition; empty means any condition. Seller inventory ignores this filter.","default":"","enum":["","new","refurbished","used"]},"buyItNow":{"type":"boolean","description":"Restrict keyword search to Buy It Now listings. Seller inventory ignores this filter.","default":false},"minPrice":{"type":"number","description":"Minimum keyword-search price in the selected market currency. Seller inventory ignores this filter."},"maxPrice":{"type":"number","description":"Maximum keyword-search price in the selected market currency. Seller inventory ignores this filter."},"sortBy":{"type":"string","description":"Choose the keyword-search ordering. Seller inventory ignores this setting.","default":"best_match","enum":["best_match","price_asc","price_desc","newly_listed","ending_soonest"]},"enrichDetails":{"type":"boolean","description":"Enabled by default: adds available seller, store, price, and item-location details to the same listing row. If time is short, some rows retain only their search fields; phone numbers and email addresses are not collected.","default":true},"maxResults":{"type":"integer","description":"Most listing rows to deliver for the keyword or seller, from 1 to 500; default 70. The maximum cost can lower this limit; Free-plan users get up to 200 rows per run and 10 runs of this Actor.","default":5,"minimum":1,"maximum":10}},"additionalProperties":false},"example":{"keyword":"iphone 15","market":"US","enrichDetails":false,"maxResults":5}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_ebay_com"},"example":{"jobId":"job_ebay-com_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"market":"example_market","title":"example_title","price":10,"currency":"example_currency","condition":"example_condition","shipping":"example_shipping"}],"meta":{"site":"ebay-com","endpoint":"search","maxResults":5,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":15000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/ebay-com/v1/sellers":{"post":{"operationId":"ebay_com_sellers","summary":"eBay Global Listings Prices and Sellers: Collect listings for a specific eBay seller","description":"Listing rows and feedback attributes for an eBay seller username. Unit price: $0.003000/row USDC (default quote 5 rows, max 10 rows). Unsettled / 0-row / error responses are never charged.","tags":["ebay-com","eCommerce"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.015000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"seller":{"type":"string","description":"The eBay seller username whose live inventory to collect (e.g. 'cocosprinkles'). Filling this runs seller mode when Mode is Auto."},"keyword":{"type":"string","description":"What to search for (e.g. 'iphone 15', 'gaming laptop', 'air fryer'). Needed for keyword search; only a label in seller mode. Empty with no seller = a small example run."},"market":{"type":"string","description":"Choose the eBay country site and its associated currency. This does not restrict sellers to that country.","default":"US","enum":["US","GB","DE","FR","IT","ES","AU","CA","NL","AT","CH","IE","PL","BE","HK","SG","MY"]},"minSellerFeedback":{"type":"integer","description":"Minimum feedback count used when selecting a suggested seller. Predefined seller suggestions remain eligible regardless of this setting.","minimum":0},"condition":{"type":"string","description":"Filter keyword search by new, refurbished, or used condition; empty means any condition. Seller inventory ignores this filter.","default":"","enum":["","new","refurbished","used"]},"buyItNow":{"type":"boolean","description":"Restrict keyword search to Buy It Now listings. Seller inventory ignores this filter.","default":false},"sortBy":{"type":"string","description":"Choose the keyword-search ordering. Seller inventory ignores this setting.","default":"best_match","enum":["best_match","price_asc","price_desc","newly_listed","ending_soonest"]},"enrichDetails":{"type":"boolean","description":"Enabled by default: adds available seller, store, price, and item-location details to the same listing row. If time is short, some rows retain only their search fields; phone numbers and email addresses are not collected.","default":true},"maxResults":{"type":"integer","description":"Most listing rows to deliver for the keyword or seller, from 1 to 500; default 70. The maximum cost can lower this limit; Free-plan users get up to 200 rows per run and 10 runs of this Actor.","default":5,"minimum":1,"maximum":10}},"additionalProperties":false},"example":{"seller":"best_buy","market":"US","maxResults":5}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_ebay_com"},"example":{"jobId":"job_ebay-com_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"market":"example_market","title":"example_title","price":10,"currency":"example_currency","condition":"example_condition","shipping":"example_shipping"}],"meta":{"site":"ebay-com","endpoint":"sellers","maxResults":5,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":15000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/ebay-com/v1/health":{"get":{"operationId":"ebay_com_health","summary":"eBay Global Listings Prices and Sellers: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["ebay-com","health"],"responses":{"200":{"description":"Operational","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"charged":{"type":"boolean"}}},"ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}},"Row_ebay_com":{"type":"object","properties":{"market":{"type":["string","number","boolean","object","array","null"]},"title":{"type":["string","number","boolean","object","array","null"]},"price":{"type":["number","string","null"]},"currency":{"type":["string","number","boolean","object","array","null"]},"condition":{"type":["string","number","boolean","object","array","null"]},"shipping":{"type":["string","number","boolean","object","array","null"]},"rating":{"type":["number","string","null"]},"itemUrl":{"type":["string","null"],"format":"uri"}},"additionalProperties":true},"Response_ebay_com":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string"},"done":{"type":"boolean"},"rowCount":{"type":"integer","minimum":1},"rowsBilled":{"type":"integer","minimum":1},"rowsDelivered":{"type":"integer","minimum":1},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row_ebay_com"}},"meta":{"type":"object","properties":{"site":{"type":"string"},"endpoint":{"type":"string"},"maxResults":{"type":"integer"},"payment":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"quotedMicrousd":{"type":"integer"},"settledMicrousd":{"type":"integer"},"transaction":{"type":"string"},"payer":{"type":"string"}}}}}},"required":["jobId","status","done","rowCount","rows"]}}},"x-discovery":{"ownershipProofs":["0xdb7c562a3ef6f9f29da4672abdab1489e82e910a91b863e3c22b905df6522b7223798a84245e0452cab689483b6cbb7cd8c13141319df982b213dea31ee7e4311c"]}}