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

# FAQ: API

> Generate an organization API access token and fetch the latest block number through the Tenderly API, with a pointer to the Simulation API.

<div className="flex flex-col gap-4 mt-8">
  <Card>
    <div className="flex flex-col gap-2">
      <h2 id="do-i-need-a-paid-plan-to-use-the-tenderly-api" className="text-xl font-semibold">Do I need a paid plan to use the Tenderly API?</h2>

      <hr className="dark:border-neutral-800" />

      <div>
        Yes. Generating API access tokens and using the Tenderly API are available on the paid plan. To enable them for your account, [contact our sales team](https://tenderly.co/contact-us) to schedule a call and discuss upgrading your plan.
      </div>
    </div>
  </Card>

  <Card>
    <div className="flex flex-col gap-2">
      <h2 id="how-can-i-generate-an-api-access-token-for-an-orga" className="text-xl font-semibold">
        How can I generate an API access token for an organization?
      </h2>

      <hr className="dark:border-neutral-800" />

      <div>
        To generate an [access token](/platform/account/projects/api-tokens), head over to the Organizations page in the Tenderly Dashboard.

        Once you open the page, click on your organization and go to the Access Tokens tab. Next, click the **New Access
        Token** button, add a token label, and click **Generate**.
      </div>
    </div>
  </Card>

  <Card>
    <div className="flex flex-col gap-2">
      <h2 id="how-can-i-fetch-the-latest-block-via-api" className="text-xl font-semibold">
        How can I fetch the latest block via API?
      </h2>

      <hr className="dark:border-neutral-800" />

      <div>
        You can use the following API endpoint to fetch the latest block number. For programmatic transaction simulation, see the [Simulation API](/simulations/quickstart):

        ```bash title="example" showLineNumbers theme={"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}}
        GET https://api.tenderly.co/api/v1/network/{network-id}/block-number
        ```
      </div>
    </div>
  </Card>
</div>
