GET
https://api.oneofnone.io
/
v1
/
collections
/
{id}
curl --request GET \
  --url https://api.oneofnone.io/v1/collections/{id} \
  --header 'x-api-key: <api-key>'
{
  "id": 123,
  "name": "<string>",
  "type": "<string>",
  "description": "<string>",
  "quantity": 123,
  "status": "ACTIVE",
  "slug": "<string>",
  "keywords": [
    "<string>"
  ],
  "redirect_url": "<string>",
  "store_url": "<string>",
  "purchase_url": "<string>",
  "image": {
    "url": "<string>"
  },
  "video": {
    "url": "<string>",
    "poster_url": "<string>"
  },
  "model": {
    "url": "<string>"
  },
  "share_image": {
    "url": "<string>"
  },
  "gallery": [
    {
      "alt": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "file_type": "<string>",
      "id": 123,
      "poster_url": "<string>",
      "size": 123,
      "tags": [
        "<string>"
      ],
      "thumbnail_url": "<string>",
      "updated_at": "2023-11-07T05:31:56Z",
      "url": "<string>",
      "order": 123,
      "variants": [
        "<string>"
      ],
      "type": "<string>"
    }
  ],
  "chain": "ETH",
  "contract": {
    "address": "<string>",
    "standard": "<string>"
  },
  "product_registration": true,
  "product_name_template": "<string>",
  "drop_date": "2023-11-07T05:31:56Z",
  "drop_price": 123,
  "drop_currency": "ETH",
  "attributes": {},
  "variants": {},
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

x-api-key
string
header
required

The API key required for accessing protected routes. It should be included in the request headers as x-api-key.

Path Parameters

id
string
required

The ID or slug of the collection.

Query Parameters

type
enum<string>

Specify whether to query by collection ID or SLUG. Defaults to SLUG if not provided.

Available options:
ID,
SLUG

Response

200
application/json

Successfully retrieved collection.

The response is of type object.