# Get Tickers List

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

GET https://bitcoin-mainnet.g.alchemy.com/v2/{apiKey}/api/v2/tickers-list/

Returns the list of available currency rate tickers (secondary currencies) for a given timestamp, along with the actual data timestamp.

> **Heads up**: this endpoint currently returns HTTP 503 `Unable to complete request at this > time` on the Alchemy proxy. The schema and request shape below are documented for > reference; "Try It" will not return live data until the upstream service is restored.


Reference: https://www.alchemy.com/docs/chains/bitcoin/utxo-api-endpoints/utxo-api-endpoints/get-tickers-list

## Path Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| apiKey | string | Yes | For higher throughput, [create your own API key](https://dashboard.alchemy.com/signup) |

## Query Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| timestamp | integer | Yes | Unix timestamp for the requested currency list. |
| token | string | No | Token symbol or contract/address key for token-specific rates. |

## Code Examples

### cURL

```bash
curl --request GET \
  --url 'https://bitcoin-mainnet.g.alchemy.com/v2/docs-demo/api/v2/tickers-list/?timestamp=1574346615'
```

### JavaScript

```javascript
const options = {method: 'GET'};

fetch('https://bitcoin-mainnet.g.alchemy.com/v2/docs-demo/api/v2/tickers-list/?timestamp=1574346615', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://bitcoin-mainnet.g.alchemy.com/v2/docs-demo/api/v2/tickers-list/?timestamp=1574346615"

response = requests.get(url)

print(response.text)
```

### Go

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://bitcoin-mainnet.g.alchemy.com/v2/docs-demo/api/v2/tickers-list/?timestamp=1574346615"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(string(body))

}
```

### Java

```java
HttpResponse<String> response = Unirest.get("https://bitcoin-mainnet.g.alchemy.com/v2/docs-demo/api/v2/tickers-list/?timestamp=1574346615")
  .asString();
```

### C#

```csharp
using RestSharp;


var options = new RestClientOptions("https://bitcoin-mainnet.g.alchemy.com/v2/docs-demo/api/v2/tickers-list/?timestamp=1574346615");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.GetAsync(request);

Console.WriteLine("{0}", response.Content);

```


## Operation Specification

```yaml
path: /{apiKey}/api/v2/tickers-list/
method: GET
operation:
  operationId: getTickersList
  summary: Get Tickers List
  description: |
    Returns the list of available currency rate tickers (secondary currencies) for a given timestamp, along with the actual data timestamp.

    > **Heads up**: this endpoint currently returns HTTP 503 `Unable to complete request at this > time` on the Alchemy proxy. The schema and request shape below are documented for > reference; "Try It" will not return live data until the upstream service is restored.
  tags:
    - UTXO API Endpoints
  parameters:
    - name: apiKey
      in: path
      required: true
      schema:
        type: string
        default: docs-demo
      description: For higher throughput, [create your own API key](https://dashboard.alchemy.com/signup)
    - in: query
      name: timestamp
      required: true
      description: Unix timestamp for the requested currency list.
      schema:
        type: integer
        example: 1574346615
    - in: query
      name: token
      required: false
      description: Token symbol or contract/address key for token-specific rates.
      schema:
        type: string
  responses:
    '200':
      description: Available tickers.
      content:
        application/json:
          schema:
            type: object
            properties:
              ts:
                type: integer
              available_currencies:
                type: array
                items:
                  type: string
          example:
            ts: 1574346615
            available_currencies:
              - eur
              - usd
    '400':
      description: Malformed request.
      content:
        application/json:
          schema:
            type: object
            required:
              - error
            properties:
              error:
                type: string
                description: Human-readable error message.
          example:
            error: invalid request
```
