Perplexity SERP API – Extract AI Search Results, Answers, Sources & Images | VebAPI - VebAPI

Perplexity Search

Get structured Perplexity AI search results. Extract answers, sources, images, related queries etc

Perplexity Search

GET Version: 1.0 Credits: 8
GET /serp/perplexity

Example Request


curl -X GET "https://vebapi.com/api/serp/perplexity?prompt=laptop&geo=india&device_type=desktop_chrome" \
    -H "X-API-KEY: YOUR_API_KEY" \
    -H "Content-Type: application/json"

Response

{
    "engine": "Vebapi v8",
    "node": "master",
    "provider": "vebapi.com",
    "request": {
        "target": "perplexity",
        "prompt": "laptop",
        "geo": "india",
        "device_type": "desktop_chrome"
    },
    "results": {
        "results": [
            {
                "content": {
                    "results": {
                        "additional_results": {
                            "images_results": [
                                {
                                    "image_from_url": "https://en.wikipedia.org/wiki/Laptop",
                                    "image_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/6/68/Laptop_collage.jpg/1280px-Laptop_collage.jpg",
                                    "title": "Laptop - Wikipedia"
                                },
                                {
                                    "image_from_url": "https://www.cnet.com/tech/computing/best-laptop/",
                                    "image_url": "https://www.cnet.com/a/img/resize/bb8a2aa9c31f8ec08d82228a51eabf05f00e54d2/hub/2025/03/10/d190e21d-9634-440d-8f33-396c8cb3da6a/m4-macbook-air-15-11.jpg?auto=webp&height=500",
                                    "title": "Best Laptops of 2026: Top Picks Tested by CNET - CNET"
                                },
                                {
                                    "image_from_url": "https://www.nytimes.com/wirecutter/reviews/best-laptops/",
                                    "image_url": "https://cdn.thewirecutter.com/wp-content/media/2024/07/laptopstopicpage-2048px-3685-2x1-1.jpg?width=2048&quality=75&crop=2%3A1&auto=webp",
                                    "title": "The 13 Best Laptops of 2026 | Reviews by Wirecutter"
                                }
                            ],
                            "sources_results": [
                                {
                                    "title": "Latest Laptops at the Best Prices in India (2026) with Easy EMI Options",
                                    "url": "https://www.bajajfinserv.in/bmall/laptops"
                                },
                                {
                                    "title": "Laptop - Wikipedia",
                                    "url": "https://en.wikipedia.org/wiki/Laptop"
                                },
                                {
                                    "title": "Best Laptops Online in India - Reliance Digital",
                                    "url": "https://www.reliancedigital.in/sections/laptops"
                                }
                            ]
                        },
                        "answer_results": [
                            [
                                "A laptop is a portable personal computer with a clamshell design featuring a built-in screen, keyboard, and trackpad, ideal for mobile work, gaming, or everyday tasks. Popular models in India as of 2026 include Dell and HP options with 13th Gen Intel Core i5 processors, 8-16GB RAM, and 512GB SSD storage running Windows 11. ",
                                {
                                    "link_title": [
                                        "bajajfinserv"
                                    ],
                                    "link_url": "https://www.bajajfinserv.in/bmall/laptops"
                                },
                                "This collage shows modern laptops like MacBook, Dell XPS, and others, highlighting their variety in size and style. ",
                                {
                                    "link_title": [
                                        "en.wikipedia"
                                    ],
                                    "link_url": "https://en.wikipedia.org/wiki/Laptop"
                                }
                            ],
                            "Key Specs",
                            "Choose based on needs:",
                            {
                                "list": [
                                    [
                                        [
                                            [
                                                "Processor"
                                            ],
                                            ": Intel Core i5/i7 or AMD Ryzen 5/7 for smooth performance. ",
                                            {
                                                "link_title": [
                                                    "reliancedigital"
                                                ],
                                                "link_url": "https://www.reliancedigital.in/sections/laptops"
                                            }
                                        ]
                                    ],
                                    [
                                        [
                                            [
                                                "RAM"
                                            ],
                                            ": 8GB for basics; 16GB for multitasking or editing. ",
                                            {
                                                "link_title": [
                                                    "bajajfinserv"
                                                ],
                                                "link_url": "https://www.bajajfinserv.in/bmall/laptops"
                                            }
                                        ]
                                    ],
                                    [
                                        [
                                            [
                                                "Storage"
                                            ],
                                            ": 512GB SSD minimum for speed. ",
                                            {
                                                "link_title": [
                                                    "bajajfinserv"
                                                ],
                                                "link_url": "https://www.bajajfinserv.in/bmall/laptops"
                                            }
                                        ]
                                    ]
                                ]
                            },
                            "Popular Picks",
                            {
                                "table": [
                                    {
                                        "table_columns": [
                                            [
                                                "Model"
                                            ],
                                            [
                                                "Processor"
                                            ],
                                            [
                                                "RAM/Storage"
                                            ],
                                            [
                                                "Best For"
                                            ]
                                        ]
                                    },
                                    {
                                        "table_rows": [
                                            [
                                                [
                                                    "Dell MSO 13th Gen i5"
                                                ],
                                                [
                                                    "Intel Core i5"
                                                ],
                                                [
                                                    "16GB/1TB (SSD+HDD)"
                                                ],
                                                [
                                                    "Multitasking  ",
                                                    {
                                                        "link_title": [
                                                            "bajajfinserv"
                                                        ],
                                                        "link_url": "https://www.bajajfinserv.in/bmall/laptops"
                                                    }
                                                ]
                                            ],
                                            [
                                                [
                                                    "HP AMD Ryzen 5"
                                                ],
                                                [
                                                    "AMD Ryzen 5"
                                                ],
                                                [
                                                    "16GB/512GB SSD"
                                                ],
                                                [
                                                    "Work/entertainment  ",
                                                    {
                                                        "link_title": [
                                                            "bajajfinserv"
                                                        ],
                                                        "link_url": "https://www.bajajfinserv.in/bmall/laptops"
                                                    }
                                                ]
                                            ],
                                            [
                                                [
                                                    "Lenovo IdeaPad Slim 3"
                                                ],
                                                [
                                                    "Intel Core i5 13th Gen"
                                                ],
                                                [
                                                    "16GB/512GB SSD"
                                                ],
                                                [
                                                    "Everyday use  ",
                                                    {
                                                        "link_title": [
                                                            "bajajfinserv"
                                                        ],
                                                        "link_url": "https://www.bajajfinserv.in/bmall/laptops"
                                                    }
                                                ]
                                            ],
                                            [
                                                [
                                                    "ASUS ROG Zephyrus G14"
                                                ],
                                                [
                                                    "AMD Ryzen 9"
                                                ],
                                                [
                                                    "1TB SSD"
                                                ],
                                                [
                                                    "Gaming  ",
                                                    {
                                                        "link_title": [
                                                            "asus"
                                                        ],
                                                        "link_url": "https://www.asus.com/in/store/laptops/"
                                                    }
                                                ]
                                            ]
                                        ]
                                    }
                                ]
                            },
                            [
                                "Shop sites like Bajaj Finserv or Reliance Digital for deals in Gurugram. ",
                                {
                                    "link_title": [
                                        "bajajfinserv"
                                    ],
                                    "link_url": "https://www.bajajfinserv.in/bmall/laptops"
                                }
                            ]
                        ],
                        "answer_results_md": "\nA laptop is a portable personal computer with a clamshell design featuring a built-in screen, keyboard, and trackpad, ideal for mobile work, gaming, or everyday tasks. Popular models in India as of 2026 include Dell and HP options with 13th Gen Intel Core i5 processors, 8-16GB RAM, and 512GB SSD storage running Windows 11. [bajajfinserv](https://www.bajajfinserv.in/bmall/laptops)\nThis collage shows modern laptops like MacBook, Dell XPS, and others, highlighting their variety in size and style. [en.wikipedia](https://en.wikipedia.org/wiki/Laptop)\n## Key Specs\nChoose based on needs:\n- **Processor**: Intel Core i5/i7 or AMD Ryzen 5/7 for smooth performance. [reliancedigital](https://www.reliancedigital.in/sections/laptops)\n- **RAM**: 8GB for basics; 16GB for multitasking or editing. [bajajfinserv](https://www.bajajfinserv.in/bmall/laptops)\n- **Storage**: 512GB SSD minimum for speed. [bajajfinserv](https://www.bajajfinserv.in/bmall/laptops)\n## Popular Picks\n| Model | Processor | RAM/Storage | Best For |\n|-------|-----------|-------------|----------|\n| Dell MSO 13th Gen i5 | Intel Core i5 | 16GB/1TB (SSD+HDD) | Multitasking  [bajajfinserv](https://www.bajajfinserv.in/bmall/laptops) |\n| HP AMD Ryzen 5 | AMD Ryzen 5 | 16GB/512GB SSD | Work/entertainment  [bajajfinserv](https://www.bajajfinserv.in/bmall/laptops) |\n| Lenovo IdeaPad Slim 3 | Intel Core i5 13th Gen | 16GB/512GB SSD | Everyday use  [bajajfinserv](https://www.bajajfinserv.in/bmall/laptops) |\n| ASUS ROG Zephyrus G14 | AMD Ryzen 9 | 1TB SSD | Gaming  [asus](https://www.asus.com/in/store/laptops/) |\n\nShop sites like Bajaj Finserv or Reliance Digital for deals in Gurugram. [bajajfinserv](https://www.bajajfinserv.in/bmall/laptops)\n",
                        "displayed_tabs": [
                            "Answer",
                            "Links",
                            "Images"
                        ],
                        "model": "turbo",
                        "parse_status_code": 12000,
                        "prompt_query": "laptop",
                        "related_queries": [
                            "Best laptops under 50000 in India",
                            "Best gaming laptops 2026",
                            "Laptops for students under 40000",
                            "Dell vs Lenovo laptops comparison",
                            "How to choose laptop RAM and processor"
                        ],
                        "top_images": [
                            {
                                "title": "Various laptops",
                                "url": "https://d2u1z1lopyfwlx.cloudfront.net/thumbnails/83543f7a-0e8e-58af-a166-21f52b4f4ccb/01a84265-e09c-5682-92ce-681c89a1afe2.jpg"
                            },
                            {
                                "title": "MacBook Pro laptop",
                                "url": "https://d2u1z1lopyfwlx.cloudfront.net/thumbnails/433527c7-3d57-5e14-b0aa-9b8e6c23fd92/e7e7acc4-3104-5539-b8e1-cf3641802906.jpg"
                            },
                            {
                                "title": "Laptops comparison",
                                "url": "https://d2u1z1lopyfwlx.cloudfront.net/thumbnails/dcac126b-49f3-5f6e-bb49-26e17c743fa1/37715399-5be7-5338-8125-d5f58867989c.jpg"
                            },
                            {
                                "title": "Laptops on purple background",
                                "url": "https://d2u1z1lopyfwlx.cloudfront.net/thumbnails/c46db677-3bde-5aa9-9ef5-f56043188af0/37715399-5be7-5338-8125-d5f58867989c.jpg"
                            }
                        ],
                        "url": "https://www.perplexity.ai/search/laptop-nd6NoblhReqzkYI1adwPVA"
                    },
                    "errors": [],
                    "status_code": 12000,
                    "task_id": "7440463213335939073"
                },
                "headers": {
                    "cache-control": "no-cache, no-store",
                    "cf-cache-status": "HIT",
                    "cf-ray": "9dee83b448c133c6-DEL",
                    "content-encoding": "gzip",
                    "x-ppl-sw": "1",
                    "x-xss-protection": "0"
                },
                "cookies": [
                    {
                        "comment": "",
                        "domain": "www.perplexity.ai",
                        "expires": -1,
                        "httponly": "",
                        "key": "__cflb",
                        "max-age": "",
                        "path": "/",
                        "samesite": "",
                        "secure": true,
                        "value": "02DiuDyvFMmK5p9jVbVnMNSKYZhUL9aGmUvt1LtWNDom6",
                        "version": ""
                    }
                ],
                "status_code": 200,
                "task_id": "7440463213335939073",
                "created_at": "2026-03-19 18:24:27",
                "updated_at": "2026-03-19 18:25:03"
            }
        ]
    }
}

