# Comet REST API

With Comet's REST API, you can launch new NFT collections, distribute them quickly to your users, and see who owns what. Never worry about RPC nodes again – just get a Comet developer API key and start hacking!

{% hint style="info" %}
Comet is currently on version 1 of the REST API. The base URL for all requests is `https://api.withcomet.com/v1/`.
{% endhint %}

{% hint style="info" %}
Unless specified otherwise, all API endpoints accept a `Content-Type` of `application/json`.
{% endhint %}

## Comet Node SDK

Comet has a Node.js wrapper for the REST API here: <https://www.npmjs.com/package/@comet-labs/node>.

### Collections

With the `/collection` endpoints, you can query existing NFT collections or launch new ones.

{% content-ref url="comet-rest-api/collections" %}
[collections](https://comet-3.gitbook.io/comet-sdk/reference/comet-sdk-reference/comet-rest-api/collections)
{% endcontent-ref %}

### Airdrops

Once you've launched a new collection, start giving it out to your users! The `/airdrop` endpoints give fine-grained control over who receives which tokens.

{% content-ref url="comet-rest-api/airdrops" %}
[airdrops](https://comet-3.gitbook.io/comet-sdk/reference/comet-sdk-reference/comet-rest-api/airdrops)
{% endcontent-ref %}

### Gallery

With the `/gallery` endpoint, you can see which tokens any address or Comet user owns.

{% content-ref url="comet-rest-api/gallery" %}
[gallery](https://comet-3.gitbook.io/comet-sdk/reference/comet-sdk-reference/comet-rest-api/gallery)
{% endcontent-ref %}

### Usage

Quickly view your API usage with the `/usage` endpoint.

{% content-ref url="comet-rest-api/usage" %}
[usage](https://comet-3.gitbook.io/comet-sdk/reference/comet-sdk-reference/comet-rest-api/usage)
{% endcontent-ref %}
