curl --request GET \
--url https://api.sorsa.io/v3/followers-stats \
--header 'ApiKey: <api-key>'import requests
url = "https://api.sorsa.io/v3/followers-stats"
headers = {"ApiKey": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {ApiKey: '<api-key>'}};
fetch('https://api.sorsa.io/v3/followers-stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sorsa.io/v3/followers-stats",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"ApiKey: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sorsa.io/v3/followers-stats"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("ApiKey", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sorsa.io/v3/followers-stats")
.header("ApiKey", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sorsa.io/v3/followers-stats")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["ApiKey"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"followers_count": 16,
"influencers_count": 12,
"projects_count": 3,
"user_protected": false,
"venture_capitals_count": 1
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}Estadísticas de categorías de seguidores
Devuelve un desglose de los seguidores por categoría de Sorsa: influencers, proyectos y empleados de fondos de capital de riesgo (VC). También indica si la cuenta está protegida. Si ya está indexada en la base de datos de Sorsa, la respuesta es rápida. En cuentas nuevas, la recopilación inicial puede tardar más, especialmente si tienen muchos seguidores. Identifica al usuario proporcionando exactamente uno de estos campos: user_link, username o user_id.
curl --request GET \
--url https://api.sorsa.io/v3/followers-stats \
--header 'ApiKey: <api-key>'import requests
url = "https://api.sorsa.io/v3/followers-stats"
headers = {"ApiKey": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {ApiKey: '<api-key>'}};
fetch('https://api.sorsa.io/v3/followers-stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sorsa.io/v3/followers-stats",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"ApiKey: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sorsa.io/v3/followers-stats"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("ApiKey", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sorsa.io/v3/followers-stats")
.header("ApiKey", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sorsa.io/v3/followers-stats")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["ApiKey"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"followers_count": 16,
"influencers_count": 12,
"projects_count": 3,
"user_protected": false,
"venture_capitals_count": 1
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}Autorizaciones
Parámetros de consulta
URL completa del perfil del usuario en Twitter/X.
Nombre de usuario en Twitter/X (sin @).
ID numérico del usuario de Twitter/X.
Respuesta
OK
Número total de seguidores clasificados.
16
Número de seguidores clasificados como influencers.
12
Número de seguidores clasificados como proyectos.
3
true si la cuenta de destino está protegida.
false
Número de seguidores clasificados como empleados de fondos de capital de riesgo.
1
¿Esta página le ayudó?