---
title: "Indexing cNFTs"
method: POST
path: "/api/v1/services/cnft/indexing"
tags: ["cnft_service"]
---

# Indexing cNFTs

`POST /api/v1/services/cnft/indexing`

## Query parameters

- `project_id` integer, required

## Request body

- object
  - `account` string, required
  - `count` integer, required

## Response `200`

Compress NFT collection

- CnftCollection
  - `account` string, required
  - `name` string, required
  - `description` string
  - `image` string
  - `nft_count` integer, required
  - `minted_count` integer, required
  - `paid_indexing_count` integer, required

## Other responses

- `400` — Something went wrong on client side
- `403` — Access token is missing or invalid
- `404` — The specified resource was not found
- `500` — Something went wrong on server side

## Changes

- **2024-06-17** `52eb56467c6c` — 3 breaking, 4 info
  - removed the required property `minted_counts` from the response with the `200` status
  - removed the required property `nft_counts` from the response with the `200` status
  - removed the required property `paid_indexing_counts` from the response with the `200` status
  - api operation id `indexingCnftCollection` removed and replaced with `indexingCNftCollection`
  - …3 more
- **2024-03-22** `dbd561304b3b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/tonkeeper/apis/rest-api-to-ton-console/changes/api/v1/services/cnft/indexing/post.md)

---

[API](https://skmtc.dev/tonkeeper/apis/rest-api-to-ton-console.md) · [All operations](https://skmtc.dev/tonkeeper/apis/rest-api-to-ton-console/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tonkeeper/rest-api-to-ton-console/revisions/bffcc11719d3/schema)
