SPB Git

spb/rareindex

Public

# hibid — HiBid past catalogs (prices realized)

HiBid hosts thousands of regional auctioneers. The public Angular pages embed their Apollo GraphQL state in <script id="hibid-state">; this connector reads that JSON from two public page types only:

  • /auctions/past?apage=N — archived auctions of the current month window (25 per page);
  • /catalog/<id>/<slug>?apage=N — the catalog (100 lots per page) with lotState.priceRealized.

A sale is emitted for closed lots with a published price realized (hammer; premium charged separately → buyerPremiumIncluded=false, premium text in metadata). Currency = the auction's currencyAbbreviation. Lots are kept only when their HiBid category maps to the collectibles taxonomy (categories.ts); real estate, vehicles, equipment, household goods are skipped and firearms/ammunition are never emitted.

Cursor: { doneAuctions: number[], pastPage }; backfill walks the past pages and ends with done: true.

bash
set -a; . ./.env; set +a
pnpm tsx connectors/api/_g7-auctions-na-lib/smoke.ts api/hibid --limit 3 --capture catalog
pnpm vitest run connectors/api/hibid
Files · f83c5da5cb0efde9d75cc62be156c52ca2afe623
Menu

Theme