Contracts
Returns the live DYLI public contract map.
Base is the default network. You can also pass ?network=base explicitly; it is a supported selector. Use the returned network.chain_id and contract addresses together.
Use this when your integration needs contract addresses for tokens, packs, Fair Drops, secondary marketplace activity, P2P trading, or settlement tokens. The endpoint returns the public contract map builders actually need, without app internals.
curl "https://www.dyli.io/api/public/v1/contracts" \
-H "x-api-key: $DYLI_API_KEY"
Contract Groups
| Group | What it means |
|---|---|
live_contracts | Flat list of the public contracts DYLI exposes to builders. |
nft_contracts | ERC-1155 inventory contracts for DYLI item ownership. |
marketplace_contracts | Secondary marketplace contracts used for listings and accepted offers. |
box_contracts | Pack-opening contracts, including Gacha. |
gacha_contracts | Gacha pack contracts using the customer-signed opening flow. |
p2p_trading_contracts | Collector-to-collector trading contracts. |
pricing_contracts | USDC settlement token context for secondary flows. |
Each contract row includes the name, role, type, address, chain, and chain id.
Example Response
{
"name": "DYLI Contracts",
"version": "1.1",
"network": {
"name": "Base",
"chain_id": 8453
},
"live_contracts": [
{
"name": "DYLI ERC-1155 Inventory",
"role": "main_tokens",
"type": "erc1155",
"address": "0x...",
"chain": "base",
"chain_id": 8453
}
]
}
Notes
Contracts are useful context, but the public API should still be your first stop for normalized product, listing, sale, trade, pack, and verification data. The API already turns raw app and chain activity into fields that are easier to work with.