Μετάβαση στο περιεχόμενο
GET /v1/user

A mapper's profile by user id

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/openstreetmap-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "id": 1,
        "roles": [],
        "changesets": 1181,
        "gps_traces": 23,
        "description": null,
        "profile_url": "https://www.openstreetmap.org/user/Steve",
        "display_name": "Steve",
        "account_created": "2005-09-13T15:32:57Z",
        "blocks_received": 0,
        "account_age_days": 7573,
        "contributor_terms_agreed": true
    },
    "meta": {
        "timestamp": "2026-06-09T03:02:22.202Z",
        "request_id": "b000cea6-582f-4e7c-ab5f-0a6136aaf35c"
    },
    "status": "ok",
    "message": "User retrieved successfully",
    "success": true
}