Zum Inhalt springen
GET /v1/user

A user's profile by username or fid

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/farcaster-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/farcaster-api/v1/user" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/farcaster-api/v1/user", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/farcaster-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/farcaster-api/v1/user",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "user": {
            "bio": "Interested in technology and other stuff.",
            "fid": 3,
            "active": false,
            "pfp_url": "https://imagedelivery.net/BXluQx4ige9GuW0Ia56BHw/bc698287-5adc-4cc5-a503-de16963ed900/original",
            "username": "dwr",
            "followers": 345106,
            "following": 77,
            "power_badge": false,
            "profile_url": "https://warpcast.com/dwr",
            "display_name": "Dan Romero"
        }
    },
    "meta": {
        "timestamp": "2026-06-09T03:03:08.119Z",
        "request_id": "03a205c5-d54f-4828-b5a4-49feef7024d2"
    },
    "status": "ok",
    "message": "User retrieved successfully",
    "success": true
}