Naar de inhoud
GET /v1/recent

Topics actively receiving messages right now

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/hederatopic-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "Topics that are actively receiving HCS messages right now, derived from the latest consensus-submit transactions. Use these ids with /v1/topic and /v1/messages.",
        "count": 6,
        "source": "Hedera mirror node",
        "topics": [
            {
                "topic_id": "0.0.368908",
                "last_payer": null,
                "submit_count_in_window": 8,
                "last_consensus_timestamp": "1781424220.839574000"
            },
            {
                "topic_id": "0.0.10528714",
                "last_payer": null,
                "submit_count_in_window": 3,
                "last_consensus_timestamp": "1781424193.401842358"
            },
            {
                "topic_id": "0.0.10387802",
                "last_payer": null,
                "submit_count_in_window": 1,
                "last_consensus_timestamp": "1781424222.460302000"
            },
            {
                "topic_id": "0.0.10387219",
                "last_payer": null,
                "submit_count_in_window": 1,
                "last_consensus_timestamp": "1781424212.604674281"
            },
            {
                "topic_id": "0.0.10584419",
                "last_payer": null,
                "submit_count_in_window": 1,
                "last_consensus_timestamp": "1781424194.839376000"
            },
            {
                "topic_id": "0.0.10490174",
                "last_payer": null,
                "submit_count_in_window": 1,
                "last_consensus_timestamp": "1781424186.671312000"
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-14T08:03:49.822Z",
        "request_id": "66ac1a82-346e-4dca-a3af-5131970cd9a8"
    },
    "status": "ok",
    "message": "Recent topics retrieved successfully",
    "success": true
}