PaydayAPI
API reference · OTC

Check a coin for OTC

GEThttps://dev.payday.direct/api/v1/otc/coin/{mint}

Any token mint: whether the locker takes it (problem is null when it does), its name and picture, the market price the program reads, and liquidity. Add ?wallet= for how much that wallet holds (held, raw units).

Needs an API key in Authorization: Bearer or X-API-Key. Authentication

Path parameters

mintstringrequired
Any token mint

Query parameters

walletstring
Also say how much this wallet holds

Responses

200OK
400Refused; nothing to sign
401Missing or invalid key
429Over the limit. Retry-After says when to try again.

Response fields

okboolean
coinobject
heldstring | null
With ?wallet=: how much that wallet holds, in raw units
blockedboolean
problemTextstring | null