# @hirosystems/token-metadata-api-client

> Client for @hirosystems/token-metadata-api

Latest version **2.0.0** (published 2024-10-14) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install @hirosystems/token-metadata-api-client
pnpm add @hirosystems/token-metadata-api-client
yarn add @hirosystems/token-metadata-api-client
bun add @hirosystems/token-metadata-api-client
```

## Health

**Score 30/100 (F)** — status: maintenance-mode.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2024-10-14 |
| First published | 2023-03-16 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 81.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Hiro Systems PBC |
| Maintainers | cohars, rafaelcr, blockstack-devops, lgalabru |
| Keywords | fetch, typescript, swagger-client, @hirosystems/token-metadata-api-client |

## Links

- npm: https://www.npmjs.com/package/@hirosystems/token-metadata-api-client
- npm.io page: https://npm.io/package/@hirosystems/token-metadata-api-client

## Dependencies (1)

- [openapi-fetch](https://npm.io/package/openapi-fetch.md) ^0.12.2

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2024-10-14
- 2.0.0-next.3 (next) — 2026-02-10
- 2.0.0-next.2 — 2026-01-06
- 1.3.0 — 2024-05-02
- 1.2.0 — 2023-08-02
- 1.1.0 — 2023-06-29
- 1.0.3 — 2023-03-17
- 1.0.2 — 2023-03-17
- 1.0.1 — 2023-03-16
- 1.0.0 — 2023-03-16

## README

## @hirosystems/token-metadata-api-client

This is a client library for the [Token Metadata API](https://github.com/hirosystems/token-metadata-api).

### Installation

```
npm install @hirosystems/token-metadata-api-client
```

### Example

```typescript
import { createClient } from '@hirosystems/token-metadata-api-client';

const client = createClient({ baseUrl: 'https://api.mainnet.hiro.so' });
const metadata = await client.GET('/metadata/v1/ft/{principal}', {
  params: {
    path: {
      principal: 'SM26AQGZBMDPN2NTH0DJWFESFV0NJC744F1GQVZ6Y.token-btc',
    },
  },
});
```

---
_Source: https://npm.io/package/@hirosystems/token-metadata-api-client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
