Skip to content

Build a live Astar NFT activity feed

GET /v1/activity returns the newest canonical events first. Filter by collection or event type when the product has a narrower purpose.

Terminal window
curl -sS \
-H "Authorization: Bearer $ARADIA_API_TOKEN" \
"https://api.aradia.app/v1/activity?limit=50&event_type=transfer"

Start with a 12-second interval, close to Astar’s block time, and pause when the page is hidden. Keep a bounded set of recent transaction_hash plus log_index identities so every event is rendered once.

For older history, follow before_timestamp and before_id. For new events, request the first page again and deduplicate locally.