Skip to content

Latest commit

 

History

History
469 lines (273 loc) · 14.8 KB

File metadata and controls

469 lines (273 loc) · 14.8 KB

\EBayApi

All URIs are relative to https://scrapebadger.com

Method HTTP request Description
ebay_browse_a_category GET /v1/ebay/categories/{category_id}/items Browse a category
ebay_completed_sold_listings GET /v1/ebay/completed Completed / sold listings
ebay_ebay_scraper_health_check GET /v1/ebay/health eBay scraper health check
ebay_ebay_scraper_health_check_head HEAD /v1/ebay/health eBay scraper health check
ebay_get_item_detail GET /v1/ebay/items/{item_id} Get item detail
ebay_get_item_reviews GET /v1/ebay/items/{item_id}/reviews Get item reviews
ebay_get_seller_feedback GET /v1/ebay/sellers/{username}/feedback Get seller feedback
ebay_get_seller_listings GET /v1/ebay/sellers/{username}/items Get seller listings
ebay_get_seller_profile GET /v1/ebay/sellers/{username} Get seller profile
ebay_keyword_suggestions GET /v1/ebay/autocomplete Keyword suggestions
ebay_list_categories GET /v1/ebay/categories List categories
ebay_list_markets GET /v1/ebay/markets List markets
ebay_search_by_image POST /v1/ebay/search/by-image Search by image
ebay_search_listings GET /v1/ebay/search Search listings

ebay_browse_a_category

serde_json::Value ebay_browse_a_category(category_id, domain, page, per_page, sort_by, min_price, max_price) Browse a category

List active listings within an eBay category.

Parameters

Name Type Description Required Notes
category_id String [required]
domain Option<String> [default to com]
page Option<i32> [default to 1]
per_page Option<i32>
sort_by Option<String> best_match ending_soonest newly_listed
min_price Option<f64>
max_price Option<f64>

Return type

serde_json::Value

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ebay_completed_sold_listings

serde_json::Value ebay_completed_sold_listings(query, domain, category_id, page, per_page, sort_by, condition, min_price, max_price, location, language) Completed / sold listings

Search completed/sold listings — eBay's sold-price history. eBay pads a short result set with "results matching fewer words" and counts only the exact ones in pagination.total_results. Results come back in eBay's own ranking order with the exact matches first, and each one carries exact_match (true/false) so a price series can be built without parsing titles. An empty results with total_results: 0 is eBay's own answer and costs 0 credits — a fetch failure is never a 200.

Parameters

Name Type Description Required Notes
query String Search keywords [required]
domain Option<String> Marketplace domain (com, co.uk, de …) [default to com]
category_id Option<String> Restrict to a category id
page Option<i32> [default to 1]
per_page Option<i32> 60, 120 or 240
sort_by Option<String> best_match ending_soonest newly_listed
condition Option<String> new open_box refurbished
min_price Option<f64>
max_price Option<f64>
location Option<String> domestic worldwide
language Option<String> english japanese chinese

Return type

serde_json::Value

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ebay_ebay_scraper_health_check

serde_json::Value ebay_ebay_scraper_health_check() eBay scraper health check

Check health of the eBay scraper service (accepts HEAD for UptimeRobot).

Parameters

This endpoint does not need any parameter.

Return type

serde_json::Value

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ebay_ebay_scraper_health_check_head

serde_json::Value ebay_ebay_scraper_health_check_head() eBay scraper health check

Check health of the eBay scraper service (accepts HEAD for UptimeRobot).

Parameters

This endpoint does not need any parameter.

Return type

serde_json::Value

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ebay_get_item_detail

serde_json::Value ebay_get_item_detail(item_id, domain) Get item detail

Get a single eBay listing's full detail.

Parameters

Name Type Description Required Notes
item_id String [required]
domain Option<String> [default to com]

Return type

serde_json::Value

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ebay_get_item_reviews

serde_json::Value ebay_get_item_reviews(item_id, domain, page) Get item reviews

Get catalog product reviews shown on an eBay listing.

Parameters

Name Type Description Required Notes
item_id String [required]
domain Option<String> [default to com]
page Option<i32> [default to 1]

Return type

serde_json::Value

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ebay_get_seller_feedback

serde_json::Value ebay_get_seller_feedback(username, domain, page) Get seller feedback

Get a seller's recent feedback comments.

Parameters

Name Type Description Required Notes
username String [required]
domain Option<String> [default to com]
page Option<i32> [default to 1]

Return type

serde_json::Value

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ebay_get_seller_listings

serde_json::Value ebay_get_seller_listings(username, domain, query, page, per_page) Get seller listings

List the active listings of a single eBay seller.

Parameters

Name Type Description Required Notes
username String [required]
domain Option<String> [default to com]
query Option<String>
page Option<i32> [default to 1]
per_page Option<i32>

Return type

serde_json::Value

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ebay_get_seller_profile

serde_json::Value ebay_get_seller_profile(username, domain) Get seller profile

Get an eBay seller's public profile.

Parameters

Name Type Description Required Notes
username String [required]
domain Option<String> [default to com]

Return type

serde_json::Value

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ebay_keyword_suggestions

serde_json::Value ebay_keyword_suggestions(query, domain) Keyword suggestions

Return eBay keyword autocomplete suggestions.

Parameters

Name Type Description Required Notes
query String Partial query prefix [required]
domain Option<String> [default to com]

Return type

serde_json::Value

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ebay_list_categories

serde_json::Value ebay_list_categories() List categories

List eBay's top-level category ids.

Parameters

This endpoint does not need any parameter.

Return type

serde_json::Value

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ebay_list_markets

serde_json::Value ebay_list_markets() List markets

List all supported eBay marketplaces.

Parameters

This endpoint does not need any parameter.

Return type

serde_json::Value

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ebay_search_by_image

serde_json::Value ebay_search_by_image(request_body) Search by image

Search active listings by image, the way eBay's camera icon does. No sort_by: eBay ignores it on a visual results page.

Parameters

Name Type Description Required Notes
request_body std::collections::HashMap<String, serde_json::Value> [required]

Return type

serde_json::Value

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ebay_search_listings

serde_json::Value ebay_search_listings(query, domain, category_id, page, per_page, sort_by, condition, buying_format, min_price, max_price, free_shipping, location, language) Search listings

Search an eBay marketplace for active listings.

Parameters

Name Type Description Required Notes
query String Search keywords [required]
domain Option<String> Marketplace domain (com, co.uk, de …) [default to com]
category_id Option<String> Restrict to a category id
page Option<i32> [default to 1]
per_page Option<i32> 60, 120 or 240
sort_by Option<String> best_match ending_soonest newly_listed
condition Option<String> new open_box refurbished
buying_format Option<String> auction buy_it_now best_offer
min_price Option<f64>
max_price Option<f64>
free_shipping Option<bool> [default to false]
location Option<String> domestic worldwide
language Option<String> english japanese chinese

Return type

serde_json::Value

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]