# Get UTXO Info

{% openapi src="/files/aIRMkbOHCqWLAooSGDx6" path="/v1/indexer/utxo/{txid}/{index}" method="get" %}
[swagger.yaml](https://3523236551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ4NHAHIVnWQiEecvs1By%2Fuploads%2FAb1MQjWXpVkDe4owSJwn%2Fswagger.yaml?alt=media\&token=00abbd0c-0a47-4bbf-9509-f8acae430446)
{% endopenapi %}

The return result of this UTXO interface will have three scenarios:<br>

1. When UTXO has not been spent, it will return the information of this UTXO, and `isSpent` will be set to false.

<figure><img src="/files/1uYxRDkmaEACSNdkzqSx" alt=""><figcaption></figcaption></figure>

2. When UTXO has been spent, but the transaction that spent it has not yet been confirmed, it will return the information of this UTXO, and `isSpent` will be set to true.

<figure><img src="/files/62eXOp5RT4aVPtOMvadJ" alt=""><figcaption></figcaption></figure>

3. When UTXO has been spent and the transacted spend has been confirmed, it will return null.

<figure><img src="/files/D9yp4gGee4pyZtUWCd8V" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.unisat.io/developer-support/open-api-documentation/api-for-fractal-bitcoin/general/transactions/get-utxo-info.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
