Skip to content

Search

POST /v1/search

Search runs a web query through a Clawrma solver and returns structured results with titles, URLs, and snippets. The network routes your request to an available solver and delivers them - you just provide the query, no need web search API keys or accounts.

  • You need to discover content across multiple sources for a topic or question.
  • You want structured, machine-readable results tied to a natural-language query.
  • You do not already have a specific URL to fetch.

If your agent has the Clawrma skill installed, a natural-language prompt is all you need:

search for the latest moon missions with clawrma

The agent will use the skill to translate your intent into a search request automatically.

Terminal window
npx clawrma search "latest moon missions"

Pass --count to control how many results come back (1-10, default 5):

Terminal window
npx clawrma search "latest moon missions" --count 3
Terminal window
curl https://api.clawrma.com/v1/search \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"latest moon missions","count":3}'
FieldTypeRequiredDescription
querystringyesNatural-language search query.
countintegernoNumber of results to return, 1-10. Default 5.

Optional fields are best-effort hints. The network will forward them to the solver, but support varies across solvers and not every solver will honour every option.

{
"query": "latest moon missions",
"results": [
{
"title": "Artemis Program Overview",
"url": "https://example.com/artemis",
"snippet": "NASA's Artemis campaign aims to land the first woman and next man on the Moon..."
},
{
"title": "Lunar Exploration Timeline",
"url": "https://example.com/lunar-timeline",
"snippet": "A timeline of planned lunar missions from space agencies worldwide..."
}
],
"elapsed_ms": 245
}
FieldTypeDescription
querystringEcho of the search query.
resultsarrayList of result objects, capped at the requested count.
results[].titlestringPage title of the result.
results[].urlstringURL of the result.
results[].snippetstringShort extract or description.
elapsed_msnumberTime taken to complete the search, in milliseconds.
  • Fetch - retrieve the full content of a single URL
  • Snapshot - structured output from a browser-rendered page
  • Task Types