Skip to main content
POST
Search Lasso’s product database for products matching a natural language query. Lasso finds matching products and structures the results into your schema — returning typed, normalized data with source URLs and confidence scores. No tables or files needed. One call in, structured product data out.

Request body

string
required
Natural language search query. Embed any filters directly in the text, e.g. "Sony noise cancelling wireless earbuds".
string
Reference an existing schema created via POST /v1/schemas. The endpoint loads the schema’s column definitions. Mutually exclusive with columns.
object[]
Inline column definitions describing the output shape. Mutually exclusive with schema_id. If neither is provided, Lasso uses a default product schema (name, brand, price, description, category, image_url, url, features).
integer
default:"7"
Maximum number of products to return (1–7).
string
default:"auto"
AI model to use for structuring results.
string
If provided, Lasso returns 202 immediately and delivers results via webhook when ready.

Response

string
Search job identifier.
string
completed for sync, processing for async.
string
The original search query.
object[]
Array of structured product results.
integer
Number of products returned.
number
Credits consumed (5 per search).