Skip to content

Build an enriched NFT profile feed

An enriched profile is a composition, not a single endpoint:

  1. Load current holdings with GET /v1/owners/{address}/nfts.
  2. Deduplicate collection_address, then fetch each collection once.
  3. Fetch transfer history only for the visible tokens that need a timeline.
  4. Prefer media_url, then fall back to image_url.
Terminal window
OWNER=0x0000000000000000000000000000000000000002
curl -sS -H "Authorization: Bearer $ARADIA_API_TOKEN" \
"https://api.aradia.app/v1/owners/$OWNER/nfts?limit=100"

Do not request collection details once per NFT. Forty NFTs from six collections require six detail requests, not forty. Fetch transfer history only when a token is visible or its timeline is opened.

For a chronological profile feed, merge the selected transfer arrays by block_timestamp and deduplicate with transaction_hash plus log_index.