> ## Documentation Index
> Fetch the complete documentation index at: https://docs.validationcloud.io/llms.txt
> Use this file to discover all available pages before exploring further.

# getindexinfo

Returns the status of one or all available indices currently running in the node.

This method will use `10` [Compute Units](/nodeapi/about/billing).

***

## **Reference:** [**Here**](https://developer.bitcoin.org/reference/rpc/getindexinfo.html)

## **Parameters**

**`index_name`** - **string, optional**

Filter results for an index with a specific name.

## Returns

```json theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
{                               (json object)
  "name" : {                    (json object) The name of the index
    "synced" : true|false,      (boolean) Whether the index is synced or not
    "best_block_height" : n     (numeric) The block height to which the index is synced
  }
}
```

<CodeGroup>
  ```bash title="mainnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
  curl https://mainnet.bitcoin.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
   -X POST \
   -H "Content-Type: application/json" \
   -d '{
  	"jsonrpc": "1.0",
  	"id": "curltest",
  	"method": "getindexinfo",
  	"params": []
  }'
  ```

  ```bash title="testnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
  curl https://testnet.bitcoin.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
   -X POST \
   -H "Content-Type: application/json" \
   -d '{
  	"jsonrpc": "1.0",
  	"id": "curltest",
  	"method": "getindexinfo",
  	"params": []
  }'
  ```
</CodeGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.