API
Read drops, collections and lids, and claim drops for NEAR accounts. Every endpoint is public and needs no key.
Base URL https://sit.shard.dog
Claim a drop in three calls
# 1. Look up the drop behind shard.dog/lids-xv1
curl "https://sit.shard.dog/api/channels/lids-xv1"
# → { "seriesId": "1764574026444", "contract": "treats.sharddog.near", … }
# 2. Check whether bob.near already has it
curl "https://sit.shard.dog/api/nft/claim-status/check?accountId=bob.near&tokenId=1764574026444&contract=treats.sharddog.near"
# → { "claimed": false, … }
# 3. Claim it for bob.near
curl -X POST "https://sit.shard.dog/api/check-slugs/mint" \
-H "Content-Type: application/json" \
-d '{"walletAddress": "bob.near", "seriesId": "1764574026444", "slug": "lids-xv1"}'Drops
Every drop has a slug (shard.dog/<slug>) and a series id. Most endpoints take either.
GET
/api/channels/{slug}A drop’s details: title, image, owner, contract and series id.
slugpath- Slug or series id
GET
/api/channels/listEvery drop an account has made, including inactive ones.
ownerquery- NEAR account
GET
/api/channels/{id}/claim-countClaims so far, and how many are left.
idpath- Slug or series id
GET
/api/channels/{id}/topupPrices for adding claims to a drop.
idpath- Slug or series id
Claiming
Claiming is free for the claimer. ShardDog pays the gas.
GET
/api/nft/claim-status/checkWhether an account has already claimed a drop.
accountIdquery- NEAR account
tokenIdquery- The drop’s seriesId
contractquery, optional- The drop’s contract. Recommended.
POST
/api/check-slugs/mintClaim a drop for an account.
walletAddressbody- NEAR account to receive it
seriesIdbody- The drop’s series id
slugbody, optional- The drop’s slug. Recommended.
inviteCodebody, optional- For invite-only drops
Claiming twice is safe: the second call says it’s already collected and mints nothing.
Collections
What people have collected.
GET
/api/getFeedAn account’s ShardDogs, newest first.
walletquery- NEAR account
GET
/api/users/{wallet}/statsAn account’s totals and collecting streaks.
walletpath- NEAR account
GET
/api/getStatsShardDog-wide totals.
Lids and creators
Sticker lids, the people who make drops, and who follows them.
GET
/api/lid/{account}An account’s lid: every sticker they hold, and where each sits.
accountpath- NEAR account
GET
/api/creators/{wallet}A creator’s public drops and follower count.
walletpath- The creator’s account
viewerquery, optional- Sets following for this account
GET
/api/follows/{account}Who an account follows, and those creators’ drops from the last 60 days.
accountpath- NEAR account
Images
Many older drop images are on IPFS links that no longer load directly.
GET
/api/mediaA drop image from an IPFS or Arweave link, found and cached for you.
urlquery- The image link
Images over 4MB redirect to where they’re stored.
Making drops
Make drops on the site at shard.dog/owner/create. Each drop includes 333 free claims. Add more any time, 1,000 for 5 NEAR.
