search_icons
Search and retrieve icons using specific parameters like term, slug, or filters. Customize results by setting page size, ordering, thumbnail dimensions, or icon family.
Instructions
Get a list of icons based on the provided parameters and ordering criteria.
Query Parameters:
term: Search term. If only term comes, it is searched for term, if only slug comes, it is searched for slug and if both come, it is searched for slug
slug: Search by slug
page: Page number. It must be greater than 0.
per_page: Results per page. It must be greater than 0.
family-id: Icon family id.
order: Define order of results.
Note: If the term or slug parameter is used, the order will be the similarity of the search.
thumbnail_size: Size of the thumbnail. If the size is not specified, the API will return 128 as a default size.
filters: Filter parameters for icons
Responses:
200 (Success): OK Response
Content-Type:
application/json
Response Properties:
Example:
400: Bad Request - The server could not understand the request due to invalid syntax.
Content-Type:
application/json
Response Properties:
Example:
401: Unauthorized - The client must authenticate itself to get the requested response.
Content-Type:
application/json
Response Properties:
Example:
404: Not Found - The server can not find the requested resource.
Content-Type:
application/json
Response Properties:
Example:
500: Internal Server Error - The server has encountered a situation it doesn't know how to handle.
Content-Type:
application/json
Response Properties:
Example:
Input Schema
Name | Required | Description | Default |
---|---|---|---|
Accept-Language | No | Specifies the search query language using the ISO 639-1 (2-letter language code) and the ISO 3166-1 (2-letter country code) for language variants. The API will use "en-US" as a default language for processing if a code is not provided, or does not exist. | |
family-id | No | Icon family id. | |
filters | No | Filter parameters for icons | |
order | No | Define order of results. - Note: If the term or slug parameter is used, the order will be the similarity of the search. | relevance |
page | No | Page number. It must be greater than 0. | |
per_page | No | Results per page. It must be greater than 0. | |
slug | No | Search by slug | |
term | No | Search term. If only term comes, it is searched for term, if only slug comes, it is searched for slug and if both come, it is searched for slug | |
thumbnail_size | No | Size of the thumbnail. If the size is not specified, the API will return 128 as a default size. |