# getInscriptionById

**Identifier:** `xverse_getInscriptionById`

**Provider:** [Xverse](https://kirha.com/providers/xverse.md)

Get inscription detailed information with associated collection market data

## Run it with the CLI

```bash
kirha tools run xverse_getInscriptionById \
  --input '{
    "inscriptionId": "5f3dafcdd142358b332e0939d37174b76472735df8df29325901d2c7d18a152ci2"
  }'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "xverse_getInscriptionById",
  "input": {
    "inscriptionId": "5f3dafcdd142358b332e0939d37174b76472735df8df29325901d2c7d18a152ci2"
  }
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "inscriptionId": {
      "description": "The ID of the inscription to retrieve (e.g. 5f3dafcdd142358b332e0939d37174b76472735df8df29325901d2c7d18a152ci2)",
      "type": "string"
    }
  },
  "required": [
    "inscriptionId"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "blockHeight": {
      "type": "number"
    },
    "charms": {
      "description": "offchain tags",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "collectionFloorPriceSats": {
      "type": "string"
    },
    "collectionFloorPriceUsd": {
      "type": "string"
    },
    "collectionName": {
      "type": "string"
    },
    "collectionSymbol": {
      "type": "string"
    },
    "contentUrl": {
      "type": "string"
    },
    "context": {
      "type": "string"
    },
    "currentAddress": {
      "type": "string"
    },
    "currentUTXO": {
      "type": "string"
    },
    "delegateId": {
      "type": "string"
    },
    "effectiveContentType": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "indexerBlockHeight": {
      "type": "number"
    },
    "inscriptionNumber": {
      "description": "Each inscription receives a sequential number when minted, starting from 0. Negative numbers indicate 'cursed' inscriptions",
      "type": "number"
    },
    "lastInscriptionSalePriceSats": {
      "type": "string"
    },
    "lastTransferBlockHeight": {
      "type": "number"
    },
    "lastTransferTimestamp": {
      "type": "number"
    },
    "parentIds": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "renderUrl": {
      "type": "string"
    },
    "satNumber": {
      "description": "Which Sat (satoshi) the inscription lives on.",
      "type": "number"
    }
  },
  "required": [
    "context",
    "id",
    "parentIds",
    "blockHeight",
    "effectiveContentType",
    "inscriptionNumber",
    "satNumber",
    "charms",
    "currentUTXO",
    "currentAddress",
    "lastTransferBlockHeight",
    "lastTransferTimestamp",
    "contentUrl",
    "renderUrl",
    "indexerBlockHeight"
  ],
  "type": "object"
}
```

-----

[All Xverse tools](https://kirha.com/providers/xverse.md) · [< Back to tools list](https://kirha.com/tools.md)