get https://api.smartnftsearch.xyz/search/nft-autocomplete
Provides Autocomplete suggestions for NFT queries.
The autocomplete consists of 4 types of suggestions.
- suggested search queries
- suggested tokens related to the query
- suggested collections related to the query.
- suggested attributes from a collection related to the query.
Each of the suggestions is returned in separated objects in the response
Restricting autocomplete to specific requests
- Wat supports 5 types of searches that can be accessed using
search_types
parameter while passing in the request. - Wat supports +300 collections but you can select to limit the search engine to only one, or a couple of your choice using
search_collections
param.
Param: search_types (String separated by commas)
Wat supports 5 types of searches that can be accessed using search_types
parameter while passing in the request.
This parameter helps in restricting the search to a specific search type. Below are the valid arguments for this parameter.
- attribute_search: supports autocompletes like "doodles" or "happy doodles", "azuki red background"
- token_search: supports token search like doodles 1111, bayc 223
- collection_search: supports collection search related queries like "bayc floor", "mayc volume"
- market_search: for market search like "top collections today"
- name_autocomplete: autocompletes name only like type az and get collections azuki, azpepes, azazaz, etc
- individual_attributes: get individual attributes for the particular collection
Param: search_collections
To restrict the autocomplete to a particular collection this parameter can be passed in the request.
The parameters are a string separated by the names of collection slugs. The collection slugs are expected to be official Opensea slugs.
For eg: boredapeyachtclub, doodles-official