GET
/
v1
/
collections
curl --request GET \
  --url https://api.oneofnone.io/v1/collections \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "type": "<string>",
      "description": "<string>",
      "quantity": 123,
      "status": "ACTIVE",
      "slug": "<string>",
      "keywords": [
        "<string>"
      ],
      "redirect_type": "profile",
      "redirect_url": "<string>",
      "registration_type": "NONE",
      "registration_settings": {
        "triggerButton": {
          "active": true,
          "unregisteredLabel": "<string>",
          "registeredLabel": "<string>",
          "className": "<string>"
        },
        "auth": {
          "title": "<string>",
          "message": "<string>",
          "image": "<string>"
        },
        "form": {
          "title": "<string>",
          "message": "<string>",
          "fields": {
            "firstName": true,
            "lastName": true,
            "postalCode": true,
            "phoneNumber": true
          },
          "consents": [
            {
              "id": "<string>",
              "title": "<string>",
              "required": true,
              "label": "<string>"
            }
          ]
        },
        "success": {
          "title": "<string>",
          "message": "<string>",
          "image": "<string>",
          "button": {
            "label": "<string>",
            "url": "<string>",
            "className": "<string>"
          },
          "discountCode": "<string>"
        }
      },
      "image": {
        "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>"
      },
      "video": {
        "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>"
      },
      "model": {
        "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>"
      },
      "share_image": {
        "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>"
      },
      "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>",
          "caption": "<string>"
        }
      ],
      "chain": "ETH",
      "contract": {
        "address": "<string>",
        "standard": "<string>"
      },
      "product_name_template": "<string>",
      "retail_settings": {},
      "launch_date": "2023-11-07T05:31:56Z",
      "attributes": {},
      "variants": {},
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "next": "https://api.example.com/users?limit=20&offset=20",
    "prev": "https://api.example.com/users?limit=20&offset=0",
    "limit": 20,
    "offset": 0,
    "total_count": 150,
    "total_pages": 8,
    "current_page": 1
  }
}

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.

Query Parameters

status
enum<string>

Filter collections by their status.

Available options:
ACTIVE,
DRAFT,
INACTIVE
chain
enum<string>

Filter collections by their blockchain chain.

Available options:
ETH,
POLY,
BASE
min_quantity
integer

Filter collections by minimum quantity of products.

Required range: x >= 1
max_quantity
integer

Filter collections by maximum quantity of products.

Required range: x >= 1
limit
integer
default:1000

The maximum number of items to return (1-1000).

Required range: 1 <= x <= 1000
offset
integer
default:0

The number of items to skip before starting to collect the result set.

Required range: x >= 0
order
enum<string>
default:asc

The sort order of the results.

Available options:
asc,
desc
order_by
string

The field by which to order the results.

include_count
boolean
default:false

If true, returns additional pagination metadata including total count and total pages.

Response

200
application/json

Successfully retrieved collections.

The response is of type object.