# Get a website by ID

Video Link: <https://youtu.be/9jbPYJddaF4>

API to get data of all the pages of a single website.

{% hint style="info" %}
Use Cases:

* To get all data needed to render every page in a single API call
  {% endhint %}

{% hint style="info" %}
To access all pages of a single website, you need an **Access Token** as well as **Website Id** for that particular website.
{% endhint %}

1. Enter the Access token in Authentication block on the right, to access APIs. \
   And enter website Id in the highlighted column (in the below image).

<figure><img src="https://387507878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FycQB8h7OUwrj2xCwvIQS%2Fuploads%2FjAwTFHJfgUHa8wQ27YLv%2Fimage.png?alt=media&#x26;token=ccd2f3e0-833e-4538-9b02-244218d3282d" alt=""><figcaption></figcaption></figure>

2. Click on **Try It!** button. and you will get the API in **Response** tab.

<figure><img src="https://387507878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FycQB8h7OUwrj2xCwvIQS%2Fuploads%2F1MaEh1SuwfWHeXrGqRXa%2Fimage.png?alt=media&#x26;token=542b0940-e057-4645-bc15-caa5e0f7711b" alt=""><figcaption></figcaption></figure>
