Skip to content

getEarliestPurchaseUnixTime

getEarliestPurchaseUnixTime(appId): number

Returns the Unix time (seconds since 1970-01-01 UTC) of the user’s earliest purchase of the app. The SDK header does not say what is returned when the user has no purchase; unverified against a live Steam client.

number

the Steam app ID to look up

number

the Unix time, as an unsigned 32-bit integer

Turn ideas into shipped software.

HagiCode is an agentic coding workspace. OpenSpec workflows plan the change, multi-agent execution carries it out, and Hero Scenario makes the long run visible, so ideas become shipped software.

Smart
OpenSpec workflows turn intent into a path from proposal to shipped change.
Efficient
Multi-agent execution runs research, build, and review in parallel.
Fun
Rich UI interactions make planning, agent work, and projects easier to follow.