GET
/
api
/
v2
/
stockx
/
product
/
graph
curl --location --request GET 'https://piloterr.com/api/v2/stockx/product/graph?query=lego-star-wars-tie-fighter-set-9492&start_date=2022-01-01&end_date=2022-05-29' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <token>' \
[
    {
        "x": "2022-01-01T00:00:00.000Z",
        "y": 1375
    },
    {
        "x": "2022-01-02T11:45:36.000Z",
        "y": 1313
    },
    {
        "x": "2022-01-03T23:31:12.000Z",
        "y": 1313
    }
    ...
]
x-api-key
string
required

This parameter specifies the private key you’ll need for Piloterr access.

Parameters

query
string

Product query : air-jordan-3-retro-white-cement-reimagined. Please avoid using IDs such as c318bbcc-312a-4396-9252-698c203d1dea`.

start_date
string

Start date : 2021-01-01

end_date
string

End date : 2021-05-29

country
string

Country code : US or FR or GB

currency
string

Currency code : USD or EUR or GBP

Response

object
Graph List
x
string

Date

y
number

Price

curl --location --request GET 'https://piloterr.com/api/v2/stockx/product/graph?query=lego-star-wars-tie-fighter-set-9492&start_date=2022-01-01&end_date=2022-05-29' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <token>' \
[
    {
        "x": "2022-01-01T00:00:00.000Z",
        "y": 1375
    },
    {
        "x": "2022-01-02T11:45:36.000Z",
        "y": 1313
    },
    {
        "x": "2022-01-03T23:31:12.000Z",
        "y": 1313
    }
    ...
]