Loading...
The single offer endpoint provides information on a specific offer.
This method will use 20 Compute Units.
20
A unique identifier for this offer.
Success
G[A-Z0-9]{55}
const response = await fetch('https://mainnet.stellar.validationcloud.io/v1/<YOUR_API_KEY_HERE>/offers/{offer_id}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "_links": { "self": { "href": "text", "templated": false }, "next": { "href": "text", "templated": false }, "prev": { "href": "text", "templated": false } }, "_embedded": { "records": [ { "_links": { "self": { "href": "text", "templated": false }, "offer_maker": { "href": "text", "templated": false } }, "id": "text", "paging_token": "text", "seller": "text", "selling": { "asset_type": "text", "asset_code": "text", "asset_issuer": "text" }, "buying": { "asset_type": "text", "asset_code": "text", "asset_issuer": "text" }, "amount": "text", "price_r": { "n": 0, "d": 0 }, "price": "text", "last_modified_ledger": 0, "last_modified_time": "text", "sponser": "text" } ] } }