# /v3/estimated-price

## Get historical daily estimated price

<mark style="color:blue;">`GET`</mark> `https://api.nftbank.ai/v3/estimated-price/:network_id/:asset_contract/:token_id`

This endpoint allows you to get historical estimated prices.

#### Path Parameters

| Name                                              | Type   | Description                               |
| ------------------------------------------------- | ------ | ----------------------------------------- |
| network\_id<mark style="color:red;">\*</mark>     | String | ethereum / matic                          |
| asset\_contract<mark style="color:red;">\*</mark> | String | The asset contract address of NFT project |
| token\_id<mark style="color:red;">\*</mark>       | String | The token ID of the NFT project           |

#### Query Parameters

| Name        | Type   | Description             |
| ----------- | ------ | ----------------------- |
| start\_date | String | for example: 2022-06-01 |
| end\_date   | String | for example: 2022-06-05 |

#### Headers

| Name                                        | Type   | Description                                  |
| ------------------------------------------- | ------ | -------------------------------------------- |
| x-api-key<mark style="color:red;">\*</mark> | string | API key request via \[API key request] link. |

{% tabs %}
{% tab title="200 Cake successfully retrieved." %}

```
{
    "data": [
        {
            "estimatedPriceEth": "245.106694977666961677",
            "processedAt": "2022-05-20T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "240.758202712365289244",
            "processedAt": "2022-05-21T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "260.739795352682165230",
            "processedAt": "2022-05-22T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "230.379640625894410277",
            "processedAt": "2022-05-23T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "242.542209145351534971",
            "processedAt": "2022-05-24T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "257.419635935314431663",
            "processedAt": "2022-05-25T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "269.927952984344813103",
            "processedAt": "2022-05-26T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "249.029326737429840932",
            "processedAt": "2022-05-27T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "257.153830965227541583",
            "processedAt": "2022-05-28T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "248.596109566667934132",
            "processedAt": "2022-05-29T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "245.547200409165270685",
            "processedAt": "2022-05-30T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "296.743321608524240673",
            "processedAt": "2022-05-31T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "269.802803916100003789",
            "processedAt": "2022-06-01T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "160.904689432328410703",
            "processedAt": "2022-06-02T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "163.086414470856908565",
            "processedAt": "2022-06-03T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "161.931107117959982133",
            "processedAt": "2022-06-04T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "161.983744216539093941",
            "processedAt": "2022-06-05T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "157.443260938765121182",
            "processedAt": "2022-06-06T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "170.237530351220812008",
            "processedAt": "2022-06-07T00:00:00+00:00"
        }
    ],
    "message": "OK",
    "statusCode": 20000
}
```

{% endtab %}
{% endtabs %}

<mark style="color:blue;">**curl request example**</mark>

```bash
curl -i -H "x-api-key: YOUR_API_KEY" \
  "https://api.nftbank.ai/v3/estimated-price/ethereum/0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D/1?start_date=2022-05-20&end_date=2022-06-07"
```

<mark style="color:blue;">**curl response example**</mark>

```json
{
    "data": [
        {
            "estimatedPriceEth": "245.106694977666961677",
            "processedAt": "2022-05-20T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "240.758202712365289244",
            "processedAt": "2022-05-21T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "260.739795352682165230",
            "processedAt": "2022-05-22T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "230.379640625894410277",
            "processedAt": "2022-05-23T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "242.542209145351534971",
            "processedAt": "2022-05-24T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "257.419635935314431663",
            "processedAt": "2022-05-25T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "269.927952984344813103",
            "processedAt": "2022-05-26T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "249.029326737429840932",
            "processedAt": "2022-05-27T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "257.153830965227541583",
            "processedAt": "2022-05-28T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "248.596109566667934132",
            "processedAt": "2022-05-29T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "245.547200409165270685",
            "processedAt": "2022-05-30T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "296.743321608524240673",
            "processedAt": "2022-05-31T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "269.802803916100003789",
            "processedAt": "2022-06-01T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "160.904689432328410703",
            "processedAt": "2022-06-02T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "163.086414470856908565",
            "processedAt": "2022-06-03T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "161.931107117959982133",
            "processedAt": "2022-06-04T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "161.983744216539093941",
            "processedAt": "2022-06-05T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "157.443260938765121182",
            "processedAt": "2022-06-06T00:00:00+00:00"
        },
        {
            "estimatedPriceEth": "170.237530351220812008",
            "processedAt": "2022-06-07T00:00:00+00:00"
        }
    ],
    "message": "OK",
    "statusCode": 20000
}
```
