Last updated 8 months ago
Was this helpful?
The single offer endpoint provides information on a specific offer.
This method will use 20 Compute Units.
20
/offers/{offer_id}
A unique identifier for this offer.
curl -L \ --url 'https://mainnet.stellar.validationcloud.io/v1/<YOUR_API_KEY_HERE>/offers/{offer_id}'
{ "id": 165563085, "paging_token": "165563085", "seller": "GCM4PT6XDZBWOOENDS6FOU22GJQLJPV2GC7VRVII4TFGZBA3ZXNM55SV", "amount": "26.1075388", "price": "17.1209423", "last_modified_ledger": 28412042, "last_modified_time": null, "selling": { "asset_type": "credit_alphanum4", "asset_code": "USD", "asset_issuer": "GDUKMGUGDZQK6YHYA5Z6AY2G4XDSZPSZ3SW5UN3ARVMO6QSRDWP5YLEX" }, "buying": { "asset_type": "native" }, "price_r": { "n": 1449156725, "d": 84642346 }, "_links": { "self": { "href": "https://horizon-testnet.stellar.org/offers/165563085" }, "offer_maker": { "href": "https://horizon-testnet.stellar.org/accounts/GCM4PT6XDZBWOOENDS6FOU22GJQLJPV2GC7VRVII4TFGZBA3ZXNM55SV" } } }