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
To get your Apify API token: open console.apify.com, click Settings in the left sidebar, then Integrations. Your personal API token is listed there, ready to copy.
The token lives in your account settings, not on any actor page. It is what lets your code or integration authenticate.
Step-by-step
- Go to console.apify.com and log in. Your token is in the console, under Settings.
- Click Settings in the left sidebar
- Click Integrations
- 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 the first thing you need. Copy it once and keep it in an environment variable or secret manager.
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.