> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /opensea/collections/search

> Rank and list OpenSea NFT collections by trading score (trending or top) over a time window

**Price:** 1 credit

**💡 AI Hint:** Browse and rank OpenSea NFT collections. Choose the tab (trending or top), the time window (1m, 5m, 15m, 1h, 1d, 7d, 30d or all-time) and optionally restrict to a single category (art, gaming, memberships, music, photography, domain names, sports, physical, virtual worlds or PFPs). Each row returns the collection slug, name, image, chain, verification status, ranking score, floor price and top offer, and rolling stats (owner count, total supply, listed count, and volume/sales/floor-price change across the 1h, 1d, 7d and 30d windows). Pass a returned slug to the 'collections' endpoint for the full profile.



## OpenAPI

````yaml /openapi-filtered.json post /api/opensea/collections/search
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/opensea/collections/search:
    post:
      tags:
        - /opensea
      summary: /opensea/collections/search
      description: >-
        Rank and list OpenSea NFT collections by trading score (trending or top)
        over a time window


        **Price:** 1 credit


        **💡 AI Hint:** Browse and rank OpenSea NFT collections. Choose the tab
        (trending or top), the time window (1m, 5m, 15m, 1h, 1d, 7d, 30d or
        all-time) and optionally restrict to a single category (art, gaming,
        memberships, music, photography, domain names, sports, physical, virtual
        worlds or PFPs). Each row returns the collection slug, name, image,
        chain, verification status, ranking score, floor price and top offer,
        and rolling stats (owner count, total supply, listed count, and
        volume/sales/floor-price change across the 1h, 1d, 7d and 30d windows).
        Pass a returned slug to the 'collections' endpoint for the full profile.
      operationId: __api_opensea_collections_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OpenseaCollectionsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OpenseaCollectionRank'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    OpenseaCollectionsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        count:
          type: integer
          minimum: 1
          description: Number of collections to return
        tab:
          $ref: '#/components/schemas/OpenseaRankingTab'
          description: Ranking tab to browse
          default: trending
        timeframe:
          $ref: '#/components/schemas/OpenseaRankingTimeframe'
          description: Time window for the ranking metrics
          default: one_day
        category:
          anyOf:
            - $ref: '#/components/schemas/OpenseaCollectionCategory'
            - type: 'null'
          description: Restrict the ranking to a single category
      type: object
      required:
        - count
    OpenseaCollectionRank:
      properties:
        '@type':
          type: string
          default: OpenseaCollectionRank
        slug:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        chain:
          anyOf:
            - type: string
            - type: 'null'
        is_verified:
          type: boolean
          default: false
        score:
          anyOf:
            - type: number
            - type: 'null'
        metadata_storage:
          anyOf:
            - type: string
            - type: 'null'
        created_at:
          anyOf:
            - type: string
            - type: 'null'
        floor_price:
          anyOf:
            - $ref: '#/components/schemas/OpenseaPrice'
            - type: 'null'
        top_offer:
          anyOf:
            - $ref: '#/components/schemas/OpenseaPrice'
            - type: 'null'
        stats:
          anyOf:
            - $ref: '#/components/schemas/OpenseaCollectionStats'
            - type: 'null'
      type: object
      required:
        - slug
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    OpenseaRankingTab:
      type: string
      enum:
        - trending
        - top
    OpenseaRankingTimeframe:
      type: string
      enum:
        - one_minute
        - five_minute
        - fifteen_minute
        - one_hour
        - one_day
        - seven_days
        - thirty_days
        - all
    OpenseaCollectionCategory:
      type: string
      enum:
        - art
        - gaming
        - memberships
        - music
        - photography
        - domain_names
        - sports_collectibles
        - physical_collectibles
        - virtual_worlds
        - pfps
    OpenseaPrice:
      properties:
        '@type':
          type: string
          default: OpenseaPrice
        usd:
          anyOf:
            - type: number
            - type: 'null'
        amount:
          anyOf:
            - type: number
            - type: 'null'
        symbol:
          anyOf:
            - type: string
            - type: 'null'
        native:
          anyOf:
            - type: number
            - type: 'null'
      type: object
    OpenseaCollectionStats:
      properties:
        '@type':
          type: string
          default: OpenseaCollectionStats
        owner_count:
          anyOf:
            - type: integer
            - type: 'null'
        sales:
          anyOf:
            - type: integer
            - type: 'null'
        total_supply:
          anyOf:
            - type: integer
            - type: 'null'
        unique_item_count:
          anyOf:
            - type: integer
            - type: 'null'
        listed_item_count:
          anyOf:
            - type: integer
            - type: 'null'
        volume_usd:
          anyOf:
            - type: number
            - type: 'null'
        volume_native:
          anyOf:
            - type: number
            - type: 'null'
        one_hour:
          anyOf:
            - $ref: '#/components/schemas/OpenseaWindowStats'
            - type: 'null'
        one_day:
          anyOf:
            - $ref: '#/components/schemas/OpenseaWindowStats'
            - type: 'null'
        seven_days:
          anyOf:
            - $ref: '#/components/schemas/OpenseaWindowStats'
            - type: 'null'
        thirty_days:
          anyOf:
            - $ref: '#/components/schemas/OpenseaWindowStats'
            - type: 'null'
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
    OpenseaWindowStats:
      properties:
        '@type':
          type: string
          default: OpenseaWindowStats
        volume_usd:
          anyOf:
            - type: number
            - type: 'null'
        volume_native:
          anyOf:
            - type: number
            - type: 'null'
        sales:
          anyOf:
            - type: integer
            - type: 'null'
        floor_price_change:
          anyOf:
            - type: number
            - type: 'null'
      type: object
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````