Skip to main content
Lasso Search lets you find products using natural language. Describe what you’re looking for and Lasso returns structured, typed product data matching your schema.

How it works

  1. Describe what you need — Write a natural language query like “Sony noise cancelling headphones under $200”.
  2. Lasso searches the web — The worker retrieves web search results that match your query.
  3. Results are structured — Each product is extracted into your schema with typed fields, source URLs, and confidence scores.

Schema options

You control the output shape with three options:
  • Use an existing schema — Pass a schema_id from a schema you’ve already created via POST /schemas.
  • Define columns inline — Pass a columns array directly in the request.
  • Use the default — Omit both and Lasso uses a standard product schema (name, brand, price, description, category, image_url, url, features).

Sync vs async

By default, search is synchronous — you send a request and get results back in the same call. Pass a webhook_url to switch to async mode: Lasso returns 202 immediately and delivers results to that URL when ready. max_results defaults to 7 and accepts values from 1 through 7.

Example

Credits

Each search costs 5 credits, regardless of how many results are returned. The legacy model input does not select a provider. The service uses its configured Gemini provider. If the account lacks credits, the synchronous endpoint currently returns HTTP 200 with an error field and no results.

Next steps

  • Search API reference — Full parameter and response documentation.
  • Enrich — Take search results and enrich them with additional data.
  • Schemas — Create reusable schemas for consistent output.