Ir al contenido
GET /v1/user

A Scratcher's 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/scratch-api

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

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/scratch-api/v1/user" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/scratch-api/v1/user", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/scratch-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/scratch-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": 1882674,
        "bio": "Got hooked on coding when I was a kid, now I'm a parent and nothing's changed! My day job involves java coding. In my spare time I love making games, being creative & drumming in church.",
        "image": "https://cdn2.scratch.mit.edu/get_image/user/1882674_90x90.png?v=",
        "joined": "2012-10-24T12:59:31.000Z",
        "country": "United Kingdom",
        "username": "griffpatch",
        "working_on": "YouTube Tutorials ▶️ www.youtube.com/griffpatch Me: @griffpatch_tutor | @Griffpatch-Academy Please don't spam: Max 1 ad per user a day",
        "profile_url": "https://scratch.mit.edu/users/griffpatch",
        "scratchteam": false,
        "account_age_days": 4976
    },
    "meta": {
        "timestamp": "2026-06-09T03:02:16.361Z",
        "request_id": "365f5d7c-0dfe-4322-be97-c2bb7dc353df"
    },
    "status": "ok",
    "message": "User retrieved successfully",
    "success": true
}