Skip to content
Pinner.xyz

Check Pin Status

Find out whether your content is queued, pinning, pinned, or failed.

import { Pinner } from "@lumeweb/pinner";
 
const pinner = new Pinner({ jwt: process.env.PINNER_AUTH_TOKEN! });
 
const pin = await pinner.pins.get(CID.parse("bafybeig..."));
console.log(pin.status);
// → "pinned"

What the statuses mean

StatusMeaning
queuedWaiting to be pinned
pinningPin is being processed
pinnedStored and retrievable
failedPinning failed; check the error message

For a deeper explanation of these states, see Pin Lifecycle.