# 1. Log in to the wallet (a code is emailed to you)
npx -y awal auth login <email>
npx awal auth verify <code>
# 2. Fund the wallet address with USDC and a little ETH on Base
npx awal address
# 3. Buy a prepaid Apify token with x402
npx awal x402 pay 'https://agi.apify.com/protocols/x402/prepaid-tokens?amount=1¤cy=usd' --max-amount 1000000 --json
# 4. Run an actor and get its results in one call
curl -X POST "https://api.apify.com/v2/acts/fayoussef~autotrader-canada/run-sync-get-dataset-items" \
-H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" -d '{}'
Swap autotrader-canada for any actor name below and send that actor's input as the JSON body.
Agents can follow the ready-made
Apify x402 skill,
and the full steps are in Apify's x402 docs.