> For the complete documentation index, see [llms.txt](https://elacitylabs.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://elacitylabs.gitbook.io/docs/api/reference/info.md).

# Info

General information and query endpoints

## GET /info/getCollections

> Get all collections

```json
{"openapi":"3.0.3","info":{"title":"REST Server API (Elacity)","version":"1.11.0"},"tags":[{"name":"Info","description":"General information and query endpoints"}],"servers":[{"url":"http://localhost:3001","description":"Local development server"},{"url":"https://staging.ela.city/api","description":"Staging Server"},{"url":"https://next.ela.city/api","description":"ESC-Network Server (Next)"},{"url":"https://base.ela.city/api","description":"Base-Network Server"}],"paths":{"/info/getCollections":{"get":{"tags":["Info"],"summary":"Get all collections","responses":{"200":{"description":"Collections list"}}}}}}
```

## GET /info/get1155info/{address}/{tokenID}

> Get ERC-1155 token info

```json
{"openapi":"3.0.3","info":{"title":"REST Server API (Elacity)","version":"1.11.0"},"tags":[{"name":"Info","description":"General information and query endpoints"}],"servers":[{"url":"http://localhost:3001","description":"Local development server"},{"url":"https://staging.ela.city/api","description":"Staging Server"},{"url":"https://next.ela.city/api","description":"ESC-Network Server (Next)"},{"url":"https://base.ela.city/api","description":"Base-Network Server"}],"paths":{"/info/get1155info/{address}/{tokenID}":{"get":{"tags":["Info"],"summary":"Get ERC-1155 token info","parameters":[{"name":"address","in":"path","required":true,"schema":{"$ref":"#/components/schemas/Address"}},{"name":"tokenID","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Token info"}}}}},"components":{"schemas":{"Address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}}}}
```

## POST /info/getCollectionInfo

> Get collection info

```json
{"openapi":"3.0.3","info":{"title":"REST Server API (Elacity)","version":"1.11.0"},"tags":[{"name":"Info","description":"General information and query endpoints"}],"servers":[{"url":"http://localhost:3001","description":"Local development server"},{"url":"https://staging.ela.city/api","description":"Staging Server"},{"url":"https://next.ela.city/api","description":"ESC-Network Server (Next)"},{"url":"https://base.ela.city/api","description":"Base-Network Server"}],"paths":{"/info/getCollectionInfo":{"post":{"tags":["Info"],"summary":"Get collection info","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["contractAddress"],"properties":{"contractAddress":{"$ref":"#/components/schemas/Address"}}}}}},"responses":{"200":{"description":"Collection info"}}}}},"components":{"schemas":{"Address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}}}}
```

## GET /info/getOwnership/{address}/{tokenID}

> Get ownership info for a token

```json
{"openapi":"3.0.3","info":{"title":"REST Server API (Elacity)","version":"1.11.0"},"tags":[{"name":"Info","description":"General information and query endpoints"}],"servers":[{"url":"http://localhost:3001","description":"Local development server"},{"url":"https://staging.ela.city/api","description":"Staging Server"},{"url":"https://next.ela.city/api","description":"ESC-Network Server (Next)"},{"url":"https://base.ela.city/api","description":"Base-Network Server"}],"paths":{"/info/getOwnership/{address}/{tokenID}":{"get":{"tags":["Info"],"summary":"Get ownership info for a token","parameters":[{"name":"address","in":"path","required":true,"schema":{"$ref":"#/components/schemas/Address"}},{"name":"tokenID","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Ownership data"}}}}},"components":{"schemas":{"Address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}}}}
```

## GET /info/getDecimals/{address}

> Get token decimals

```json
{"openapi":"3.0.3","info":{"title":"REST Server API (Elacity)","version":"1.11.0"},"tags":[{"name":"Info","description":"General information and query endpoints"}],"servers":[{"url":"http://localhost:3001","description":"Local development server"},{"url":"https://staging.ela.city/api","description":"Staging Server"},{"url":"https://next.ela.city/api","description":"ESC-Network Server (Next)"},{"url":"https://base.ela.city/api","description":"Base-Network Server"}],"paths":{"/info/getDecimals/{address}":{"get":{"tags":["Info"],"summary":"Get token decimals","parameters":[{"name":"address","in":"path","required":true,"schema":{"$ref":"#/components/schemas/Address"}}],"responses":{"200":{"description":"Decimals"}}}}},"components":{"schemas":{"Address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}}}}
```

## GET /info/getFigures/{address}

> Get collection figures (floor price, volume, etc.)

```json
{"openapi":"3.0.3","info":{"title":"REST Server API (Elacity)","version":"1.11.0"},"tags":[{"name":"Info","description":"General information and query endpoints"}],"servers":[{"url":"http://localhost:3001","description":"Local development server"},{"url":"https://staging.ela.city/api","description":"Staging Server"},{"url":"https://next.ela.city/api","description":"ESC-Network Server (Next)"},{"url":"https://base.ela.city/api","description":"Base-Network Server"}],"paths":{"/info/getFigures/{address}":{"get":{"tags":["Info"],"summary":"Get collection figures (floor price, volume, etc.)","parameters":[{"name":"address","in":"path","required":true,"schema":{"$ref":"#/components/schemas/Address"}}],"responses":{"200":{"description":"Collection figures"}}}}},"components":{"schemas":{"Address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}}}}
```

## POST /info/isERC721Contract

> Check if an address is an ERC-721 contract

```json
{"openapi":"3.0.3","info":{"title":"REST Server API (Elacity)","version":"1.11.0"},"tags":[{"name":"Info","description":"General information and query endpoints"}],"servers":[{"url":"http://localhost:3001","description":"Local development server"},{"url":"https://staging.ela.city/api","description":"Staging Server"},{"url":"https://next.ela.city/api","description":"ESC-Network Server (Next)"},{"url":"https://base.ela.city/api","description":"Base-Network Server"}],"paths":{"/info/isERC721Contract":{"post":{"tags":["Info"],"summary":"Check if an address is an ERC-721 contract","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["contractAddress"],"properties":{"contractAddress":{"$ref":"#/components/schemas/Address"}}}}}},"responses":{"200":{"description":"ERC-721 check result"}}}}},"components":{"schemas":{"Address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}}}}
```

## GET /info/getAllERC721Contracts

> Get all registered ERC-721 contracts

```json
{"openapi":"3.0.3","info":{"title":"REST Server API (Elacity)","version":"1.11.0"},"tags":[{"name":"Info","description":"General information and query endpoints"}],"servers":[{"url":"http://localhost:3001","description":"Local development server"},{"url":"https://staging.ela.city/api","description":"Staging Server"},{"url":"https://next.ela.city/api","description":"ESC-Network Server (Next)"},{"url":"https://base.ela.city/api","description":"Base-Network Server"}],"paths":{"/info/getAllERC721Contracts":{"get":{"tags":["Info"],"summary":"Get all registered ERC-721 contracts","responses":{"200":{"description":"List of ERC-721 contracts"}}}}}}
```

## GET /info/getAccountActivity/{address}

> Get account activity feed

```json
{"openapi":"3.0.3","info":{"title":"REST Server API (Elacity)","version":"1.11.0"},"tags":[{"name":"Info","description":"General information and query endpoints"}],"servers":[{"url":"http://localhost:3001","description":"Local development server"},{"url":"https://staging.ela.city/api","description":"Staging Server"},{"url":"https://next.ela.city/api","description":"ESC-Network Server (Next)"},{"url":"https://base.ela.city/api","description":"Base-Network Server"}],"paths":{"/info/getAccountActivity/{address}":{"get":{"tags":["Info"],"summary":"Get account activity feed","parameters":[{"name":"address","in":"path","required":true,"schema":{"$ref":"#/components/schemas/Address"}}],"responses":{"200":{"description":"Activity feed"}}}}},"components":{"schemas":{"Address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}}}}
```

## GET /info/getActivityFromOthers/{address}

> Get activity from others related to an account

```json
{"openapi":"3.0.3","info":{"title":"REST Server API (Elacity)","version":"1.11.0"},"tags":[{"name":"Info","description":"General information and query endpoints"}],"servers":[{"url":"http://localhost:3001","description":"Local development server"},{"url":"https://staging.ela.city/api","description":"Staging Server"},{"url":"https://next.ela.city/api","description":"ESC-Network Server (Next)"},{"url":"https://base.ela.city/api","description":"Base-Network Server"}],"paths":{"/info/getActivityFromOthers/{address}":{"get":{"tags":["Info"],"summary":"Get activity from others related to an account","parameters":[{"name":"address","in":"path","required":true,"schema":{"$ref":"#/components/schemas/Address"}}],"responses":{"200":{"description":"Others' activity"}}}}},"components":{"schemas":{"Address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}}}}
```

## POST /info/handleNewCollectionCreation

> Handle new collection creation event

```json
{"openapi":"3.0.3","info":{"title":"REST Server API (Elacity)","version":"1.11.0"},"tags":[{"name":"Info","description":"General information and query endpoints"}],"servers":[{"url":"http://localhost:3001","description":"Local development server"},{"url":"https://staging.ela.city/api","description":"Staging Server"},{"url":"https://next.ela.city/api","description":"ESC-Network Server (Next)"},{"url":"https://base.ela.city/api","description":"Base-Network Server"}],"security":[{"TrackerAuth":[]}],"components":{"securitySchemes":{"TrackerAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Service-level authentication for tracker/indexer services"}}},"paths":{"/info/handleNewCollectionCreation":{"post":{"tags":["Info"],"summary":"Handle new collection creation event","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Collection creation handled"}}}}}}
```

## GET /info/getOffersFromAccount/{address}

> Get offers made by an account

```json
{"openapi":"3.0.3","info":{"title":"REST Server API (Elacity)","version":"1.11.0"},"tags":[{"name":"Info","description":"General information and query endpoints"}],"servers":[{"url":"http://localhost:3001","description":"Local development server"},{"url":"https://staging.ela.city/api","description":"Staging Server"},{"url":"https://next.ela.city/api","description":"ESC-Network Server (Next)"},{"url":"https://base.ela.city/api","description":"Base-Network Server"}],"paths":{"/info/getOffersFromAccount/{address}":{"get":{"tags":["Info"],"summary":"Get offers made by an account","parameters":[{"name":"address","in":"path","required":true,"schema":{"$ref":"#/components/schemas/Address"}}],"responses":{"200":{"description":"Offers list"}}}}},"components":{"schemas":{"Address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}}}}
```

## GET /info/getNewestTokens

> Get the newest listed tokens

```json
{"openapi":"3.0.3","info":{"title":"REST Server API (Elacity)","version":"1.11.0"},"tags":[{"name":"Info","description":"General information and query endpoints"}],"servers":[{"url":"http://localhost:3001","description":"Local development server"},{"url":"https://staging.ela.city/api","description":"Staging Server"},{"url":"https://next.ela.city/api","description":"ESC-Network Server (Next)"},{"url":"https://base.ela.city/api","description":"Base-Network Server"}],"paths":{"/info/getNewestTokens":{"get":{"tags":["Info"],"summary":"Get the newest listed tokens","responses":{"200":{"description":"Newest tokens"}}}}}}
```

## GET /info/getNewestAuctions

> Get the newest auctions

```json
{"openapi":"3.0.3","info":{"title":"REST Server API (Elacity)","version":"1.11.0"},"tags":[{"name":"Info","description":"General information and query endpoints"}],"servers":[{"url":"http://localhost:3001","description":"Local development server"},{"url":"https://staging.ela.city/api","description":"Staging Server"},{"url":"https://next.ela.city/api","description":"ESC-Network Server (Next)"},{"url":"https://base.ela.city/api","description":"Base-Network Server"}],"paths":{"/info/getNewestAuctions":{"get":{"tags":["Info"],"summary":"Get the newest auctions","responses":{"200":{"description":"Newest auctions"}}}}}}
```

## GET /info/getTradeHistory/{address}

> Get trade history for an address

```json
{"openapi":"3.0.3","info":{"title":"REST Server API (Elacity)","version":"1.11.0"},"tags":[{"name":"Info","description":"General information and query endpoints"}],"servers":[{"url":"http://localhost:3001","description":"Local development server"},{"url":"https://staging.ela.city/api","description":"Staging Server"},{"url":"https://next.ela.city/api","description":"ESC-Network Server (Next)"},{"url":"https://base.ela.city/api","description":"Base-Network Server"}],"paths":{"/info/getTradeHistory/{address}":{"get":{"tags":["Info"],"summary":"Get trade history for an address","parameters":[{"name":"address","in":"path","required":true,"schema":{"$ref":"#/components/schemas/Address"}}],"responses":{"200":{"description":"Trade history"}}}}},"components":{"schemas":{"Address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}}}}
```
