Skip to main content
POST
/
api
/
ebay
/
items
/
sold
/ebay/items/sold
curl --request POST \
  --url https://api.anysite.io/api/ebay/items/sold \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "keyword": "<string>",
  "count": 5000,
  "timeout": 300,
  "sort": "ended_recently",
  "min_price": 1,
  "max_price": 1,
  "category_id": "<string>"
}
'
[
  {
    "id": "<string>",
    "url": "<string>",
    "@type": "@ebay_sold_item",
    "title": "<string>",
    "sold_price": 123,
    "currency": "<string>",
    "list_price": 123,
    "sold_date": "<string>",
    "condition": "<string>",
    "image": "<string>",
    "buying_format": "<string>",
    "bid_count": 123,
    "has_best_offer": false
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
keyword
string
required

Search keyword

Minimum string length: 1
Example:

"nintendo switch oled"

count
integer
required

Max number of sold listings to return

Required range: 1 <= x <= 10000
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
sort
enum<string>
default:ended_recently

Result ordering

Available options:
ended_recently,
price_high,
price_low
condition
enum<string> | null

Filter by item condition

Available options:
new,
open_box,
used,
parts
min_price
number | null

Minimum sold price

Required range: x >= 0
max_price
number | null

Maximum sold price

Required range: x >= 0
category_id
string | null

eBay category ID to scope the search

Response

Successful Response

id
string
required
url
string
required
@type
string
default:@ebay_sold_item
title
string | null
sold_price
number | null
currency
string | null
list_price
number | null
sold_date
string | null
condition
string | null
image
string | null
buying_format
string | null
bid_count
integer | null
has_best_offer
boolean
default:false