# Set up an API GET request for detail page - Xano

{% hint style="info" %}
Remember that you can use the Xano API Wizard to automatically set up the GET requests for list and detail page. Also, if you want to import an API definition (Open API, Swagger or Postman), you can do that with the [import wizard](/connect-api/set-up-api-requests/creating-an-api-collection.md).
{% endhint %}

This tutorial is a continuation after setting up a GET request for a list page. If you haven't done that yet, check out:

{% content-ref url="/pages/mxZBecBvHKNNSE9Q34yP" %}
[Set up an API GET request for list page - Xano](/connect-api/set-up-api-requests/creating-an-api-collection/xano/set-up-an-api-get-request-for-list-page-xano.md)
{% endcontent-ref %}

Here is how to set up a **GET request** to display content based on the list item you clicked in the previous app screen.

## How to set up GET request for a detail page

&#x20;1\. In the collection where you already created the GET request for the list page, **add a new request** and **edit the name** to help you identify it.

![](/files/MyHjrzbahXnJ7J9tq83C)

![](/files/n7PUoujoxZxxlEug5t0Z)

2\. **Copy and Paste the URL for a detail page request.** This type of request will return a single record of data, from the data list we obtained in the list page request.

<figure><img src="/files/80aSRmWBFGTOeMH7NnSj" alt=""><figcaption></figcaption></figure>

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

In this URL, add the $ sign before the ID that is given for Xano. This is necessary for Bravo to connect the app with Xano.

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

{% hint style="info" %}
Check out [this video](https://www.youtube.com/watch?v=PLcgXR1OoAc) to learn more about Bravo variables.
{% endhint %}

3\. Now, we have to set the variable value. For this, go to Xano and click the Run & Debug button.

![](/files/J8R2jwzAn04S7fSAtpeC)

By default, Xano gives you the value 0, and we have to give it the value 1.

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

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

And now we copy this Variable name and the test Value in our request.

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

Press `Send`. You have successfully set up the detail GET request if **receive a response** under Received Data.&#x20;

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

Select the data\[].id that it will connect the requests.

5\. Now you can do the binding. Happy bravorazing!


---

# 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.bravostudio.app/connect-api/set-up-api-requests/creating-an-api-collection/xano/data-library-connect-to-any-api-get-request-for-detail-page-xano.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.