Perplexity SERP API

Retrieve Perplexity search results including answer content, sources, related queries, images, and parsed structured data.

Endpoint

GET https://vebapi.com/api/serp/perplexity

Authentication

Pass your API key using the X-API-KEY header.

X-API-KEY: YOUR_API_KEY

Query Parameters

Parameter Type Required Description
prompt string Yes The search query to send to Perplexity.
geo string No Geographic location for the search result context. Example: india.
device_type string No Browser/device profile to use. Example: desktop_chrome.

Example Request

curl -X GET "https://vebapi.com/api/serp/perplexity?prompt=laptop&geo=india&device_type=desktop_chrome" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json"

Example Response

{
  "engine": "Vebapi v8",
  "node": "master",
  "provider": "vebapi.com",
  "request": {
    "target": "perplexity",
    "prompt": "laptop",
    "geo": "india",
    "device_type": "desktop_chrome"
  },
  "results": {
    "results": [
      {
        "content": {
          "results": {
            "additional_results": {
              "images_results": [
                {
                  "image_from_url": "https://en.wikipedia.org/wiki/Laptop",
                  "image_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/6/68/Laptop_collage.jpg/1280px-Laptop_collage.jpg",
                  "title": "Laptop - Wikipedia"
                }
              ],
              "sources_results": [
                {
                  "title": "Latest Laptops at the Best Prices in India (2026) with Easy EMI Options",
                  "url": "https://www.bajajfinserv.in/bmall/laptops"
                }
              ]
            },
            "answer_results_md": "A laptop is a portable personal computer...",
            "displayed_tabs": ["Answer", "Links", "Images"],
            "model": "turbo",
            "parse_status_code": 12000,
            "prompt_query": "laptop",
            "related_queries": [
              "Best laptops under 50000 in India",
              "Best gaming laptops 2026"
            ],
            "top_images": [
              {
                "title": "Various laptops",
                "url": "https://d2u1z1lopyfwlx.cloudfront.net/thumbnails/example.jpg"
              }
            ],
            "url": "https://www.perplexity.ai/search/laptop-xxxx"
          },
          "errors": [],
          "status_code": 12000,
          "task_id": "7440463213335939073"
        },
        "headers": {
          "cache-control": "no-cache, no-store",
          "cf-cache-status": "HIT"
        },
        "cookies": [],
        "status_code": 200,
        "task_id": "7440463213335939073",
        "created_at": "2026-03-19 18:24:27",
        "updated_at": "2026-03-19 18:25:03"
      }
    ]
  }
}

Response Fields

Top-level Fields

  • engine — Internal engine version.
  • node — Processing node name.
  • provider — API provider domain.
  • request — Original request details.
  • results — Parsed response payload.

Parsed Result Fields

  • answer_results — Structured answer blocks returned by the parser.
  • answer_results_md — Markdown version of the answer.
  • sources_results — Source links used in the answer.
  • images_results — Related image results.
  • related_queries — Suggested related search terms.
  • top_images — Highlighted image thumbnails.
  • url — Perplexity result page URL.
  • parse_status_code — Internal parsing status code.

Metadata Fields

  • headers — Response headers from the upstream request.
  • cookies — Cookies returned by the upstream request.
  • status_code — HTTP status code.
  • task_id — Internal task identifier.
  • created_at / updated_at — Request timestamps.

Notes

  • The API returns both structured data and readable markdown content.
  • You can directly render answer_results_md in your frontend for quick display.
  • Use sources_results and images_results for custom UI sections like sources and galleries.
  • status_code: 200 indicates the upstream request succeeded.