---
title: "Search items inside an OpenSea collection"
method: GET
path: "/opensea/collection/{slug}/search-items"
tags: ["OpenSea"]
---

# Search items inside an OpenSea collection

`GET /opensea/collection/{slug}/search-items`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/opensea/collection/{slug}/search-items`
- Auth: API key in header `x-api-key`

Runs a keyword search scoped to one collection — matching on item name and trait values — and returns the hits with rarity rank and best standing listing. Narrower than `/opensea/collection/{slug}/items`, which lists everything.

## Path parameters

- `slug` string, required

## Query parameters

- `query` string, required
- `limit` integer

## Headers

- `x-api-key` string, required

## Response `200`

OK

- OpenseaItemSearchResponseDoc
  - `code` integer
  - `data` OpenseaItemSearchResponse
    - `items` OpenseaItem[]
      - `best_listing` OpenseaPrice
        - `amount` number
        - `chain` string
        - `contract_address` string
        - `currency` string
        - `usd` number
      - `best_offer` OpenseaPrice
        - `amount` number
        - `chain` string
        - `contract_address` string
        - `currency` string
        - `usd` number
      - `chain` string
      - `collection_name` string
      - `collection_slug` string
      - `contract_address` string
      - `created_at` string
      - `description` string
      - `id` string
      - `image_url` string
      - `is_fungible` boolean
      - `last_sale` OpenseaPrice
        - `amount` number
        - `chain` string
        - `contract_address` string
        - `currency` string
        - `usd` number
      - `last_sale_at` string
      - `marketplace` string
      - `name` string
      - `owner` OpenseaAccount
        - `address` string
        - `display_name` string
        - `image_url` string
      - `rarity_rank` integer
      - `token_id` string
      - `traits` OpenseaTrait[]
        - `trait_type` string
        - `value` string
    - `query` string
    - `slug` string
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `429`: Too Many Requests
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/028417aa35bb?raw)
