How to find your Apify API token

Find your Apify API token in the console, copy it safely, and use it with scripts, webhooks, integrations, and actor runs.

Reviewed by Try Apify Editorial

Docs pages are reviewed against current Apify workflows, common setup mistakes, and the claims we make on the page. Read our methodology or send a correction to hello@tryapify.com.

TL;DR

Log in to the Apify Console, open Settings, go to Integrations, and copy your personal API token. Treat it like a password and store it in an environment variable.

Where your Apify API token lives

If you searched for "Apify API token" or "how to get Apify API token," the answer is simple: it lives in your Apify account settings, not on the actor page.

Open console.apify.com, click Settings in the left sidebar, then open Integrations. Your personal API token is listed there, ready to copy.

If you searched Apify Console because you need the token for Apify API work, this is the right path. The console is the control panel; the token is what lets your code or integration authenticate.

Step-by-step

  1. Log in to your Apify account
  2. Open the Apify Console
  3. Click Settings
  4. Click Integrations
  5. Copy the value under Personal API token

What the token is for

Your token authenticates API requests. You need it when you want to:

  • Run actors from Python or JavaScript
  • Start jobs from your own backend
  • Fetch datasets and run logs over the API
  • Connect Apify to webhooks or automation tools

If you are setting up Apify integrations, this token is usually the first thing you need. Most people use it once and keep it in an environment variable or secret manager so they never have to paste it again.

Keep it out of the wrong places

Do not paste your Apify API token into public code, screenshots, or support threads. Store it in an environment variable instead.

export APIFY_API_TOKEN="your_token_here"

Quick example

Once you have the token, you can use it with the Apify client:

Python

from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")

JavaScript

import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });

Quick Answers

Q: Is the Apify API token the same as my password?

A: No, but it should be treated the same way. Keep it secret and do not paste it into public code.

Q: Do I need the token to run actors in the console?

A: No. You only need it when you want to run Apify from code or connect integrations outside the console.

Q: Where do I find Apify integrations?

A: In the console under Settings, then Integrations. That is where the token usually lives too.

What to read next

Once you have the token, go to the Apify API guide for full Python and JavaScript examples, or start with the getting started guide if you have not run your first actor yet.