PaydayAPI
API reference · OTC

Get an offer

GEThttps://payday.direct/api/otc/listing/{id}

One offer with its fills. A private offer answers only to requests from payday.direct pages or with no origin.

No API key.

Path parameters

idstringrequired
The listing address

Responses

200OK
403A private offer asked for from another site
404No such offer

Response fields

okboolean
listingobject
fillsobject[]
fills[].sigstring
fills[].buyerstring
fills[].amountnumber
Whole tokens
fills[].paynumber
SOL paid
fills[].feenumber
SOL fee, part of pay
fills[].pricenumber
SOL per token paid
fills[].lockedPricenumber | null
Market fills: the market price the program read and locked for this fill
fills[].atstring | null