/v1/claims
Claims for a property of an entity
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/wikidata-api/v1/claims" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wikidata-api/v1/claims", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wikidata-api/v1/claims");
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/wikidata-api/v1/claims",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"claims": [
{
"count": 2,
"property": "P69",
"statements": [
{
"rank": "normal",
"value": {
"type": "entity",
"value": "Q4961791"
},
"qualifiers": [
"P582",
"P580"
]
},
{
"rank": "normal",
"value": {
"type": "entity",
"value": "Q691283"
},
"qualifiers": [
"P812",
"P512",
"P580",
"P582"
]
}
]
}
],
"entity": "Q42",
"property": "P69",
"property_count": 1,
"total_statements": 2
},
"meta": {
"timestamp": "2026-06-01T08:14:05.438Z",
"request_id": "8ef198c4-9dff-4ec8-819a-7ad6d84783e3"
},
"status": "ok",
"message": "Claims retrieved",
"success": true
}