Ir al contenido
GET /v1/user

User profile

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/twitterx-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/twitterx-api/v1/user" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/twitterx-api/v1/user", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/twitterx-api/v1/user");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/twitterx-api/v1/user",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "id": "11348282",
        "url": "https://x.com/NASA",
        "name": "NASA",
        "likes": 16797,
        "joined": "Wed Dec 19 20:20:32 +0000 2007",
        "tweets": 74051,
        "website": {
            "url": "http://www.nasa.gov/",
            "display_url": "nasa.gov"
        },
        "location": "Pale Blue Dot",
        "followers": 92086705,
        "following": 119,
        "protected": false,
        "avatar_url": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_normal.jpg",
        "banner_url": "https://pbs.twimg.com/profile_banners/11348282/1775567134",
        "description": "Making the seemingly impossible, possible. ✨",
        "media_count": 27976,
        "screen_name": "NASA",
        "verification": {
            "type": "government",
            "verified": true,
            "verified_at": null
        },
        "raw_description": {
            "text": "Making the seemingly impossible, possible. ✨",
            "facets": []
        }
    },
    "meta": {
        "timestamp": "2026-06-02T16:53:17.163Z",
        "request_id": "74cfb7c6-162b-4a85-850d-905f392ea754"
    },
    "status": "ok",
    "message": "User profile",
    "success": true
}