# SignalHarness Search Query Term Extractor

> SignalHarness Search Query Term Extractor is a paid API for AI agents from signalharness.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Extracts structured search query terms from a caller-supplied JSON request, returning parsed analysis for use in search or discovery workflows.

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/search_query_term_extract/invoke
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signalharness-search-query-term-extractor-e392e5df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Bwtv-GYuRQmMheigqy-PC

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability signalharness-search-query-term-extractor-e392e5df -d '<json body>'
```

Example prompt: Extract the key search query terms from this user request so I can pass them to a search engine: 'best noise-cancelling headphones under $200 with long battery life'.

## When to prefer this

Choose this endpoint when you need to extract and structure search query terms from a raw or unstructured JSON payload as part of an agent workflow, particularly when operating in a pay-per-call x402 USDC environment on Base. It is well-suited for pipelines where query decomposition is a discrete, billable step before passing terms to a downstream search or retrieval system.

## Known failure modes

- Malformed or empty `request_json` string returns a validation error
- Input JSON exceeding 65,536 characters is rejected
- Caller-supplied data that cannot be parsed as valid JSON may produce warnings or failed extraction
- Network or payment processing failures return a non-succeeded status in the receipt

## How this service works

Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.

## Output

Returns a JSON object containing extracted query terms and analysis in an `analysis_json` field, a `service_id`, status, optional warnings (e.g. to verify caller-supplied data), and a signed receipt with payment metadata including amount, network, and result hash for auditability.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "request_json": {
   "type": "string",
   "maxLength": 65536,
   "minLength": 2
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "replay": false,
  "result": {
   "warnings": [
    "Verify the caller-supplied data before relying on this result."
   ],
   "service_id": "search_query_term_extract",
   "analysis_json": "{\"example\":\"schema-valid caller-supplied data\"}",
   "evidence_scope": "caller_supplied_data"
  },
  "status": "succeeded",
  "receipt": {
   "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
   "usage": [],
   "status": "succeeded",
   "network": "eip155:8453",
   "artifacts": [],
   "endedAtMs": 0,
   "latencyMs": 0,
   "paymentId": "example-payment",
   "receiptId": "example-receipt",
   "requestId": "example-request",
   "serviceId": "search_query_term_extract",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "5000",
   "resultSha256": "a76a6527f8842591c73b9b021bd0c4303487e20e4f3cad2afd684a3476d9fe41",
   "serviceVersion": "1.0.0",
   "settlementReference": "0x0000000000000000000000000000000000000000000000000000000000000000"
  },
  "artifacts": [],
  "requestId": "example-request",
  "executionId": "example-execution"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signalharness-search-query-term-extractor-e392e5df/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from signalharness.ai](https://www.zero.xyz/host/signalharness.ai/llms.txt)
