This tutorial will help you set up the Wat search engine in your marketplace in 5 minutes.
Using the APIs for a general marketplace
1. The search API
As mentioned in Search - NFTs & Collections, the Wat API is highly modular.
For a general marketplace, we suggest you limit the scope of the Wat search engine to:
- 1. NFT id search: <token_search>
- 2. Collection search: <name_match>
- 3. Wallet search: <wallet_search>
- 4.Search for NFTs using attributes, emotions, etc: <attribute_search>
In practice
2. The autocomplete API
For a general marketplace, we suggest you limit the scope of the Wat autocomplete to:
- 1. Collection name autocomplete: <name_autocomplete>
- 2. NFT id search: <token_search>
- 3. Individual attributes: <individual_attributes>
- 4.Smart attribute search: <attribute_search>