/v1/claims
Claims for a property of an entity
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}