Offers
Returns secondary-market offers. Active offers can be accepted by a holder. Accepted offers are historical offer fills.
curl "https://www.dyli.io/api/public/v1/offers" \
-H "x-api-key: $DYLI_API_KEY"
Query Parameters
| Name | Description |
|---|---|
status | active, accepted, or all. Defaults to active. |
brand | Case-insensitive brand filter, for example Vibes. |
category | Case-insensitive category filter, for example TCG. |
subcategory | Case-insensitive subcategory filter, for example Ungraded Card. |
cert | Cert number. Common BGS variants are checked. |
productId | Exact DYLI product id. Alias: product_id. |
tokenId | Exact ERC-1155 token id. Alias: tokenid. |
sort | price, created, or expiration. Defaults to price. |
direction | desc or asc. Defaults to desc. |
page, pageSize | Pagination. pageSize max is 200. |
Row Fields
Rows include offer_id, order_id, reservoir_id, product_id, token_id, product_name, market_type, market_flags, source_marketplace, price, currency, quantity, status, offerer, maker_wallet, accepted_by, accepted_at, expiration, expires_at, tx_hash, image_url, brand, category, subcategory, cert, created_at, updated_at, dyli_url, metadata_url, and metadata_advanced_url.
currency is USDC.e. market_type is always secondary.
Examples
curl --get "https://www.dyli.io/api/public/v1/offers" \
-H "x-api-key: $DYLI_API_KEY" \
--data-urlencode "brand=Vibes" \
--data-urlencode "status=active" \
--data-urlencode "sort=price" \
--data-urlencode "page=1" \
--data-urlencode "pageSize=50"
curl "https://www.dyli.io/api/public/v1/offers?tokenId=12345" \
-H "x-api-key: $DYLI_API_KEY"