---
title: "LOOKFANTASTIC API: Search | Perceptlayer"
description: "Search from LOOKFANTASTIC as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/lookfantastic/search
---

[APIs](https://perceptlayer.com/apis) / [LOOKFANTASTIC](https://perceptlayer.com/apis/lookfantastic) / Search

# LOOKFANTASTIC: Search

Search from LOOKFANTASTIC as JSON. 1 credit per successful call.

GET `/v1/lookfantastic/search`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `q` | string | Required | Up to 100 characters |
| `brand` | string | Optional | Up to 100 characters |
| `price_min` | number | Optional | Any |
| `price_max` | number | Optional | Any |
| `sort` | string | Optional | RELEVANCE, POPULARITY, PRICE\_LOW\_TO\_HIGH, PRICE\_HIGH\_TO\_LOW, NAME\_ALPHABETICALLY, NEWEST\_TO\_OLDEST, DISCOUNT\_PERCENTAGE\_HIGH\_TO\_LOW |
| `page` | integer | Optional | Any |
| `limit` | integer | Optional | Any |

## Example request

LOOKFANTASTIC

GET /v1/lookfantastic/search?q=serum 

```
{
  "success": true,
  "data": {
    "products": [
      {
        "sku": "",
        "title": "GRANDE Cosmetics GrandeLASH-MD Lash Enhancing Serum (Various Options)",
        "url": "/p/grande-cosmetics-grandelash-md-lash-enhancing-serum-various-options/13187846/",
        "brand": "GRANDE Cosmetics",
        "price": {},
        "rating": 4.5,
        "review_count": 4784,
        "in_stock": false,
        "images": [
          "https://static.thcdn.com/productimg/original/13187846-4665337283549419.jpg",
          "https://static.thcdn.com/productimg/original/13187846-1545337283578528.jpg",
          "https://static.thcdn.com/productimg/original/13187846-6755337282146082.jpg"
        ]
      },
      {
        "sku": "",
        "title": "Estée Lauder Advanced Night Repair Synchronized Multi-Recovery Complex Serum (Various Sizes)",
        "url": "/p/estee-lauder-advanced-night-repair-synchronized-multi-recovery-complex-serum-various-sizes/12663747/",
        "brand": "Estée Lauder",
        "price": {},
        "rating": 4.6,
        "review_count": 2662,
        "in_stock": false,
        "images": [
          "https://static.thcdn.com/productimg/original/12663747-9395340121244733.jpg",
          "https://static.thcdn.com/productimg/original/12663747-5125340121269936.jpg",
          "https://static.thcdn.com/productimg/original/12663747-5215340121301325.jpg"
        ]
      },
      {
        "sku": "",
        "title": "L'Oréal Paris True Match Nude Plumping Tinted Serum (Various Shades)",
        "url": "/p/l-oreal-paris-true-match-nude-plumping-tinted-serum-various-shades/13027866/",
        "brand": "L'Oréal Paris",
        "price": {},
        "rating": 4.6,
        "review_count": 1738,
        "in_stock": false,
        "images": [
          "https://static.thcdn.com/productimg/original/13027866-8735341697418390.jpg",
          "https://static.thcdn.com/productimg/original/13027866-1785341697439492.jpg",
          "https://static.thcdn.com/productimg/original/13027866-1625341697459559.jpg"
        ]
      }
    ],
    "facets": [
      {
        "name": "en_brand_content",
        "header": "Brand",
        "type": "SimpleFacet",
        "options": [
          {
            "name": "[coat]s",
            "display_name": "[coat]s",
            "matched_product_count": 1
          },
          {
            "name": "111SKIN",
            "display_name": "111SKIN",
            "matched_product_count": 12
          },
          {
            "name": "Acnecide",
            "display_name": "Acnecide",
            "matched_product_count": 3
          }
        ]
      },
      {
        "name": "categoryLevel2",
        "header": "Category",
        "type": "SimpleFacet",
        "options": [
          {
            "name": "Skin Care",
            "display_name": "Skin Care",
            "matched_product_count": 1214
          },
          {
            "name": "Hair Care",
            "display_name": "Hair Care",
            "matched_product_count": 314
          },
          {
            "name": "Cosmetics",
            "display_name": "Cosmetics",
            "matched_product_count": 137
          }
        ]
      },
      {
        "name": "en_beauty_cosmeticsCategory_content",
        "header": "Makeup Category",
        "type": "SimpleFacet",
        "options": [
          {
            "name": "Brows",
            "display_name": "Brows",
            "matched_product_count": 10
          },
          {
            "name": "Complexion",
            "display_name": "Complexion",
            "matched_product_count": 74
          },
          {
            "name": "Eyes",
            "display_name": "Eyes",
            "matched_product_count": 33
          }
        ]
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 20,
      "total": 1786,
      "has_more": true,
      "post_filtered": false,
      "filtered_count": 20
    },
    "query": "serum"
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_f915239463ce4028933902c991ad2c2b",
    "credits_charged": 1,
    "credits_remaining": 4893
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/lookfantastic?try=search#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

Each item in `data.products` has these 9 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `sku` | string |
| `title` | string |
| `url` | string |
| `brand` | string |
| `price` | object |
| `rating` | number |
| `review_count` | integer |
| `in_stock` | boolean |
| `images` | string\[\] |
