Obtiene las listas de seguidores y seguidos de cuentas de X, a bajo costo y sin límite de uso.
Para qué te sirve
- Conocer la audiencia de un competidor
- Encontrar posibles clientes
- Analizar a un influencer
Cómo empezar
- Entra a la herramienta con el botón "Probar gratis" y crea tu cuenta de Apify.
- Llena el formulario. Empieza con pocos resultados para gastar poco crédito.
- Dale "Start" y descarga el resultado en Excel o CSV desde "Storage".
Úsalo donde ya trabajas
Todo usa tu token de Apify. Cámbialo donde dice TU_TOKEN_DE_APIFY y no lo compartas. ¿Primera vez? Ve el curso gratis.
Pégalo en ChatGPT o Claude y llena tu objetivo.
Actúa como mi asistente de datos. Voy a usar el actor de Apify "kaitoeasyapi/premium-x-follower-scraper-following-data" (sacar seguidores y seguidos de cuentas de twitter (x)). Mi objetivo: [DESCRIBE QUÉ QUIERES LOGRAR, PARA QUÉ NEGOCIO Y EN QUÉ CIUDAD O NICHO] 1. Hazme máximo 3 preguntas si te falta algo para configurarlo. 2. Dame el JSON de input para pegar en Apify, empezando con pocos resultados para gastar poco crédito. 3. Dime qué columnas del resultado me van a importar y cuáles puedo ignorar. 4. Cuando te pase el CSV, sácame: - Conocer la audiencia de un competidor - Encontrar posibles clientes - Analizar a un influencer Y entrégame una tabla con los 10 mejores casos y por qué. No inventes datos: si algo no viene en el CSV, dímelo.
Copia, abre un workflow en n8n y pega con Ctrl+V. Lección de n8n.
{
"name": "Sacar seguidores y seguidos de cuentas de Twitter (X)",
"nodes": [
{
"parameters": {},
"name": "Inicio",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
0,
0
]
},
{
"parameters": {
"method": "POST",
"url": "https://api.apify.com/v2/acts/kaitoeasyapi~premium-x-follower-scraper-following-data/run-sync-get-dataset-items",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer TU_TOKEN_DE_APIFY"
}
]
},
"sendBody": true,
"specifyBody": "json",
"jsonBody": "{\n \"user_names\": [\n \"elonmusk\"\n ],\n \"user_ids\": [],\n \"maxFollowers\": 200,\n \"maxFollowings\": 200,\n \"getFollowers\": true,\n \"getFollowing\": true\n}",
"options": {
"timeout": 300000
}
},
"name": "Apify",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
260,
0
]
}
],
"connections": {
"Inicio": {
"main": [
[
{
"node": "Apify",
"type": "main",
"index": 0
}
]
]
}
}
}- Crea un escenario nuevo y agrega el módulo HTTP → "Make a request".
- URL: https://api.apify.com/v2/acts/kaitoeasyapi~premium-x-follower-scraper-following-data/run-sync-get-dataset-items
- Method: POST.
- Headers: Authorization = Bearer TU_TOKEN_DE_APIFY
- Body type: Raw, Content type: JSON (application/json). En Request content pega el input de abajo.
- Marca "Parse response" para que cada resultado salga como dato y puedas mandarlo a Google Sheets con un Iterator.
// npm install apify-client
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const input = {
"user_names": [
"elonmusk"
],
"user_ids": [],
"maxFollowers": 200,
"maxFollowings": 200,
"getFollowers": true,
"getFollowing": true
};
const run = await client.actor('kaitoeasyapi/premium-x-follower-scraper-following-data').call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length, 'resultados');
console.log(items[0]);# pip install apify-client
import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run_input = {
"user_names": [
"elonmusk"
],
"user_ids": [],
"maxFollowers": 200,
"maxFollowings": 200,
"getFollowers": true,
"getFollowing": true
}
run = client.actor("kaitoeasyapi/premium-x-follower-scraper-following-data").call(run_input=run_input)
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(len(items), "resultados")
print(items[0] if items else "sin resultados")curl -X POST "https://api.apify.com/v2/acts/kaitoeasyapi~premium-x-follower-scraper-following-data/run-sync-get-dataset-items" \
-H "Authorization: Bearer TU_TOKEN_DE_APIFY" \
-H "Content-Type: application/json" \
-d '{"user_names":["elonmusk"],"user_ids":[],"maxFollowers":200,"maxFollowings":200,"getFollowers":true,"getFollowing":true}'