/v1/count
Exact bookmark count for URL(s)
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/hatenabookmark-api/v1/count" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hatenabookmark-api/v1/count", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hatenabookmark-api/v1/count");
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/hatenabookmark-api/v1/count",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "The exact Hatena Bookmark count for each URL — how many times the page has been bookmarked on the Japanese web, the clearest measure of the attention it has drawn there. Pass url (a single URL) or urls (comma-separated, up to 20). A count of 0 means no bookmarks (or the URL is unknown to Hatena). Live, cached ~10m.",
"count": 1,
"source": "Hatena Bookmark count API (bookmark.hatenaapis.com/count/entries), keyless",
"results": [
{
"url": "https://github.com/",
"bookmark_count": 1416
}
]
},
"meta": {
"timestamp": "2026-06-13T04:42:04.139Z",
"request_id": "36fe7e41-a1e4-4eac-95b0-935b2987cb6f"
},
"status": "ok",
"message": "Bookmark counts retrieved successfully",
"success": true
}