eBay scraper

ExtractHub extractors are versioned web scrapers: each one is a saved scraper for one kind of page that returns structured JSON through an API. For eBay (ebay.com) there are 2 public extractors: eBay - search results and eBay - item page. Together they return fields such as resultsSummary, totalResults, listings, nextPageUrl, title, url, price, currency and 17 more fields. Call one with your API key and a pinned extractor_id, from the REST API, the Batch API or an AI agent over MCP.

eBay scrapers on ExtractHub

  • ebay.com · @extracthub1/ebay-search@1 (v1.0.0)

    eBay.com search results page (/sch/i.html?_nkw=...): the listings on the page with item id, title, link, image, price, original price, condition, subtitle details, buying format, shipping, location and seller feedback, plus the total result count and the next page link.

    Fields: resultsSummary , totalResults , listings , nextPageUrl

    eBay - search results scraper: fields, versions and examples →
  • ebay.com · @extracthub1/ebay-item@1 (v1.0.0)

    eBay.com item page (/itm/ID): title, price, currency, list price, condition, availability, quantity available and sold, shipping cost, return window, brand, model, seller and feedback, item specifics, images and category breadcrumb.

    Fields: title , url , price , currency , priceText , listPrice , condition , availability , quantityAvailable , soldCount and 11 more

    eBay - item page scraper: fields, versions and examples →

How to call the eBay scraper API

Every call needs your API key (X-API-Key) and a pinned extractor_id. This example uses @extracthub1/ebay-search@1 (eBay - search results); open an extractor's page for its batch, Python and Node examples.

REST: realtime extract
curl -X POST "https://api.extracthub.io/api/extractor/extract" \
  -H "X-API-Key: $EXTRACTHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "extractor_id": "@extracthub1/ebay-search@1",
    "target": { "url": "https://ebay.com/..." }
  }'
MCP: ask your agent (server https://api.extracthub.io/mcp), which calls the extract tool
Use ExtractHub to extract https://ebay.com/... with @extracthub1/ebay-search@1
{
  "tool": "extract",
  "arguments": {
    "extractor_id": "@extracthub1/ebay-search@1",
    "url": "https://ebay.com/..."
  }
}

See the web scraping API reference and the web scraping MCP server setup.

Need another eBay page type?

Build your own eBay scraper with an AI agent and the extractor builder skill, or in ExtractHub Studio. It stays private until you release it.

eBay scraper: frequently asked questions

Is there a ready-made eBay scraper?

Yes. ExtractHub lists 2 public extractors for ebay.com. An extractor is a versioned web scraper for one kind of page: its owner released it as an immutable version with an output schema, and you call that version with your own API key.

What data can I scrape from eBay?

eBay - search results returns resultsSummary, totalResults, listings and nextPageUrl. eBay - item page returns title, url, price, currency, priceText, listPrice and 15 more. Every field is listed on the extractor's page with a sample response.

How do I call the eBay scraper API?

Send GET or POST https://api.extracthub.io/api/extractor/extract with your API key in the X-API-Key header, extractor_id=@extracthub1/ebay-search@1 and the URL of a ebay.com page as the target. For many URLs use POST https://api.extracthub.io/api/extractor/batch. AI agents call the same extractor through the extract tool of the ExtractHub MCP server at https://api.extracthub.io/mcp.

Can I build my own eBay scraper?

Yes. Build an extractor for any eBay page type in ExtractHub Studio, or let an AI agent such as Claude Code build, test and release it with the open-source extractor builder skill. New extractors are private until you release them.